@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}")
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,
Map<String,Object> viewServiceOptions)
Enable all view services that are registered with this server platform.
|
VoidResponse |
configureViewService(String userId,
String serverName,
String serviceURLMarker,
Map<String,Object> viewServiceOptions)
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="/view-services/configuration") public RegisteredOMAGServicesResponse getConfiguredViewServices(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - name of server@GetMapping(value="/view-services") public ViewServicesResponse getViewServices(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - name of server@PostMapping(path="/view-services/{serviceURLMarker}")
public VoidResponse configureViewService(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker,
@RequestBody(required=false)
Map<String,Object> viewServiceOptions)
userId - user that is issuing the request.serverName - local server name.viewServiceOptions - view service optionsserviceURLMarker - string indicating which view service it is configuring@PostMapping(value="/view-services") public VoidResponse configureAllViewServices(@PathVariable String userId, @PathVariable String serverName, @RequestBody(required=false) Map<String,Object> viewServiceOptions)
userId - user that is issuing the request.serverName - local server name.viewServiceOptions - view service options@DeleteMapping(value="/view-services") public VoidResponse clearAllViewServices(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.@PostMapping(path="/view-services/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.