Wykres commitów

728 Commity (be0ffa2452c06e3d68e5495c838bf4a6c994697b)

Autor SHA1 Wiadomość Data
Andrew Gaul a1e9fb301a Upgrade from findbugs 3.0.4 to spotbugs 3.1.1
Also suppress a few warnings.  Release notes:

https://github.com/spotbugs/spotbugs/blob/3.1.1/CHANGELOG.md
2018-01-09 16:10:23 -08:00
Andrew Gaul ff13aae981 Prevent NullPointerException
Found via spotbugs.
2018-01-09 15:52:20 -08:00
Andrew Gaul 3d4a5db3d2 Avoid NullPointerException when provider not set
Found via spotbugs.
2018-01-09 13:48:29 -08:00
Andrew Gaul fa3394e0ab Ensure propertiesFiles is not null
This allows a usage check to succeed.
2018-01-09 13:45:05 -08:00
Andrew Gaul 6658f964f2 Handle permission errors during bucket creation
This commit requires jclouds 2.1.0.  References #122.
2018-01-09 12:48:04 -08:00
Andrew Gaul 1955644f89 Upgrade to aws-java-sdk-s3 1.11.259 2018-01-09 12:03:22 -08:00
Andrew Gaul 9707c42bff Upgrade to Jackson Dataformat XML 2.9.3
Changelog:

https://github.com/FasterXML/jackson-dataformat-xml/blob/master/release-notes/VERSION
https://github.com/FasterXML/jackson-core/blob/master/release-notes/VERSION
2018-01-09 12:02:43 -08:00
Philipp Marx 24a3d64134 Test for chunked encoding with anonymous access
References #145.
2018-01-09 00:20:14 -08:00
Andrew Gaul d4968397ba Implement multi-byte read in NullBlobStore
This can improve performance.  Found via error-prone 2.2.0.
2018-01-09 00:01:09 -08:00
Andrew Gaul 357f8e4197 Prefer Splitter over String.split
The latter has surprising semantics.  Found via error-prone 2.2.0.
2018-01-09 00:01:09 -08:00
Andrew Gaul 757a9dc855 Compare signatures with constant time comparison
Fixes #250.
2018-01-08 23:23:09 -08:00
Andrew Gaul a80e75a20f Add test for anonymous authentication
Fixes #200.
2018-01-08 22:56:28 -08:00
Andrew Gaul c410df593d Parameterize TestUtils.startS3Proxy 2018-01-08 22:56:28 -08:00
Random Coder 0f26d65846 Add check for non anonymous identity before extracting auth header
Fixes #251.
2018-01-08 22:56:18 -08:00
Andrew Gaul 2905b720b8 Update copyright year 2018-01-04 14:57:47 -08:00
Andrew Gaul aee169e403 Check stream closed in read
This matches TestUtils.randomByteSource.
2018-01-04 14:54:54 -08:00
Andrew Gaul b5617857d6 Bump to 1.6.0-SNAPSHOT 2018-01-02 18:09:12 -08:00
Andrew Gaul e85fd2dbaa S3Proxy 1.5.4 release 2018-01-02 18:03:35 -08:00
Andrew Gaul aa297324d8 Add select object content to limitations 2018-01-02 17:33:23 -08:00
baul ddfba4e7a4 v2/v4 auth improve
* 15 minitues timeskew
* Add x-amz-date header or query parameter check
* Change the timeskew logic to first get client req auth type
* When v2,x-amz-date header format is rfc2616,when v4,is iso8601
* If have both x-amz-date header and date header in v2 auth,date value in
  stringtosign is x-amz-date header value,CanonicalizedAmzHeaders
  have no x-amz-header.
  Ref Delete example in site:
  http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
* Fix v2 query auth:
  If expires is nil ,does not mean that the auth type is not query
  auth type.
  Ref http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#RESTAuthenticationQueryStringAuth
  It says that 'Additionally, you can limit a pre-signed request by specifying an expiration time.'
2018-01-02 17:32:49 -08:00
Andrew Gaul 94bf8ca88e Add missing @Nullable 2017-12-23 08:03:29 -08:00
Andrew Gaul 5e9b2e28a6 Upgrade to jclouds 2.0.3
Release notes:

