@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}")
public class ConfigEngineServicesResource
extends Object
| Constructor and Description |
|---|
ConfigEngineServicesResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
clearAllEngineServices(String userId,
String serverName)
Disable the engine services.
|
VoidResponse |
clearEngineDefinitionsClientConfig(String userId,
String serverName)
Remove the configuration for the Governance Engine OMAS Engine client configuration in a single call.
|
VoidResponse |
clearEngineHostServicesConfig(String userId,
String serverName)
Remove the configuration for an Engine Host OMAG Server in a single call.
|
VoidResponse |
clearEngineService(String userId,
String serverName,
String serviceURLMarker)
Remove an engine service.
|
VoidResponse |
configureEngineService(String userId,
String serverName,
EngineServiceConfig serviceConfig)
Add configuration for a single engine service to the server's config document.
|
VoidResponse |
configureEngineService(String userId,
String serverName,
String serviceURLMarker,
EngineServiceRequestBody requestBody)
Enable a single registered engine service.
|
RegisteredOMAGServicesResponse |
getConfiguredEngineServices(String userId,
String serverName)
Return the list of registered engine services for this server.
|
EngineHostServicesResponse |
getEngineHostServicesConfiguration(String userId,
String serverName)
Return the configuration for the complete engine host services in this server.
|
EngineServiceConfigResponse |
getEngineServiceConfiguration(String userId,
String serverName,
String serviceURLMarker)
Return the configuration for the named engine service for this server.
|
VoidResponse |
setEngineDefinitionsClientConfig(String userId,
String serverName,
OMAGServerClientConfig clientConfig)
Set up the name and platform URL root for the metadata server running the Governance Engine OMAS that provides
the governance engine definitions used by the engine services.
|
VoidResponse |
setEngineHostServicesConfig(String userId,
String serverName,
EngineHostServicesConfig servicesConfig)
Set up the configuration for an Engine Host OMAG Server in a single call.
|
VoidResponse |
setEngineServicesConfig(String userId,
String serverName,
List<EngineServiceConfig> engineServicesConfig)
Set up the configuration for all of the open metadata engine services (OMISs).
|
@GetMapping(value="/engine-services") public RegisteredOMAGServicesResponse getConfiguredEngineServices(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - name of server@GetMapping(value="/engine-host-services/configuration") public EngineHostServicesResponse getEngineHostServicesConfiguration(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - name of server@GetMapping(value="/engine-services/{serviceURLMarker}/configuration")
public EngineServiceConfigResponse getEngineServiceConfiguration(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker)
userId - calling userserverName - name of serverserviceURLMarker - engine service name used in URL@PostMapping(value="/engine-definitions/client-config") public VoidResponse setEngineDefinitionsClientConfig(@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="/engine-services/{serviceURLMarker}")
public VoidResponse configureEngineService(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker,
@RequestBody
EngineServiceRequestBody requestBody)
userId - user that is issuing the request.serverName - local server name.serviceURLMarker - string indicating which engine service it is configuringrequestBody - minimum values to configure an engine service@PostMapping(path="/engine-services/configuration") public VoidResponse configureEngineService(@PathVariable String userId, @PathVariable String serverName, @RequestBody EngineServiceConfig serviceConfig)
userId - user that is issuing the request.serverName - local server name.serviceConfig - all values to configure an engine service@PostMapping(path="/engine-services/configuration/all") public VoidResponse setEngineServicesConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody List<EngineServiceConfig> engineServicesConfig)
userId - user that is issuing the request.serverName - local server name.engineServicesConfig - list of configuration properties for each engine service.@PostMapping(path="/engine-host-services") public VoidResponse setEngineHostServicesConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody EngineHostServicesConfig servicesConfig)
userId - user that is issuing the request.serverName - local server name.servicesConfig - full configuration for the engine host server.@DeleteMapping(path="/engine-host-services") public VoidResponse clearEngineHostServicesConfig(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.@DeleteMapping(path="/engine-definitions/client-config") public VoidResponse clearEngineDefinitionsClientConfig(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.@DeleteMapping(path="/engine-services") public VoidResponse clearAllEngineServices(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.@DeleteMapping(path="/engine-services/{serviceURLMarker}")
public VoidResponse clearEngineService(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker)
userId - user that is issuing the request.serverName - local server name.serviceURLMarker - engine service name used in URLCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.