public class ConfigurationService extends BaseService
| Constructor and Description |
|---|
ConfigurationService(String clusterName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createConfigurations(String body,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo ui)
Handles URL: /clusters/{clusterId}/configurations
The body should contain:
|
javax.ws.rs.core.Response |
getConfigurations(javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo ui)
Handles URL: /clusters/{clusterId}/configurations
Get all services for a cluster.
|
getBodyParser, getResultSerializer, handleRequestpublic ConfigurationService(String clusterName)
clusterName - cluster idpublic javax.ws.rs.core.Response getConfigurations(@Context
javax.ws.rs.core.HttpHeaders headers,
@Context
javax.ws.rs.core.UriInfo ui)
headers - http headersui - uri infopublic javax.ws.rs.core.Response createConfigurations(String body, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo ui)
{
"type":"type_string",
"tag":"version_tag",
"properties":
{
"key1":"value1",
// ...
"keyN":"valueN"
}
}
To create multiple configurations is a request, provide an array of configuration properties.headers - http headersui - uri infoCopyright © 2016. All rights reserved.