public class ServiceHandler extends DefaultRestHandler<Service>
mapper| Constructor and Description |
|---|
ServiceHandler(String cloudconductorUrl) |
ServiceHandler(String cloudconductorUrl,
String token,
String agent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPackage(String service,
String pkg) |
void |
approveStarted(String service,
String host) |
protected Class<Service> |
getAPIClass() |
protected String |
getDefaultPath() |
Set<Package> |
getPackages(String service) |
void |
removePackage(String service,
String pkg) |
delete, get, get, getSetType, pathGenerator, save_delete, _get, _get, _post, _post, _post, _put, _put, _put, _put, assertSuccess, dataFromResponse, getSetType, objectFromResponse, objectFromResponse, request, request, request, setPasswordMode, setTokenModepublic ServiceHandler(String cloudconductorUrl)
cloudconductorUrl - the config server urlprotected String getDefaultPath()
getDefaultPath in class DefaultRestHandler<Service>protected Class<Service> getAPIClass()
getAPIClass in class DefaultRestHandler<Service>public Set<Package> getPackages(String service) throws CloudConductorException
service - the service nameCloudConductorException - Error indicating connection or data problemspublic void addPackage(String service, String pkg) throws CloudConductorException
service - the service namepkg - the package nameCloudConductorException - Error indicating connection or data problemspublic void removePackage(String service, String pkg) throws CloudConductorException
service - the service namepkg - the package nameCloudConductorException - Error indicating connection or data problemspublic void approveStarted(String service, String host) throws CloudConductorException
service - the service namehost - the host nameCloudConductorException - Error indicating connection or data problemsCopyright © 2014-2017 Cinovo AG. All Rights Reserved.