@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 |
clearAccessService(String userId,
String serverName,
String serviceURLMarker)
Remove the config for an access service.
|
VoidResponse |
clearAllAccessServices(String userId,
String serverName)
Disable the access services.
|
VoidResponse |
configureAccessService(String userId,
String serverName,
String serviceURLMarker,
Map<String,Object> accessServiceOptions)
Enable a single access service.
|
VoidResponse |
configureAllAccessServices(String userId,
String serverName,
Map<String,Object> accessServiceOptions)
Enable all access services that are registered with this server platform.
|
AccessServiceConfigResponse |
getAccessServiceConfig(String userId,
String serverName,
String serviceURLMarker)
Retrieve the config for an access service.
|
AccessServicesResponse |
getAccessServicesConfiguration(String userId,
String serverName)
Return the configuration for the access services in this server.
|
StringMapResponse |
getAccessServiceTopicNames(String userId,
String serverName,
String serviceURLMarker)
Retrieve the topic names for this access service
|
StringMapResponse |
getAllAccessServiceTopicNames(String userId,
String serverName)
Retrieve the topic names for all access services
|
RegisteredOMAGServicesResponse |
getConfiguredAccessServices(String userId,
String serverName)
Return the list of access services that are configured for this server.
|
VoidResponse |
overrideAccessServiceInTopicName(String userId,
String serverName,
String serviceURLMarker,
String topicName)
Update the in topic name for a specific access service.
|
VoidResponse |
overrideAccessServiceOutTopicName(String userId,
String serverName,
String serviceURLMarker,
String topicName)
Update the out topic name for a specific access service.
|
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.
|
@GetMapping(path="/access-services") public RegisteredOMAGServicesResponse getConfiguredAccessServices(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - name of server@GetMapping(path="/access-services/configuration") public AccessServicesResponse getAccessServicesConfiguration(@PathVariable String userId, @PathVariable String serverName)
userId - calling userserverName - name of server@PostMapping(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 configuring@PostMapping(path="/access-services") public VoidResponse configureAllAccessServices(@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@DeleteMapping(path="/access-services") public VoidResponse clearAllAccessServices(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.@GetMapping(path="/access-services/{serviceURLMarker}")
public AccessServiceConfigResponse getAccessServiceConfig(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker)
userId - user that is issuing the request.serverName - local server name.serviceURLMarker - string indicating which access service it is configuring@GetMapping(path="/access-services/{serviceURLMarker}/topic-names")
public StringMapResponse getAccessServiceTopicNames(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker)
userId - user that is issuing the request.serverName - local server name.serviceURLMarker - string indicating which access service it requested@GetMapping(path="/access-services/topic-names") public StringMapResponse getAllAccessServiceTopicNames(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.@PostMapping(path="/access-services/{serviceURLMarker}/topic-names/in-topic")
public VoidResponse overrideAccessServiceInTopicName(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker,
@RequestBody
String topicName)
userId - user that is issuing the request.serverName - local server name.serviceURLMarker - string indicating which access service it requestedtopicName - string for new topic name@PostMapping(path="/access-services/{serviceURLMarker}/topic-names/out-topic")
public VoidResponse overrideAccessServiceOutTopicName(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker,
@RequestBody
String topicName)
userId - user that is issuing the request.serverName - local server name.serviceURLMarker - string indicating which access service it requestedtopicName - string for new topic name@DeleteMapping(path="/access-services/{serviceURLMarker}")
public VoidResponse clearAccessService(@PathVariable
String userId,
@PathVariable
String serverName,
@PathVariable
String serviceURLMarker)
userId - user that is issuing the request.serverName - local server name.serviceURLMarker - string indicating which access service to clear@PostMapping(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.@PostMapping(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–2021 LF AI & Data Foundation. All rights reserved.