Wykres commitów

650 Commity (blobstore-locator)

Autor SHA1 Wiadomość Data
Andrew Gaul 6a712d5945 Add configuration for mapping access keys
This allows S3Proxy to use multiple local credentials mapping onto
multiple remote credentials.  Credentials properties files have the
form:

local-identity=local-credential:remote-identity:remote-credential
2017-10-31 14:44:21 -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
Andrew Gaul d4802ec54f Emit InvalidArgument on CopyPart invalid range
References kahing/goofys#212.
2017-08-06 23:24:58 -07:00
Andrew Gaul 93b80f6373 Do not escape / when URL encoding
This allows clients to list pseudo-directories with slashes in them.
References kahing/goofys#213.
2017-08-02 23:06:13 -07:00
Andrew Gaul 9e406531bb Set response Content-Type to application/xml 2017-07-24 18:40:03 -07:00
Andrew Gaul 1e5ebadee4 Do not allow anonymous access to list buckets
Fixes #236.
2017-07-22 16:11:29 -07:00
Andrew Gaul ff68288e3a Bump to 1.6.0-SNAPSHOT 2017-07-09 20:37:05 -07:00
Andrew Gaul 11f8e1449f S3Proxy 1.5.3 release 2017-07-09 20:34:02 -07:00
Andrew Gaul 17294be152 Do not set endpoint if it is an empty string
Also do not pass along endpoint as an override if we set it via the
builder.  Fixes #229.
2017-07-08 19:45:22 -07:00
Chaithanya Ganta 23705a879b Moving signature creation logic to a separate class
Signed-off-by: Chaithanya Ganta <ganta@adobe.com>
2017-07-07 09:06:04 -07:00
Andrew Gaul 3af585e4a6 Configure Travis for JDK 7 2017-07-06 09:39:22 -07:00
Andrew Gaul cac2d39b73 Work around Travis issue blocking boto
Previously Travis builds failed with:

ERROR: Failure: ImportError (No module named google_compute_engine)
2017-07-06 08:54:45 -07:00
Andrew Gaul e7c4e2d4fa Upgrade to jclouds 2.0.2
Release notes:

https://jclouds.apache.org/releasenotes/2.0.2/
2017-07-06 08:29:10 -07:00
Chaithanya Ganta 84885fa8cd Throw proper S3 error code for invalid buck name
INVALID_BUCKET_NAME for container creation request, else NO_SUCH_BUCKET
2017-06-02 13:47:51 +02:00
Chaithanya Ganta 6b92cc06f4 Validate bucket name before processing any request 2017-06-02 13:47:51 +02:00
Andrew Gaul 742820a93d Allow capitals as first character in bucket name
Curiously Amazon permits mixed case but documents that only lowercase
letters are allowed:

https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html

Fixes #226.
2017-05-24 22:02:48 -07:00
Chaithanya Ganta ca96906118 Upgrade to jackson-dataformat-xml 2.8.8
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-05-23 15:18:27 -07:00
Andrew Gaul 9d59288244 Expand limitations and references 2017-05-22 10:14:56 -07:00
Rached Ben Mustapha e23e9b78e4 Handle HttpResponseException in S3ProxyHandlerJetty 2017-05-12 12:33:40 -07:00
Andrew Gaul 525c6e2275 Override PrintStream.write as well as print
args4j inconsistently uses both methods for output.  Workaround for
kohsuke/args4j#149.
2017-05-08 11:33:12 -07:00
Kishore battula 84ec8e22da added whether console is attached or not 2017-05-08 11:33:12 -07:00
Andrew Gaul 9c74851c43 Address error-prone 2.0.19 issues 2017-05-06 17:00:38 -07:00
Andrew Gaul e21b467110 Improve IP address validation 2017-05-06 12:27:46 -07:00
Michael Wittig 4f14b8607a HTTP POST Requests using AWS Signature Version 4 2017-05-05 12:11:54 -07:00
kishore d3c77384f1 Allow anonymous access to public-read containers 2017-05-03 00:02:05 -07:00
Andrew Gaul ec90b748af Fix references nits 2017-04-26 11:07:10 -07:00
Andrew Gaul 4337502c2e Add Scality S3 Server to references 2017-04-26 11:05:26 -07:00
Andrew Gaul 8db6ce2a92 Replace parameters whitelist with blacklist
Mimic Amazon behavior of ignoring unknown parameters and only emit
NotImplemented when present in blacklist.  Fixes #189.
2017-04-25 14:03:43 -07:00
Andrew Gaul 6b30e66127 Do not set virtual host when it is an empty string
References #210.
2017-04-25 12:52:24 -07:00
Eric Urban 16af493cad Update docker script to allow for configuration of virtualhost 2017-04-25 10:40:01 -07:00