Andrew Gaul
5742323a70
Remove Azure ETag hack
...
Previously jclouds required ETag to be a hex-encoded Content-MD5.
2014-10-27 15:21:40 -07:00
Andrew Gaul
81bfd2402b
Upgrade to assertj 1.7.0
...
Release notes:
http://joel-costigliola.github.io/assertj/assertj-core-news.html#assertj-core-1.7.0
2014-10-27 14:03:53 -07:00
Andrew Gaul
406ac01a1c
Add modern Rackspace Cloud Files provider
...
Update README to indicate the legacy Swift provider.
2014-10-27 13:56:04 -07:00
Andrew Gaul
9a81b73324
Add more Checkstyle rules
2014-10-24 00:28:58 -07:00
Andrew Gaul
c40342dc78
Add references to fake-s3 and abustany s3proxy
2014-10-24 00:27:47 -07:00
Andrew Gaul
4a58f00885
Add Google Cloud Storage provider
...
Also convert ETag from GCS-style base64 to AWS-style base16.
2014-10-24 00:23:51 -07:00
Andrew Gaul
7042b02212
Upgrade to jclouds 1.8.1
...
This release addresses multiple s3-tests failures:
s3tests.functional.test_s3.test_object_write_to_nonexist_bucket
s3tests.functional.test_s3.test_object_delete_key_bucket_gone
References #5 .
2014-10-24 00:21:46 -07:00
Andrew Gaul
6792798347
Do not require date header w/ none authentication
...
AWS S3 uses a date header to prevent replay attacks on signed
requests. None authentication should not require this header.
Regression from 8c623c179c
. Fixes #17 .
2014-10-14 17:18:02 -07:00
Andrew Gaul
4baaca86f9
Allow System properties to override configuration
...
Fixes #15 .
2014-10-10 07:09:01 -07:00
Andrew Gaul
93f280bdca
Upgrade to jetty 9.2.3.v20140905
...
Changelog:
http://jetty.4.x6.nabble.com/jetty-announce-Jetty-9-2-3-v20140905-8-1-16-v20140903-7-6-16-v20140903-Released-td4962981.html
2014-09-22 22:09:44 -07:00
Andrew Gaul
880eb36bff
Add modernizer-maven-plugin to build
2014-09-22 22:06:24 -07:00
Andrew Gaul
99a00499ca
Set Content-Type only when provided by client
2014-09-05 12:51:07 -07:00
Andrew Gaul
c6115546c4
Configure jclouds SLF4J module
2014-09-05 12:26:32 -07:00
Andrew Gaul
136dd679c4
Enforce consistent operator wrapping style
2014-08-31 13:59:45 -07:00
Andrew Gaul
7883dd0574
Remove unneeded file, method and parameter checks
2014-08-31 13:59:26 -07:00
Andrew Gaul
016170f83f
Clean up get handling
2014-08-28 19:27:40 -07:00
Andrew Gaul
e2816190aa
Emit fake key ACLs
...
References #5 .
2014-08-28 18:50:27 -07:00
Andrew Gaul
15d885d370
Emit ETag with key metadata
...
References #5 .
2014-08-28 18:50:08 -07:00
Andrew Gaul
f5ab87241c
Emit InvalidBucketName on non-alphanumeric name
...
References #5 .
2014-08-28 18:30:17 -07:00
Andrew Gaul
f8b5dde61f
Enforce indentation via Checkstyle
2014-08-28 17:42:38 -07:00
Andrew Gaul
f39ea39d93
Enforce 80 character line length via Checkstyle
2014-08-28 17:40:46 -07:00
Andrew Gaul
452d8d366c
Add support for virtual host buckets
...
Fixes #8 .
2014-08-26 19:51:15 -07:00
Andrew Gaul
34db5cae9a
Emit InvalidArgument for malformed Authorization
...
Also keep identity and signature as distinct values. References #5 .
2014-08-25 19:18:29 -07:00
Andrew Gaul
7b6f86b3fe
Ensure ordering for CommonPrefixes
2014-08-25 19:18:29 -07:00
Andrew Gaul
6dde404e88
Emit not implemented for put and get object ACL
2014-08-24 06:29:09 -07:00
Andrew Gaul
8c623c179c
Require time reference point for requests
...
Requests must have a Date header, X-Amz-Date header, or Expires
parameter.
2014-08-24 05:53:12 -07:00
Andrew Gaul
ce3d7edad3
Add expiration to query string authorization
...
Also repair support for query string authorization, regression from
d74a409
.
2014-08-23 19:09:05 -07:00
Andrew Gaul
84bfb27d66
Prefer Collections.list over Enumeration
2014-08-23 16:58:48 -07:00
Andrew Gaul
820b884169
Emit BadDigest for mismatched MD5 hash
...
S3 uses InvalidDigest for a malformed MD5 hash.
2014-08-23 15:40:16 -07:00
Andrew Gaul
d74a409f87
Emit AccessDenied for empty Authorization header
2014-08-23 15:29:06 -07:00
Andrew Gaul
8042e9b490
Ensure that ETag has quotes
2014-08-22 14:38:19 -07:00
Andrew Gaul
b8e732c794
Map Swift HTTP 422 to InvalidDigest
...
References #5 .
2014-08-22 10:01:55 -07:00
Andrew Gaul
62c734f60a
Bump to 1.2.0-SNAPSHOT
2014-08-21 23:13:19 -07:00
Andrew Gaul
7783f45060
S3Proxy 1.1.0 release
2014-08-21 23:12:23 -07:00
Andrew Gaul
21a708a38d
Remove newlines which the AWS SDK rejects
2014-08-21 22:49:36 -07:00
Andrew Gaul
65074b6338
Consistently propagate IOException
...
Jetty automatically returns 500 internal error to clients and logs the
exception stack trace.
2014-08-21 22:39:55 -07:00
Andrew Gaul
c44cfdfbd4
Honor --version
2014-08-21 22:21:09 -07:00
Andrew Gaul
f346e703c7
Implement object multi-delete
...
Currently emulated with single object delete since jclouds does not
expose a portable multi-delete method. References #5 .
2014-08-21 22:01:12 -07:00
Andrew Gaul
d7cd5e107f
Add String constant for AWS xmlns
2014-08-21 21:41:05 -07:00
Andrew Gaul
90261c1ce7
Sanity check Date header
...
References #5 .
2014-08-21 13:39:12 -07:00
Andrew Gaul
886c27e63a
Emit BucketAlreadyExists
...
References #5 .
2014-08-20 23:38:51 -07:00
Andrew Gaul
1f8d9f47a8
Consistently emit NoSuchBucket and NoSuchKey
...
Unfortunately jclouds does not consistently throw
ContainerNotFoundException. References #5 .
2014-08-20 23:38:10 -07:00
Andrew Gaul
11a6a20931
Update README
2014-08-20 18:46:01 -07:00
Andrew Gaul
0cc7a1390a
Factor out S3 error codes into enum class
2014-08-20 18:45:06 -07:00
Andrew Gaul
fc8613b4f8
Convert Azure-style ETag into S3-style ETag
2014-08-18 18:28:51 -07:00
Andrew Gaul
da512876de
Use unique container names in tests
...
This commit improves test compatibility with real blobstores.
2014-08-18 18:28:51 -07:00
Andrew Gaul
02f68372e0
Remove bucket after tests complete
2014-08-18 15:23:24 -07:00
Andrew Gaul
694c033848
Only send Expires header when present in request
...
Previously S3Proxy incorrectly compared against 0 instead of -1,
emitting bogus Expires headers. Fixes #13 .
2014-08-18 15:23:20 -07:00
Andrew Gaul
ad1c01057a
Configure jclouds SLF4J module
...
Also use jclouds-slf4j instead of slf4j-simple to avoid multiple
bindings.
2014-08-18 15:23:18 -07:00
Andrew Gaul
ed971cdcbe
Do not set endpoint in overrides
...
Previously tests used the same endpoint for both client-s3proxy and
s3proxy-server.
2014-08-18 12:00:12 -07:00