@Path(value="/services") public interface IService extends IDefaultApi<Service>
| Modifier and Type | Method and Description |
|---|---|
void |
addPackage(String service,
String pkg)
Add a package to the service
|
void |
approveServiceStarted(String service,
String host) |
Package[] |
getPackages(String service)
Get the packages associated with a service
|
void |
removePackage(String service,
String pkg)
Delete a package from the service
|
delete, get, get, save@GET
@Path(value="/{service}/packages")
@Produces(value="application/json;charset=UTF-8")
Package[] getPackages(@PathParam(value="service")
String service)
service - the service name@PUT
@Path(value="/{service}/packages/{pkg}")
void addPackage(@PathParam(value="service")
String service,
@PathParam(value="pkg")
String pkg)
service - the service namepkg - the package name@DELETE
@Path(value="/{service}/packages/{pkg}")
void removePackage(@PathParam(value="service")
String service,
@PathParam(value="pkg")
String pkg)
service - the service namepkg - the package nameCopyright © 2014-2016 Cinovo AG. All Rights Reserved.