@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}/view-services")
public class ConfigViewServicesResource
extends Object
| Constructor and Description |
|---|
ConfigViewServicesResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
clearAllViewServices(String userId,
String serverName)
Disable the view services.
|
VoidResponse |
configureAllViewServices(String userId,
String serverName,
OMAGServerClientConfig clientConfig)
Enable all view services that are registered with this server platform.
|
VoidResponse |
configureViewService(String userId,
String serverName,
String serviceURLMarker,
OMAGServerClientConfig clientConfig)
Configure a single view service.
|
RegisteredOMAGServicesResponse |
getConfiguredViewServices(String userId,
String serverName)
Return the list of registered view services that are configured for this server.
|
ViewServicesResponse |
getViewServices(String userId,
String serverName)
Return the list of view services for this server.
|
VoidResponse |
setViewServicesConfig(String userId,
String serverName,
List<ViewServiceConfig> viewServicesConfig)
Set up the configuration for selected open metadata view services (OMVSs).
|
@GetMapping(path="/configuration") public RegisteredOMAGServicesResponse getConfiguredViewServices(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - name of server@GetMapping public ViewServicesResponse getViewServices(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - name of server@PostMapping(path="/{serviceURLMarker}")
public VoidResponse configureViewService(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker,
@RequestBody
OMAGServerClientConfig clientConfig)
userId - user that is issuing the request.serverName - local server name.clientConfig - URL root and server name that are used to access the downstream OMAG Server.serviceURLMarker - string indicating which view service it is configuring@PostMapping public VoidResponse configureAllViewServices(@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 that are used to access the downstream OMAG Server.@DeleteMapping public VoidResponse clearAllViewServices(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.@PostMapping(path="/configuration") public VoidResponse setViewServicesConfig(@PathVariable String userId, @PathVariable String serverName, @RequestBody List<ViewServiceConfig> viewServicesConfig)
userId - user that is issuing the request.serverName - local server name.viewServicesConfig - list of configuration properties for each view service.Copyright © 2018–2020 ODPi. All rights reserved.