@RestController
@RequestMapping(value="/open-metadata/admin-services/users/{userId}/servers/{serverName}")
public class ConfigPropertiesResource
extends Object
| Constructor and Description |
|---|
ConfigPropertiesResource() |
| Modifier and Type | Method and Description |
|---|---|
ServerTypeClassificationResponse |
getServerTypeClassification(String userId,
String serverName)
Return the derived server type that is created from the classification of the server configuration.
|
VoidResponse |
setMaxPageSize(String userId,
String serverName,
int limit)
Set an upper limit in the page size that can be requested on a REST call to the server.
|
VoidResponse |
setOrganizationName(String userId,
String serverName,
String name)
Set up the name of the organization that is running this server.
|
VoidResponse |
setServerPassword(String userId,
String serverName,
String password)
Set up the password to use when the server is issuing REST calls.
|
VoidResponse |
setServerType(String userId,
String serverName,
String typeName)
Set up the descriptive type of the server.
|
VoidResponse |
setServerUserId(String userId,
String serverName,
String id)
Set up the user id to use when there is no external user driving the work (for example when processing events
from another server).
|
@GetMapping(path="/server-type-classification") public ServerTypeClassificationResponse getServerTypeClassification(@PathVariable String userId, @PathVariable String serverName)
userId - user that is issuing the request.serverName - local server name.@PostMapping(path="/server-type") public VoidResponse setServerType(@PathVariable String userId, @PathVariable String serverName, @RequestParam String typeName)
userId - user that is issuing the request.serverName - local server name.typeName - short description for the type of server.@PostMapping(path="/organization-name") public VoidResponse setOrganizationName(@PathVariable String userId, @PathVariable String serverName, @RequestParam String name)
userId - user that is issuing the request.serverName - local server name.name - String name of the organization.@PostMapping(path="/server-user-id") public VoidResponse setServerUserId(@PathVariable String userId, @PathVariable String serverName, @RequestParam String id)
userId - - user that is issuing the request.serverName - - local server name.id - - String user is for the server.@PostMapping(path="/server-user-password") public VoidResponse setServerPassword(@PathVariable String userId, @PathVariable String serverName, @RequestParam String password)
userId - user that is issuing the request.serverName - local server name.password - String password for the server.@PostMapping(path="/max-page-size") public VoidResponse setMaxPageSize(@PathVariable String userId, @PathVariable String serverName, @RequestParam int limit)
userId - user that is issuing the request.serverName - local server name.limit - max number of elements that can be returned on a request.Copyright © 2018–2020 ODPi. All rights reserved.