Wykres commitów

55 Commity (407a4067347c51130713826f290c8e90b5a01f01)

Autor SHA1 Wiadomość Data
Andrew Gaul 407a406734 Alphabetize plugins 2014-08-18 11:06:42 -07:00
Andrew Gaul bd2b055f1b Add option to force proxy-server multi-part upload
This allows use of S3Proxy with object stores with small single-part
object sizes, e.g., Azure.  Fixes #12.
2014-08-17 23:42:37 -07:00
Andrew Gaul 64ce6a1fa8 Move constants to utility class 2014-08-17 23:21:58 -07:00
Andrew Gaul 9a0afb25b7 Update README 2014-08-17 23:21:58 -07:00
Andrew Gaul c042fa6165 Add support for listening on HTTPS
Fixes #3.
2014-08-14 01:28:52 -07:00
Andrew Gaul 5bca38ca24 Configure tests via s3proxy.conf 2014-08-14 01:02:51 -07:00
Andrew Gaul 4df7c65bd9 Add more features and limitations to README
Also use more accurate links for upstream issues.
2014-08-13 19:19:32 -07:00
Andrew Gaul 0b18a976f3 Log duplicate headers 2014-08-13 18:16:10 -07:00
Andrew Gaul b47e8387fd Enable Jetty STRICT mode to get true header values
Previously Jetty rewrote header values such as the Content-Type, which
broke signing with the AWS SDK.  Reference:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=414449
2014-08-13 18:14:06 -07:00
Andrew Gaul 874766eade Remove newlines which the AWS SDK rejects
Reference:

http://stackoverflow.com/questions/5138696/org-xml-sax-saxparseexception-content-is-not-allowed-in-prolog
2014-08-13 17:13:05 -07:00
Andrew Gaul 73d647f46e Strip leading / from x-amz-copy-source header
Previously S3Proxy did not update copySourceHeader.  Fixes #10.
2014-08-13 15:24:31 -07:00
Andrew Gaul e59e2660dd Allow creation of public-read buckets
jclouds portable abstraction does not allow finer-grained permissions
than public-read and does not allow changing this policy later.
2014-08-13 01:29:23 -07:00
Andrew Gaul 1ee05fed62 Use x-amz-copy-source header without leading /
Fixes #10.
2014-08-13 00:51:41 -07:00
Andrew Gaul 63bd5a95cf Add headers at trace logging level 2014-08-12 17:23:36 -07:00
Andrew Gaul 0de7d2aa8f Support half-open range requests.
Also emit the correct status code 206.  Fixes #9.
2014-08-12 12:26:53 -07:00
Andrew Gaul 8d826148ce Add instructions to download releases
Fixes #7.
2014-08-11 23:41:06 -07:00
Andrew Gaul f38378956a Bump to 1.1.0-SNAPSHOT 2014-08-11 23:25:52 -07:00
Andrew Gaul b0fc1c614d S3Proxy 1.0.0 release 2014-08-11 23:21:27 -07:00
Andrew Gaul 5346e5e181 Address Checkstyle violations 2014-08-11 23:08:59 -07:00
Andrew Gaul 84c33c9b42 Emit NoSuchBucket on getBlob 2014-08-11 19:22:03 -07:00
Andrew Gaul d8005054a0 Clarify object metadata and state 2 GB limit once 2014-08-11 18:20:53 -07:00
Andrew Gaul b65d6e2ce5 Correct ListBucket indentation 2014-08-11 17:12:05 -07:00
Andrew Gaul 87edea10e9 Support creating buckets in user-specified regions 2014-08-11 17:11:08 -07:00
Andrew Gaul 41046c966a Reduce log level of signer 2014-08-11 17:10:56 -07:00
Andrew Gaul a4d80d5c5c Prefer Amazon terminology, bucket and object 2014-08-11 16:08:11 -07:00
Andrew Gaul 33d05c3818 Add more limitations and mention Apache jclouds 2014-08-10 18:18:40 -07:00
Andrew Gaul f3392d13a2 Simplify ListBucket parsing 2014-08-10 17:54:33 -07:00
Andrew Gaul e35d059e1d Remove special-case for listing with max-keys=0
The existing list logic handles this; the underlying jclouds request
confused me and will be corrected in jclouds/jclouds#475.
2014-08-10 13:12:08 -07:00
Andrew Gaul a941fdcff3 Upgrade to jclouds 1.8.0
Using a non-SNAPSHOT release will allow the first S3Proxy release.
References #7.

