Andrew Gaul
b1e96f4c2f
Upgrade to modernizer-maven-plugin 1.4.0
...
Release notes:
https://github.com/andrewgaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.4.0
2015-10-15 20:21:02 -07:00
Andrew Gaul
274bf8a32e
Handle listing a public-read container
...
Also handle checking existence.
2015-10-15 20:14:41 -07:00
Andrew Gaul
0faa68ccfc
Honor jclouds.region with Swift blobstores
...
jclouds has inconsistent support for regions due to provider
differences. AWS providers a single global namespace while Swift
scopes per-endpoint. Tested with Rackspace Cloud Files in HKG and ORD
regions. Fixes #81 .
2015-10-14 13:08:29 -07:00
Andrew Gaul
618c35054c
Do not check authorization when in anonymous mode
2015-10-11 11:09:04 -07:00
Andrew Gaul
cad436fb95
Do not set Content-MD5 during copy part
...
The previously used MD5 covered the entire object, not just the range
request. Uncovered by ceph/s3-tests#75 .
2015-09-02 11:31:46 -07:00
Andrew Gaul
1d8dfea9c7
Use args4j for argument parsing
2015-09-01 11:12:34 -07:00
Nate Rosenblum
f40693f214
Terminate on s3proxy start failure
...
E.g. when bind(2) fails.
2015-08-22 16:28:02 -07:00
Andrew Gaul
095d9aa94d
Check anonymous access configuration first
...
Previously, when configured for anonymous access and a client tried to
authenticate, S3Proxy would create a signature with a non-existent
credential. Instead check anonymous access configuration first to
avoid a NullPointerException.
2015-08-05 17:14:10 -07:00
Andrew Gaul
3b4d1b285b
Add issue links to limitations
2015-08-02 17:12:39 -07:00
Andrew Gaul
0daa04a3ed
Emit NotImplemented for unknown x-amz headers
2015-07-30 21:49:44 -07:00
Andrew Gaul
b85dc31d48
Call HttpServletRequest.getWriter
...
This avoids explicit wrapping with OutputStreamWriter.
2015-07-30 21:00:54 -07:00
Andrew Gaul
cc5f1e259f
Issue BlobStore calls before opening Writer
...
This allows Jetty to propagate errors from the calls correctly.
Follow on to dba252bb99
.
2015-07-30 20:50:48 -07:00
Andrew Gaul
96a6d188a3
Set Content-MD5 during emulated copy part
...
Dead store found with FindBugs. References #56 .
2015-07-30 20:32:03 -07:00
Andrew Gaul
2709d3faa4
Upgrade to error-prone 2.0.4
...
Release notes:
https://groups.google.com/forum/#!topic/error-prone-announce/syl8dKP_Aow
https://groups.google.com/forum/#!topic/error-prone-announce/iZI0yixYDms
https://groups.google.com/forum/#!topic/error-prone-announce/v7aBgfhH-u8
https://groups.google.com/forum/#!topic/error-prone-announce/-f6Cv6jKvig
2015-07-30 15:57:02 -07:00
Andrew Gaul
cdbe139234
Remove munging of Google Cloud Storage ETag
...
Clients need the original value for conditional GETs.
2015-07-30 14:29:23 -07:00
Andrew Gaul
8e5fecaa91
Emulate multipart copy
...
Fixes #56 .
2015-07-30 14:19:09 -07:00
Andrew Gaul
81c3fe9fc7
Consistently compared unquoted ETags
...
Also use the ETag from listing parts which resolves an issue with
Swift multipart upload due to use of quoted ETags in the client S3
request and unquoted in underlying Swift request.
2015-07-30 14:01:43 -07:00
Andrew Gaul
4684c1efe0
Do not test Content-Language with Swift
...
Swift does not support this header.
2015-07-29 16:59:18 -07:00
Andrew Gaul
dba252bb99
Call completeMultipartUpload before opening writer
...
This allows Jetty to propagate errors from completeMultipartUpload
correctly.
2015-07-29 16:22:18 -07:00
Andrew Gaul
50871a55ec
Partially emulate arbitrary markers with GCS
...
S3 supports arbitrary keys for the marker while GCS only supports its
opaque marker. Emulate the common case for GCS by mapping the last
key from a listing to the corresponding previously returned marker.
2015-07-28 15:49:32 -07:00
Andrew Gaul
19aa01c090
Partially emulate arbitrary markers with Azure
...
S3 supports arbitrary keys for the marker while Azure only supports
its opaque marker. Emulate the common case for Azure by mapping the
last key from a listing to the corresponding previously returned
marker.
2015-07-28 05:15:07 -07:00
Andrew Gaul
f94d1834c9
Add test for multipart copy
...
S3Proxy does not yet support this so we expect NotImplemented.
References #56 .
2015-07-25 13:04:05 -07:00
Andrew Gaul
aed1a3ab3c
Emit NotImplemented for multipart copy
...
References #56 .
2015-07-23 23:14:36 -07:00
Andrew Gaul
629fa0b2d4
Upgrade to maven-checkstyle-plugin 2.16
...
This also upgrades Checkstyle to 6.2. Release notes:
https://mail-archives.apache.org/mod_mbox/maven-announce/201507.mbox/%3C12606732.01437413806439.JavaMail.Dennis%40Dennis-Dator%3E
http://checkstyle.sourceforge.net/releasenotes.html
2015-07-21 08:23:14 -07:00
Andrew Gaul
566552a1e3
Split larger S3 MPU parts into smaller Azure parts
...
Fixes #58 .
2015-07-17 16:06:48 -07:00
Andrew Gaul
68eb48f7e9
Update s3-tests to include delimiter tests
2015-07-14 14:00:50 -07:00
Timur Alperovich
763a004177
Enable delimiter support.
...
Enables support for the delimiter option.
Amends a recursive test to expect that the delimiter is included in
the common prefix name.
2015-07-14 13:43:48 -07:00
Andrew Gaul
cfda5f1837
Upgrade to jetty-servlet 9.2.12.v20150709
...
Release notes:
https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00081.html
2015-07-14 11:43:55 -07:00
Andrew Gaul
8109c69d3e
Re-enable s3-tests with Travis
2015-07-14 11:35:27 -07:00
Andrew Gaul
2a403aa494
Temporarily disable testBlobListRecursive
...
Regression due to jclouds delimiter changes.
2015-07-14 11:33:39 -07:00
Andrew Gaul
998ca7103c
Update s3-tests to include bootstrap fixes
...
Possible fix for:
https://github.com/travis-ci/travis-ci/issues/4003
Addressed by:
https://github.com/ceph/s3-tests/pull/66
2015-07-14 11:30:07 -07:00
Andrew Gaul
f9bba1500f
Update s3-tests to include anonymous access tests
...
References #44 .
2015-07-13 14:03:56 -07:00
Andrew Gaul
be3f38b937
Allow anonymous access via bucket and object ACLs
...
Fixes #44 .
2015-07-13 13:58:03 -07:00
Andrew Gaul
757ed5acbe
Add missing final modifier to classes
2015-07-12 23:27:35 -07:00
Andrew Gaul
2fc3d9b665
Remove unneeded builder assignments
2015-07-12 23:06:57 -07:00
Andrew Gaul
2a1e7b5da1
Add test for single-part upload metadata
...
Previously we only checked metadata in multi-part upload.
2015-07-10 16:06:38 -07:00
Ka-Hing Cheung
16bb2082f4
get rid of default blob store
2015-07-07 14:22:35 -07:00
Ka-Hing Cheung
d76717e733
Revert "revert the parallel test bits"
...
This reverts commit cc58282194
.
2015-07-01 13:13:16 -07:00
Andrew Gaul
58c4600d3f
Use native prefix support instead of emulation
2015-06-30 09:52:38 -07:00
Ka-Hing Cheung
cc58282194
revert the parallel test bits
2015-06-29 16:19:42 -07:00
Andrew Gaul
46d1fc21e9
Check actual content metadata during MPU test
2015-06-26 18:15:28 -07:00
Andrew Gaul
f9030bb613
Disable s3-tests due to a Travis regression
2015-06-25 14:11:33 -07:00
Ka-Hing Cheung
a1c1129b53
run all tests in parallel
...
need to strip expect headers from jclouds to workaround an issue,
which maybe https://issues.apache.org/jira/browse/JCLOUDS-905
2015-06-24 18:26:36 -07:00
Ka-Hing Cheung
5098722b8b
run test with http
2015-06-24 18:25:34 -07:00
Ka-Hing Cheung
8f60c1e076
add jclouds test
2015-06-24 14:12:15 -07:00
Ka-Hing Cheung
9b61608352
re-factor out s3proxy launch function
2015-06-24 14:04:57 -07:00
Ka-Hing Cheung
67e4ff80b2
downgrade to only use assertj 1.7.0 features
...
also fixed the incorrect equals assertion
2015-06-24 13:25:50 -07:00
Andrew Gaul
0ed4d6c568
Include Content-Range header in range requests
...
Fixes #63 .
2015-06-17 11:28:31 -07:00
Andrew Gaul
4b01ffbba2
Handle illegal ranges in range requests
2015-06-16 21:42:46 -07:00
Andrew Gaul
2e400fb273
Upgrade to maven-assembly-plugin 2.5.5
...
Release notes:
http://mail-archives.apache.org/mod_mbox/maven-announce/201506.mbox/%3CCAJZRQKzc45axq2Vs0uVf2EZgR9hXEM-u7GbN4EZdd-ngEcZztw%40mail.gmail.com%3E
2015-06-10 14:37:12 -07:00