An open API service indexing awesome lists of open source software.

https://github.com/philips-labs/go-s3unpack

Microservice to unpack ZIP archives on an S3 bucket
https://github.com/philips-labs/go-s3unpack

Last synced: about 1 month ago
JSON representation

Microservice to unpack ZIP archives on an S3 bucket

Awesome Lists containing this project

README

          

# go-s3unpack
Unpacks ZIP files on an S3 bucket

# Usage
Exposes an endpoint `/unpack` which accepts POST requests of the following JSON:

```json
{
"sourceFile": "zipfolder/Manhattan.zip",
"destinationPath": "unpacked"
}
```

# curl example

```shell
> curl -H "Content-Type: application/json" -X POST http://localhost:8080/unpack -d '{"sourceFile":"zipfolder/Manhattan.zip", "destinationPath":"unpacked"}'
```

# Deployment
This app is compatible with HSDP Cloud foundry and expects an S3 bucket to be bound. The app will connect to this bucket and listen for `POST /unpack` requests.

# Contact / Getting help

andy.lo-a-foe@philips.com

# License
License is MIT