Wykres commitów

939 Commity (b8d285da04e2346a6b20074bdec3921bdc656f8c)

Autor SHA1 Wiadomość Data
Andrew Gaul 946d34b03b Parse XML with StAX
This addresses issues with object names containing special characters.
Fixes #25.
2015-01-11 20:45:56 -08:00
Andrew Gaul f3221cb136 Emit XML via StAX
This addresses issues with object names containing special characters.
References #25.
2015-01-11 18:56:39 -08:00
Ka-Hing Cheung e955b998fb use static function in URLDecoder 2015-01-09 15:31:45 -08:00
Ka-Hing Cheung b91b8e25d7 uri decode path before passing them to lower layers 2015-01-06 15:54:36 -08:00
Andrew Gaul 15e11975a2 Allow kernel to pick S3Proxy port in tests 2015-01-06 15:05:21 -08:00
Ka-Hing Cheung 2dd3dac970 add test for % in blob name 2015-01-06 14:48:03 -08:00
Andrew Gaul ff551248a1 Fail V4 signature requests with InvalidArgument
This allows V4 clients like s3cmd to retry with V2 signatures.
References #24.
2015-01-06 14:42:29 -08:00
Andrew Gaul 0eac109276 Add logback.xml only to with jar-with-dependencies 2015-01-05 18:51:56 -08:00
Andrew Gaul 40d9aedca9 Add nexus-staging-maven-plugin 2015-01-05 13:34:27 -08:00
Ka-Hing Cheung dbd7304e65 make S3Proxy contructor public 2015-01-05 11:39:05 -08:00
Andrew Gaul 7093829090 Add Checkstyle to verify target 2015-01-04 17:26:47 -08:00
Andrew Gaul d513ea2eae Add Travis configuration 2015-01-04 17:24:31 -08:00
Andrew Gaul b8840aac35 Upgrade to Surefire 2.18.1
Changelog:

http://maven.40175.n5.nabble.com/Apache-Maven-Surefire-Plugin-2-18-1-Released-td5821513.html
2014-12-30 11:07:34 -08:00
Andrew Gaul 1f9fd7fa21 Consistently emit XML prologue and AWS namespace 2014-12-29 23:18:49 -08:00
Andrew Gaul a2c6bfc4cc Use correct container name with testHttpClient
This test still fails due to authorization issues.
2014-12-29 17:45:43 -08:00
Andrew Gaul 7b19250d05 Upgrade to Jetty 9.2.6.v20141205
Changelog:

http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00071.html
2014-12-29 17:11:43 -08:00
Andrew Gaul 807f6ef47c Explicitly handle get location 2014-12-29 16:29:30 -08:00
Andrew Gaul d33324797a Consistently flush before closing Writer 2014-12-28 14:52:36 -08:00
Andrew Gaul 711c0821d1 Sort subresources
This ensures deterministic signatures when requests have multiple
subresources, e.g., multipart uploads.
2014-12-21 23:11:59 -08:00
Andrew Gaul 08a7249bcf Upgrade to Modernizer Maven Plugin 1.2.2
Changelogs:

https://github.com/andrewgaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.2.2
https://github.com/andrewgaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.2.0
2014-12-17 04:27:29 -08:00
Andrew Gaul af4f3b1f3d Upgrade to slf4j 1.7.8
Changelog:

http://www.slf4j.org/news.html
2014-12-15 04:33:15 -08:00
Andrew Gaul 57b84a3fd8 Upgrade to JUnit 4.12
Release notes:

https://github.com/junit-team/junit/blob/master/doc/ReleaseNotes4.12.md
2014-12-15 04:32:15 -08:00
Andrew Gaul ec4a513ed2 Upgrade to Jetty 9.2.5.v20141112
Changelog:

http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00070.html
2014-12-04 02:45:22 -08:00
Andrew Gaul 161fd3d847 Include delete as a signed resource
This allows multi-object delete to work and addresses a regression
introduced by e5c12c1777.
2014-12-03 22:59:36 -08:00
Andrew Gaul ae3598dbfb Emit InvalidAccessKeyId on access key mismatch
References #5.
2014-12-03 22:39:41 -08:00
Andrew Gaul 40c4d099d9 Handle invalid Content-Length during create bucket
References #5.
2014-12-03 18:36:15 -08:00
Andrew Gaul 3b2bd615a0 Simplify parsing of Content-Length and Content-MD5
HttpServletRequest uses null to indicate a header value which is
present but has no value.  Use empty String instead.
2014-12-03 04:30:54 -08:00
Ka-Hing Cheung e5c12c1777 more required parameters needed for signing
allows s3cmd info s3://bucket/ to work
2014-11-20 04:31:23 +01:00
Andrew Gaul 04ac43c2f2 Upgrade to Surefire 2.18
Notably this addresses SUREFIRE-1028 which prevented running single
test methods.

Changelog:

http://mail-archives.apache.org/mod_mbox/maven-announce/201411.mbox/%3CCAK2FUK2o_9oAUcWkAC=pbA5vejMKW0i0Pn9XBBo9cTg2uRFRYg@mail.gmail.com%3E
2014-11-18 16:27:06 +01:00
Ka-Hing Cheung 617b3ae3e9 more compatibility fixes for s3cmd
s3cmd uses virtual hostname for bucket name, with the host header
including the port. need to strip out the port to find out the
bucket name
2014-11-18 10:14:16 +01:00
Ka-Hing Cheung 004d12761e http header name is case insensitive
fixes compatibility with s3cmd
2014-11-18 03:45:58 +01:00
Andrew Gaul 559b1d36dd Clean up signer 2014-10-27 15:29:53 -07:00
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