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(@NotEmpty @NotNull String userMail, @NotEmpty @NotNull String productVersion)
Endpoint to download the LumisXP upgrade version.Response
initUpgrade(@NotEmpty @NotNull String userMail, @NotEmpty @NotNull String productVersion, @NotEmpty @NotNull 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 @NotEmpty @NotNull String userMail, @QueryParam("version") @NotEmpty @NotNull @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 @NotEmpty @NotNull String userMail, @QueryParam("version") @NotEmpty @NotNull @NotEmpty @NotNull String productVersion, @QueryParam("productDownloadId") @NotEmpty @NotNull @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
-
-