https://jclouds.apache.org/releasenotes/2.0.3/
2017-11-30 08:56:18 -08:00
Andrew Gaul d380661f76 Use a single jclouds thread pool for all backends
S3Proxy does not seem to use the jclouds thread pools but limiting
this to one makes sense for multiple configurations.  References #180.
2017-11-08 18:11:17 -08:00
Andrew Gaul 11f82ec997 Factor out properties parsing into Builder 2017-11-08 17:34:09 -08:00
Andrew Gaul 732a24d990 Allow limiting the number of Jetty threads
Also name Jetty threads more specifically.  References #180.
2017-11-08 15:25:57 -08:00
Andrew Gaul f48bd352c4 Consume S3Object InputStream
Previously these tests leaked HTTP connections from the AWS SDK pool.
2017-11-08 11:41:35 -08:00
Andrew Gaul 251082f7e7 Support multiple configurations
Fixes #11.
2017-11-07 17:06:57 -08:00
Andrew Gaul 6ee33b89f9 Refactor S3Proxy properties parsing
Also convert a few calls to System.exit into IllegalArgumentException.
References #11.
2017-11-07 14:27:24 -08:00
Andrew Gaul e9063e4867 Add EMC Atmos to translation bullet
Also use and instead of or.
2017-11-04 10:12:39 -07:00
Andrew Gaul a09c9e1998 Treat directories as relative paths
When listing blobs foo/1 and foo/2 with prefix foo and delimiter /,
jclouds returns foo as a relative path, except for Atmos which returns
foo as a directory.  Treat the latter like the former to allow listing
pseudo-directories with Atmos.
fb0f321303 introduced this regression.
Fixes #244.
2017-10-31 11:43:22 -07:00
Andrew Gaul 91103650c0 Correct project name to S3Proxy 2017-10-16 22:47:09 -07:00
Andrew Gaul 35d7c48475 Read-only middleware
Fixes #217.
2017-10-08 18:11:14 -07:00
Andrew Gaul 5a7ae64099 Update andrewgaul references to gaul 2017-10-06 10:35:56 -07:00
Andrew Gaul 12e723e5b5 Add storage class issue to README limitations 2017-09-01 14:43:32 -07:00
Andrew Gaul a69c50f08d Upgrade to Jackson Dataformat XML 2.9.0
Changelog:

https://github.com/FasterXML/jackson-dataformat-xml/blob/master/release-notes/VERSION
https://github.com/FasterXML/jackson-core/blob/master/release-notes/VERSION
2017-08-31 14:04:37 -07:00
Andrew Gaul e0d636fc81 Upgrade to slf4j 1.7.25
Release notes:

https://www.slf4j.org/news.html
2017-08-31 14:01:27 -07:00
Andrew Gaul 71709d2c60 Upgrade to Jetty 9.2.22.v20170606
https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00110.html
2017-08-31 13:48:53 -07:00
Andrew Gaul 66a936d451 Upgrade to aws-java-sdk-s3 1.11.186 2017-08-31 13:46:58 -07:00
Andrew Gaul b7100e1bfc Upgrade to logback 1.2.3
Release notes:

https://logback.qos.ch/news.html
2017-08-31 13:45:12 -07:00
Andrew Gaul c0d4fbadfc Upgrade to commons-fileupload 1.3.3
Announcement:

http://mail-archives.apache.org/mod_mbox/www-announce/201706.mbox/%3CB51CC823-7EF5-4BCF-9E9D-CF97FB67DC62%40apache.org%3E
2017-08-31 13:43:53 -07:00
Andrew Gaul 634aba7241 Explicitly use trusty dependency for Travis tests 2017-08-31 11:05:25 -07:00
Andrew Gaul a2a8f63980 Add storage classes to limitations 2017-08-28 18:32:15 -07:00
Andrew Gaul 3dd7cfcd42 Address long narrowing issues
Found via error-prone 2.1.0.
2017-08-21 19:46:34 -07:00
Andrew Gaul f6c3ab9e75 Add @Nullable annotations where appropriate
Found via error-prone 2.1.0.
2017-08-21 19:46:33 -07:00
Andrew Gaul 51aa2e7fcd Address modern Guava deprecations 2017-08-21 15:04:41 -07:00
Andrew Gaul 456f7c7a0a Default to AWS V2 or V4 authentication 2017-08-16 18:04:52 -07:00
Andrew Gaul 39c289d649 Allow Docker environment to ignore unknown headers 2017-08-16 18:04:52 -07:00
Andrew Gaul 233559bb2b Do not ignore x-amz-storage-class if not STANDARD
Clients can set the ignore unknown headers parameter to preserve the
existing behavior.  References #234.
2017-08-16 18:04:52 -07:00
Andrew Gaul 9263217be5 Add .mailmap 2017-08-16 14:11:57 -07:00
Andrew Gaul 1a639d1062 Upgrade s3-tests 2017-08-16 14:11:40 -07:00