Class UpgradeResource
- java.lang.Object
-
- lumis.service.portalmanagement.upgrade.UpgradeResource
-
-
Constructor Summary
Constructors Constructor Description UpgradeResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
downloadVersionUpgrade(String userMail, String productVersion)
Endpoint to download the LumisXP upgrade version.Response
initUpgrade(String userMail, String productVersion, String productDownloadId)
Endpoint to start the LumisXP upgrade.void
setExecutables(LocalDataFile curFile)
Sets all sh files as executable recursively.
-
-
-
Method Detail
-
downloadVersionUpgrade
@Path("/downloadVersion") @GET @Produces("application/json") public Response downloadVersionUpgrade(@QueryParam("userMail") @NotEmpty @NotNull String userMail, @QueryParam("version") @NotEmpty @NotNull String productVersion) throws PortalException
Endpoint to download the LumisXP upgrade version.- Parameters:
userMail
- current user lumis site login.productVersion
- the target product version.- Throws:
PortalException
- Since:
- 9.0.0
-
initUpgrade
@Path("/init") @GET @Produces("application/json") public Response initUpgrade(@QueryParam("userMail") @NotEmpty @NotNull String userMail, @QueryParam("version") @NotEmpty @NotNull String productVersion, @QueryParam("productDownloadId") @NotEmpty @NotNull String productDownloadId) throws PortalException
Endpoint to start the LumisXP upgrade.- Parameters:
userMail
- current user lumis site login.productVersion
- the target product version.productDownloadId
- the already downloaded product version.- Throws:
PortalException
- Since:
- 9.0.0
-
setExecutables
public void setExecutables(LocalDataFile curFile) throws IOException
Sets all sh files as executable recursively.- Parameters:
curFile
- current file.- Throws:
IOException
- Since:
- 9.0.0
-
-