Aggiornato metodo di update wms
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -103,12 +103,15 @@ public class WMSGenericController {
|
||||
|
||||
@RequestMapping(value = "updateWMSApp", method = RequestMethod.GET)
|
||||
public ServiceRestResponse updateWMSApp() throws Exception {
|
||||
String baseDownloadUrl = "https://jnxuo98bbuecrmbkciijvpkg.file.core.windows.net/storage-ci/wms/";
|
||||
String azureToken = "?sv=2022-11-02&ss=bf&srt=sco&sp=r&se=2030-11-04T17:45:57Z&st=2024-11-04T09:45:57Z&spr=https&sig=CGxbbC08xuvAz%2B6k2C6HDq6e9UGitb0lnbbsWeRG%2FiU%3D";
|
||||
|
||||
String androidAppFilePath = Paths.get(UtilityDirs.getWebAppPath(), "wms", "android-release.apk").toString();
|
||||
HttpRestWrapper.downloadFile("https://www.integry.it/download/Aggiornamenti/wms/_base/android-release.apk", androidAppFilePath);
|
||||
HttpRestWrapper.downloadFile(baseDownloadUrl + "android-release.apk" + azureToken, androidAppFilePath);
|
||||
|
||||
|
||||
String androidAppVersionFilePath = Paths.get(UtilityDirs.getWebAppPath(), "wms", "version.txt").toString();
|
||||
HttpRestWrapper.downloadFile("https://www.integry.it/download/Aggiornamenti/wms/_base/version.txt", androidAppVersionFilePath);
|
||||
HttpRestWrapper.downloadFile(baseDownloadUrl + "version.txt" + azureToken, androidAppVersionFilePath);
|
||||
|
||||
return ServiceRestResponse.createPositiveResponse();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user