Skip to content

cbeer/icemelt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

This is a Sinatra application that mimics the AWS Glacier API (more or less), so we can do (cross-language/distributed) test-driven development against the Glacier API, without waiting hours (and spending $$$) to retrieve content.

$ thin start

Or, tweak the retrieve-archive delay (in seconds):

$ MAX_COMPLETION_TIME_DELAY=120 thin start

Then, you can point your AWS REST client at the local Glacier mock, e.g.:

Fog::AWS::Glacier.new :aws_access_key_id => '', :aws_secret_access_key => '', :scheme => 'http', :host => 'localhost', :port => '3000'}

Note that the mock does not perform the same authorization and HMAC checking, just implements the REST endpoints.

About

Mock the Glacier API for faster testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages