Wykres commitów

817 Commity (7f0c7d6ddff093184a2c21173c892c750a66b04a)

Autor SHA1 Wiadomość Data
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
Andrew Gaul d427c8f7df Get Azure maximum part size dynamically
This size will increase from 4 to 100 MB in jclouds 2.1.0.
References #191.  Follow on to 2ddce6af86.
2017-04-24 12:16:38 -07:00
Andrew Gaul 0105fd66df Handle X-Amz-Expires header during authentication
Found via s3verify.
2017-04-24 04:00:48 -07:00
Andrew Gaul da4bd7cb31 Upgrade to maven-surefire-plugin 2.20
Changelog:

https://mail-archives.apache.org/mod_mbox/maven-announce/201704.mbox/%3CCAKuVzBQ%2BnoNy_gFjTP-OZiEHG%3DLh_Cu2E0YUVqaSjxfMKHHVsw%40mail.gmail.com%3E
2017-04-19 18:54:45 -07:00
Andrew Gaul d005f452de Prefer failBecauseExceptionWasNotThrown over fail 2017-04-18 11:53:09 -07:00
Andrew Gaul 9ddcc5b2e6 Remove stale TODO 2017-04-16 21:08:45 -07:00
Andrew Gaul dea4b3bae3 Handle testMultipartUploadAbort azureblob quirks 2017-04-16 19:50:18 -07:00
Andrew Gaul be91470e42 Remove obsolete prerequisites stanza
Maven 3 ignores this.
2017-04-16 19:04:32 -07:00
Andrew Gaul de0fb85ce4 Specify explicit maven-jar-plugin version 2017-04-16 19:04:29 -07:00
Andrew Gaul fc204c0d49 Only create multipart stub blob when required 2017-04-16 19:04:29 -07:00
Andrew Gaul 5cca563871 Add support heading 2017-04-12 13:20:49 -07:00
Andrew Gaul b9730a4b2f Make testSpecialCharacters compatible with Azure
Also sort prefix chars by hex values and remove unneeded delimiter.
2017-04-12 00:59:10 -07:00
Andrew Gaul d8546c00ce URL encode CommonPrefix when requested 2017-04-12 00:58:43 -07:00
Andrew Gaul 7d53dead20 Expand MPU test to check MPU and part listings 2017-04-11 19:30:12 -07:00
Andrew Gaul d1cc178f77 Skip tests which B2 does not support 2017-04-09 13:04:38 -07:00
Andrew Gaul 76d7bd911d Include cause when throwing S3Exception 2017-04-09 13:04:38 -07:00
Andrew Gaul 437ae2068d Stream B2 writes
Previously S3Proxy buffered B2 writes on disk to create a repeatable
payload for jclouds which calculated the SHA-1 checksum.  The B2
service no longer requires a checksum so we can remove the buffering.
2017-04-09 13:04:38 -07:00
Andrew Gaul 65e65bc214 Ensure that testBigMultipartUpload meets min size
Previously this failed on Backblaze B2.
2017-04-08 12:24:40 -07:00
Andrew Gaul 802b8510cf Set content bits only when provider supports them
Previously the AWS SDK choked on these null values.
2017-04-08 12:24:39 -07:00
Raphaël Pinson d3023e1695 Use JCLOUDS_ENDPOINT and JCLOUDS_REGION in run-docker-container.sh 2017-03-30 09:01:16 -07:00
Andrew Gaul 0462001878 Clarify aws-s3 vs. s3 storage backend
The former is Amazon-only.
2017-03-16 20:27:29 -07:00
Andrew Gaul d43c8d4276 Add minio to references 2017-03-16 20:26:13 -07:00
Andrew Gaul 014f558c51 Support V4 Signed URLs
Fixes #160.  Fixes #164.  Fixes #204.
2017-03-16 19:29:03 -07:00
shenghu 8b2d056d40 Allow endpoint of s3proxy to have service path
Sometimes the service is not the only one under a domain.
This commit adds s3proxy.service-path to allow s3proxy to be deployed
with a context path. Fixes #48.
2017-03-12 16:55:49 -07:00
Andrew Gaul 8224f6fe6e Interpret chunked encoding with anonymous access
Also check authentication type correctly in the constructor to handle
configurations with anonymous access but set identity and credential.
References #145.
2017-03-10 19:46:15 -08:00
Kishore battula 842eaaf719 Added log prefix in test logback 2017-03-10 02:50:20 -08:00
Kishore battula bf281edebc Added log prefix in logback 2017-03-10 02:50:20 -08:00
Andrew Gaul 3623cf09a7 Add section about middlewares linking to wiki 2017-03-09 10:54:05 -08:00
Andrew Gaul a5692b986b Return zero when listing blob size
This makes more sense than returning the 8 byte stub blob size.
References #131.
2017-03-09 10:48:56 -08:00
Andrew Gaul 26f4232756 Emit LastModified during List Parts 2017-03-08 22:58:40 -08:00
Andrew Gaul 7116f29199 Add NullBlobStore
This throws away all data during object creation and reconstructs it
with NUL bytes.  Clients can use this middleware for performance
testing or to simulate very large objects.  Fixes #131.
2017-03-08 22:53:16 -08:00
Andrew Gaul 92ef32f860 Address deprecated MultipartPart.create calls 2017-03-08 22:35:55 -08:00
Andrew Gaul 9af67702ad Always emit LastModified header in list parts
Some clients like jclouds expect this to be present.  Fixes #195.
2017-03-08 14:10:09 -08:00
shenghu b265fed46f Add verification of override parameters for presigned url. 2017-03-04 17:16:39 -08:00