@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/stores")
public class ConfigStoreResource
extends Object
| Constructor and Description |
|---|
ConfigStoreResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
clearConfigurationStoreConnection(String userId)
Clear the connection object for the configuration store which means the platform uses the default store.
|
ConnectionResponse |
getConfigurationStoreConnection(String userId)
Return the connection object for the configuration store.
|
VoidResponse |
setConfigurationStoreConnection(String userId,
Connection connection)
Override the default implementation or configuration of the configuration document store.
|
@PostMapping(path="/connection") public VoidResponse setConfigurationStoreConnection(@PathVariable String userId, @RequestBody Connection connection)
userId - calling user.connection - connection used to create and configure the connector that interacts with
the real store.@GetMapping(path="/connection") public ConnectionResponse getConfigurationStoreConnection(@PathVariable String userId)
userId - calling user@DeleteMapping(path="/connection") public VoidResponse clearConfigurationStoreConnection(@PathVariable String userId)
userId - calling userCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.