@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}")
public class ConfigDefaultsResource
extends Object
| Constructor and Description |
|---|
ConfigDefaultsResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
setEventBus(String userId,
String serverName,
String connectorProvider,
String topicURLRoot,
Map<String,Object> configurationProperties)
Set up the default event bus for embedding in event-driven connector.
|
VoidResponse |
setServerURLRoot(String userId,
String serverName,
String url)
Set up the default root URL for this server that is used to construct full URL paths to calls for
this server's REST interfaces.
|
@RequestMapping(method=POST,
path="/server-url-root")
public VoidResponse setServerURLRoot(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestParam
String url)
userId - user that is issuing the request.serverName - local server name.url - String url.@RequestMapping(method=POST,
path="/event-bus")
public VoidResponse setEventBus(@PathVariable
String userId,
@PathVariable
String serverName,
@RequestParam(required=false)
String connectorProvider,
@RequestParam(required=false)
String topicURLRoot,
@RequestBody(required=false)
Map<String,Object> configurationProperties)
userId - user that is issuing the request.serverName - local server name.connectorProvider - connector provider for the event bus (if it is null then Kafka is assumed).topicURLRoot - the common root of the topics used by the open metadata server.configurationProperties - property name/value pairs used to configure the connection to the event bus connectorCopyright © 2018–2019 ODPi. All rights reserved.