Package com.eka.middleware.pub.util
Class AutoUpdate
java.lang.Object
com.eka.middleware.pub.util.AutoUpdate
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringcalculateFileChecksum(String filePath) static StringcheckForUpdate(DataPipeline dataPipeline) static BooleancompareDigest(String filePath, String url) static voidstatic voidcreateRestorePoint(String buildName, DataPipeline dataPipeline) static booleanimportURLAliases(String UrlAliasFilepath, DataPipeline dp) static StringjsonValueFetch(String location, String variableName) static booleanmoveFolder(String sourceDir, String destDir) static StringreadJsonFromUrl(String urlString) static Stringstatic voidunzip(String zipFilePath, String destDir, DataPipeline dp) static voidupdateTenant(String version, DataPipeline dataPipeline) static StringupdateTenantAsync(String version, DataPipeline dataPipeline) 
- 
Constructor Details- 
AutoUpdatepublic AutoUpdate()
 
- 
- 
Method Details- 
importURLAliases- Throws:
- Exception
 
- 
unzip- Throws:
- Exception
 
- 
createRestorePoint- Throws:
- Exception
 
- 
updateTenant- Throws:
- Exception
 
- 
createFoldersIfNotExist
- 
readJsonFromUrl- Throws:
- IOException
 
- 
jsonValueFetch- Throws:
- IOException
 
- 
checkForUpdate- Throws:
- Exception
 
- 
calculateFileChecksum- Throws:
- Exception
 
- 
compareDigest- Throws:
- Exception
 
- 
returnTenantUpdateUrl- Throws:
- Exception
 
- 
updateTenantAsync- Throws:
- Exception
 
- 
moveFolder- Throws:
- IOException
 
 
-