Release notes:

http://jclouds.apache.org/releasenotes/1.8.0/
2014-08-05 13:14:32 -07:00
Andrew Gaul 8e63a6c93e Support query string request authentication 2014-08-05 13:07:05 -07:00
Andrew Gaul 8f24e8cb7e Implement server-side copy support
S3Proxy implements this via proxy-side copying since jclouds does not
expose server-side copy in its portable abstraction.
2014-08-05 10:51:30 -07:00
Andrew Gaul 17b3d6c0ba Emit HTTP status code inside handler methods
Also remove bogus HTTP 500 internal errors which were sent after the
response body.
2014-08-01 22:20:26 -07:00
Andrew Gaul df13f8247c Emit RequestTimeout when putBlob times out
Found with Ceph s3-tests.  References #5.
2014-08-01 21:49:16 -07:00
Andrew Gaul 5d069b26b7 Add delimiter to CommonPrefixes
Found with Ceph s3-tests.  References #5.
2014-08-01 17:53:35 -07:00
Andrew Gaul a94ded5443 Emit 501 not implemented for PUT Bucket ACL 2014-08-01 17:53:33 -07:00
Andrew Gaul 49489430d5 Handle trailing slash during HEAD bucket
Found with Ceph s3-tests.  References #5.
2014-08-01 16:06:38 -07:00
Andrew Gaul 94f8582a67 Emit HTTP 204 on successful bucket delete
Found with Ceph s3-tests.  References #5.
2014-07-31 15:56:23 -07:00
Andrew Gaul 4c99f6870f Emit NoSuchBucket/BucketNotEmpty on bucket delete
Found with Ceph s3-tests.  References #5.
2014-07-31 00:54:25 -07:00
Andrew Gaul 1e7a4a2270 Handle empty header values in Authorization
Found with Ceph s3-tests.  References #5.
2014-07-30 01:01:03 -07:00
Andrew Gaul f7db3ee4fb Implement AWS Authorization
Fixes #4.
2014-07-30 00:18:03 -07:00
Andrew Gaul 3f52992a25 Add variant of sendSimpleErrorResponse w/o extra 2014-07-29 17:07:20 -07:00
Andrew Gaul 8631271086 Reference Ceph s3-tests in README.md
Remove confusing reference to s3fs-fuse.
2014-07-29 16:31:36 -07:00
Andrew Gaul 88d521b11d Emit NoSuchBucket on head to non-existent bucket
Found with Ceph s3-tests.  References #5.
2014-07-29 15:58:28 -07:00
Andrew Gaul 1284c91e37 Emit NoSuchBucket on write to non-existent bucket
Found with Ceph s3-tests.  References #5.
2014-07-29 12:06:54 -07:00
Andrew Gaul b603abefc8 Emit NoSuchKey when reading non-existent object
Found with Ceph s3-tests.  References #5.
2014-07-29 08:16:41 -07:00
Andrew Gaul 16dfa70aec Handle empty user metadata values
Found with Ceph s3-tests.  References #5.
2014-07-29 08:03:55 -07:00
Andrew Gaul 7c5f219535 Return HTTP 204 on successful delete object
Found with Ceph s3-tests.  References #5.
2014-07-29 08:03:55 -07:00
Andrew Gaul cf1376387c Improve list bucket max-keys error handling
Found with Ceph s3-tests.  References #5.
2014-07-29 08:03:52 -07:00
Andrew Gaul f698bd68e8 Improve create bucket error handling
Found with Ceph s3-tests.  References #5.
2014-07-29 07:35:48 -07:00
Andrew Gaul 5c843eb272 Improve Content-Length error handling
Found with Ceph s3-tests.  References #5.
2014-07-29 07:35:48 -07:00