private async Task UploadFilesToBucket(string filePath) { var uploadPath = Path.Combine(BlaiseConfigurationHelper.OnlineFileBucket); await CloudStorageHelper.GetInstance().UploadFolderToBucketAsync( uploadPath, filePath); }
public async Task CleanUpScenario() { InstrumentHelper.GetInstance().UninstallSurvey(); await CloudStorageHelper.GetInstance().DeleteFileInBucketAsync( BlaiseConfigurationHelper.InstrumentPackageBucket, BlaiseConfigurationHelper.InstrumentPackage); }
public async Task GivenIHaveAQuestionnaireIWantToInstall() { await CloudStorageHelper.GetInstance().UploadToBucketAsync( BlaiseConfigurationHelper.InstrumentPackageBucket, BlaiseConfigurationHelper.InstrumentPackagePath); }
private async Task <string> DownloadPackageFromBucket(string path) { return(await CloudStorageHelper.GetInstance().DownloadFromBucketAsync( BlaiseConfigurationHelper.InstrumentPackageBucket, BlaiseConfigurationHelper.InstrumentFile, path)); }
public async Task CleanUpOnlineFiles() { await CloudStorageHelper.GetInstance().DeleteFilesInBucketAsync(BlaiseConfigurationHelper.OnlineFileBucket, BlaiseConfigurationHelper.InstrumentName); }
public async Task GivenThereIsAnQuestionnaireAvailableInABucket() { await CloudStorageHelper.GetInstance().UploadToBucketAsync( BlaiseConfigurationHelper.InstrumentPackageBucket, BlaiseConfigurationHelper.InstrumentPackage); }
private async Task UploadFilesToBucket(string filePath) { await CloudStorageHelper.GetInstance().UploadFolderToBucketAsync( BlaiseConfigurationHelper.OnlineFileBucket, filePath); }