@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 |
clearViewService(String userId,
String serverName,
String serviceURLMarker)
Remove the config for a view service.
|
VoidResponse |
configureViewService(String userId,
String serverName,
String serviceURLMarker,
ViewServiceConfig requestBody)
Configure a single view service.
|
RegisteredOMAGServicesResponse |
getConfiguredViewServices(String userId,
String serverName)
Return the list of view services that are configured for this server.
|
ViewServiceConfigResponse |
getViewServiceConfig(String userId,
String serverName,
String serviceURLMarker)
Return the configuration of a specific view service.
|
ViewServicesResponse |
getViewServicesConfiguration(String userId,
String serverName)
Return the view services configuration 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") public RegisteredOMAGServicesResponse getConfiguredViewServices(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - name of server@GetMapping(path="/view-services/configuration") public ViewServicesResponse getViewServicesConfiguration(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - name of server@GetMapping(value="/view-services/{serviceURLMarker}")
public ViewServiceConfigResponse getViewServiceConfig(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker)
userId - calling userserverName - name of serverserviceURLMarker - string indicating the view service of interest@PostMapping(path="/view-services/{serviceURLMarker}")
public VoidResponse configureViewService(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker,
@RequestBody
ViewServiceConfig requestBody)
userId - user that is issuing the request.serverName - local server name.serviceURLMarker - string indicating which view service it is configuringrequestBody - if specified, the view service config containing the remote OMAGServerName and OMAGServerPlatformRootURL that
the view service will use.@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.@DeleteMapping(path="/view-services/{serviceURLMarker}")
public VoidResponse clearViewService(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker)
userId - user that is issuing the request.serverName - local server name.serviceURLMarker - string indicating which view service to clear@DeleteMapping(path="/view-services") public VoidResponse clearAllViewServices(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.