Skip to content

Middleware large object mocking

Andrew Gaul edited this page Mar 9, 2017 · 1 revision

S3Proxy can mock large objects for testing purposes. During single or multi-part PUTs S3Proxy will create a stub object containing its length. Subsequent GETs will return an object of the correct length but with NUL bytes. This mocking is not complete; listing objects and parts will return zero instead of the actual size and the Content-MD5 is incorrect. An example properties file:

s3proxy.endpoint=http://localhost:8081
s3proxy.authorization=aws-v2
s3proxy.identity=local-identity
s3proxy.credential=local-credential
s3proxy.null-blobstore=true

jclouds.provider=transient
jclouds.identity=remote-identity
jclouds.credential=remote-credential