Skip to content

philips-labs/go-s3unpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-s3unpack

Unpacks ZIP files on an S3 bucket

Usage

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

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

curl example

> 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

About

Microservice to unpack ZIP archives on an S3 bucket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published