Interface PackageService
-
@Path("/package") @Consumes({"application/xml","application/json"}) @Produces({"application/xml","application/json"}) public interface PackageServiceManages Deployment Packages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.xebialabs.deployit.plugin.api.udm.ConfigurationItemfetch(ImportFromUrlParams params)Fetches a package from a URL outside of the XL Deploy Server.com.xebialabs.deployit.plugin.api.udm.ConfigurationItemfetch(java.lang.String url)Deprecated.com.xebialabs.deployit.plugin.api.udm.ConfigurationItemimportPackage(java.lang.String file)Imports a package that is present in theimportablePackagesdirectory on the XL Deploy Server.java.util.List<java.lang.String>list()Lists all packages that are present in theimportablePackagesdirectory on the XL Deploy Server.com.xebialabs.deployit.plugin.api.udm.ConfigurationItemupload(java.lang.String file, FileUpload form)Uploads a package to the XL Deploy Server.
-
-
-
Method Detail
-
list
@GET @Path("import") java.util.List<java.lang.String> list()Lists all packages that are present in theimportablePackagesdirectory on the XL Deploy Server.- Returns:
- List of names of packages that can be imported.
-
importPackage
@POST @Path("import/{file:.+}") com.xebialabs.deployit.plugin.api.udm.ConfigurationItem importPackage(@PathParam("file") java.lang.String file)Imports a package that is present in theimportablePackagesdirectory on the XL Deploy Server.- Parameters:
file- The name of the package to import- Returns:
- The
udm.VersionCI that is created after importing. - Permission:
- import#initial for importing the first version of a package, import#upgrade if another version of the package already exists
-
fetch
@Deprecated @POST @Path("fetch") com.xebialabs.deployit.plugin.api.udm.ConfigurationItem fetch(java.lang.String url)Deprecated.Fetches a package from a URL outside of the XL Deploy Server.- Parameters:
url- The URL to import from- Returns:
- The
udm.VersionCI that is created after importing. - Permission:
- import#initial for importing the first version of a package, import#upgrade if another version of the package already exists
-
fetch
@POST @Path("fetch2") com.xebialabs.deployit.plugin.api.udm.ConfigurationItem fetch(ImportFromUrlParams params)Fetches a package from a URL outside of the XL Deploy Server. Supports authentication- Parameters:
params- The import URL parameters- Returns:
- The
udm.VersionCI that is created after importing. - Permission:
- import#initial for importing the first version of a package, import#upgrade if another version of the package already exists
-
upload
@POST @Path("upload/{file:.+}") @Consumes("multipart/form-data") com.xebialabs.deployit.plugin.api.udm.ConfigurationItem upload(@PathParam("file") java.lang.String file, FileUpload form)Uploads a package to the XL Deploy Server.- Parameters:
file- The name of the package to be importedform- The upload form.- Returns:
- The
udm.VersionCI that is created after importing. - Permission:
- import#initial for importing the first version of a package, import#upgrade if another version of the package already exists
-
-