@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/view-services/server-author/users/{userId}/servers/{serverToBeConfiguredName}")
public class ConfigAccessServicesViewResource
extends Object
| Constructor and Description |
|---|
ConfigAccessServicesViewResource() |
| Modifier and Type | Method and Description |
|---|---|
ServerAuthorConfigurationResponse |
configureAccessService(String userId,
String serverName,
String serverToBeConfiguredName,
String serviceURLMarker,
Map<String,Object> accessServiceOptions)
Enable a single access service.
|
ServerAuthorConfigurationResponse |
configureAllAccessServices(String userId,
String serverName,
String serverToBeConfiguredName,
Map<String,Object> accessServiceOptions)
Enable all access services that are registered with this server platform.
|
ServerAuthorConfigurationResponse |
setEnterpriseAccessConfig(String userId,
String serverName,
String serverToBeConfiguredName,
EnterpriseAccessConfig enterpriseAccessConfig)
Set up the configuration that controls the enterprise repository services.
|
@PostMapping(path="/access-services/{serviceURLMarker}")
public ServerAuthorConfigurationResponse configureAccessService(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serverToBeConfiguredName,
@PathVariable
String serviceURLMarker,
@RequestBody(required=false)
Map<String,Object> accessServiceOptions)
userId - user that is issuing the request.serverName - local server name.serverToBeConfiguredName - name of the server to be configured.accessServiceOptions - property name/value pairs used to configure the access servicesserviceURLMarker - string indicating which access service it is configuring@PostMapping(path="/access-services") public ServerAuthorConfigurationResponse configureAllAccessServices(@PathVariable String userId, @PathVariable String serverName, @PathVariable String serverToBeConfiguredName, @RequestBody(required=false) Map<String,Object> accessServiceOptions)
userId - user that is issuing the request.serverName - local server name.serverToBeConfiguredName - name of the server to be configured.accessServiceOptions - property name/value pairs used to configure the access services@PostMapping(path="/enterprise-access/configuration") public ServerAuthorConfigurationResponse setEnterpriseAccessConfig(@PathVariable String userId, @PathVariable String serverName, @PathVariable String serverToBeConfiguredName, @RequestBody EnterpriseAccessConfig enterpriseAccessConfig)
userId - user that is issuing the requestserverName - local server nameserverToBeConfiguredName - name of the server to be configured.enterpriseAccessConfig - enterprise repository services configuration properties.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.