@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 |
|---|---|
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 |
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).
|
@RequestMapping(method=POST,
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.@RequestMapping(method=POST,
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.@RequestMapping(method=POST,
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.@RequestMapping(method=POST,
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–2019 ODPi. All rights reserved.