@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}")
public class ConfigAccessServicesResource
extends Object
| Constructor and Description |
|---|
ConfigAccessServicesResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
configureAccessService(String userId,
String serverName,
String serviceURLMarker,
Map<String,Object> accessServiceOptions)
Enable a single access service.
|
VoidResponse |
disableAccessServices(String userId,
String serverName)
Disable the access services.
|
VoidResponse |
enableAccessServices(String userId,
String serverName,
Map<String,Object> accessServiceOptions)
Enable all access services that are registered with this server platform.
|
RegisteredOMAGServicesResponse |
getConfiguredAccessServices(String userId,
String serverName)
Return the list of access services that are configured for this server.
|
VoidResponse |
setAccessServicesConfig(String userId,
String serverName,
List<AccessServiceConfig> accessServicesConfig)
Set up the configuration for selected open metadata access services (OMASs).
|
VoidResponse |
setEnterpriseAccessConfig(String userId,
String serverName,
EnterpriseAccessConfig enterpriseAccessConfig)
Set up the configuration that controls the enterprise repository services.
|
@RequestMapping(method=GET,
path="/access-services/configuration")
public RegisteredOMAGServicesResponse getConfiguredAccessServices(@PathVariable
String userId,
@PathVariable
String serverName)
userId - calling userserverName - name of server@RequestMapping(method=POST,
path="/access-services/{serviceURLMarker}")
public VoidResponse configureAccessService(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker,
@RequestBody(required=false)
Map<String,Object> accessServiceOptions)
userId - user that is issuing the request.serverName - local server name.accessServiceOptions - property name/value pairs used to configure the access servicesserviceURLMarker - string indicating which access service it is calling@RequestMapping(method=POST,
path="/access-services")
public VoidResponse enableAccessServices(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody(required=false)
Map<String,Object> accessServiceOptions)
userId - user that is issuing the request.serverName - local server name.accessServiceOptions - property name/value pairs used to configure the access services@RequestMapping(method=DELETE,
path="/access-services")
public VoidResponse disableAccessServices(@PathVariable
String userId,
@PathVariable
String serverName)
userId - user that is issuing the request.serverName - local server name.@RequestMapping(method=POST,
path="/access-services/configuration")
public VoidResponse setAccessServicesConfig(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody
List<AccessServiceConfig> accessServicesConfig)
userId - user that is issuing the request.serverName - local server name.accessServicesConfig - list of configuration properties for each access service.@RequestMapping(method=POST,
path="/enterprise-access/configuration")
public VoidResponse setEnterpriseAccessConfig(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestBody
EnterpriseAccessConfig enterpriseAccessConfig)
userId - user that is issuing the requestserverName - local server nameenterpriseAccessConfig - enterprise repository services configuration properties.Copyright © 2018–2019 ODPi. All rights reserved.