Constructor and Description |
---|
UpgradeResource() |
Modifier and Type | Method and 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.
|
@Path(value="/downloadVersion") @GET @Produces(value="application/json") public Response downloadVersionUpgrade(@QueryParam(value="userMail") @NotEmpty @NotNull String userMail, @QueryParam(value="version") @NotEmpty @NotNull String productVersion) throws PortalException
userMail
- current user lumis site login.productVersion
- the target product version.PortalException
@Path(value="/init") @GET @Produces(value="application/json") public Response initUpgrade(@QueryParam(value="userMail") @NotEmpty @NotNull String userMail, @QueryParam(value="version") @NotEmpty @NotNull String productVersion, @QueryParam(value="productDownloadId") @NotEmpty @NotNull String productDownloadId) throws PortalException
userMail
- current user lumis site login.productVersion
- the target product version.productDownloadId
- the already downloaded product version.PortalException
public void setExecutables(LocalDataFile curFile) throws IOException
curFile
- current file.IOException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.