Icenium/icenium-cli — pull request #590 by rosen-vladimirov (2014-12-02 16:18:13+00:00)
Title: Implement chunk upload

Add MultipartUploadService. It is used to upload files larger than 50 MB. Add HashService which is used to generate the hash for a file.

When the zipped project is bigger than 50 MB we often receive ECONNRESET error as such big file cannot be uploaded. So we upload it by chunks by using the server api. The file is validated with its hash, so we calculate it and send it to the completeUpload call. Currently the server does not verify each chunk hash.

Add tests for MultipartUploadService and HashService.