@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 |
|---|---|
EventBusConfigResponse |
getEventBus(String userId,
String serverName)
Return the current configuration for the event bus.
|
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 |
setServerRootURL(String userId,
String serverName,
URLRequestBody requestBody)
Set up the default root URL for this server's platform that is used to construct full URL paths to calls for
this server's REST interfaces.
|
VoidResponse |
setServerURLRoot(String userId,
String serverName,
String url)
Deprecated.
|
@Deprecated @PostMapping(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.@PostMapping(path="/server-url-root-for-caller") public VoidResponse setServerRootURL(@PathVariable String userId, @PathVariable String serverName, @RequestBody URLRequestBody requestBody)
userId - user that is issuing the request.serverName - local server name.requestBody - String url.@PostMapping(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 connector@GetMapping(path="/event-bus") public EventBusConfigResponse getEventBus(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.Copyright © 2018–2020 ODPi. All rights reserved.