@Path(value="/package")
@Consumes(value={"application/xml","application/json"})
@Produces(value={"application/xml","application/json"})
public interface PackageService
Modifier and Type | Method and Description |
---|---|
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
fetch(ImportFromUrlParams params)
Fetches a package from a URL outside of the XL Deploy Server.
|
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
fetch(java.lang.String url)
Deprecated.
|
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
importPackage(java.lang.String file)
Imports a package that is present in the
importablePackages directory on the XL Deploy Server. |
java.util.List<java.lang.String> |
list()
Lists all packages that are present in the
importablePackages directory on the XL Deploy Server. |
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
upload(java.lang.String file,
FileUpload form)
Uploads a package to the XL Deploy Server.
|
@GET @Path(value="import") java.util.List<java.lang.String> list()
importablePackages
directory on the XL Deploy Server.@POST @Path(value="import/{file:.*?}") com.xebialabs.deployit.plugin.api.udm.ConfigurationItem importPackage(@PathParam(value="file") java.lang.String file)
importablePackages
directory on the XL Deploy Server.file
- The name of the package to importudm.Version
CI that is created after importing.@Deprecated @POST @Path(value="fetch") com.xebialabs.deployit.plugin.api.udm.ConfigurationItem fetch(java.lang.String url)
fetch(ImportFromUrlParams)
url
- The URL to import fromudm.Version
CI that is created after importing.@POST @Path(value="fetch2") com.xebialabs.deployit.plugin.api.udm.ConfigurationItem fetch(ImportFromUrlParams params)
params
- The import URL parametersudm.Version
CI that is created after importing.@POST @Path(value="upload/{file:.*?}") @Consumes(value="multipart/form-data") com.xebialabs.deployit.plugin.api.udm.ConfigurationItem upload(@PathParam(value="file") java.lang.String file, FileUpload form)
file
- The name of the package to be importedform
- The upload form.udm.Version
CI that is created after importing.