Krishna Srinivas
3e632a49ee
In gateway mode "continuation-token" will not contain "prefix" ( #4911 )
...
fixes #4900
2017-09-13 17:27:19 -07:00
Krishna Srinivas
42b3795304
Set NextContinuationToken in ListObjectsV2 response for gateway ( #4908 )
...
fixes #4900
2017-09-12 16:19:58 -07:00
Frank Wessels
61e0b1454a
Add support for timeouts for locks ( #4377 )
2017-08-31 14:43:59 -07:00
A. Elleuch
6f7ace3d3e
Honor overriding response headers for HEAD ( #4784 )
...
Though not clearly mentioned in S3 specification, we should override
response headers for presigned HEAD requests as we do for GET.
2017-08-08 11:04:04 -07:00
Andreas Auernhammer
b0fbddc051
fix confusing code for http.Header handling ( #4623 )
...
Fixed header-to-metadat extraction. The extractMetadataFromHeader function should return an error if the http.Header contains a non-canonicalized key. The reason is that the keys can be manually set (through a map access) which can lead to ugly bugs.
Also fixed header-to-metadata extraction. Return a InternalError if a non-canonicalized key is found in a http.Header. Also log the error.
2017-07-05 16:56:10 -07:00
Harshavardhana
b90cefdb88
Merge remote-tracking branch 'origin/feature-gcs'
2017-06-22 11:52:12 -07:00
Nitish Tiwari
58833711e0
Added ListObjectsV2 and ListObjectsV2 Anon support to Gateway S3 and Azure. ( #4547 )
2017-06-16 22:17:00 -07:00
Harshavardhana
f99f218999
Add support for reading and saving config on Gateway. ( #4463 )
...
This is also a first step towards supporting bucket
notification for gateway.
2017-06-16 16:01:41 -07:00
Krishnan Parthasarathi
4fb5fc72d7
GCS gateway allows apps to supply their own marker ( #4495 )
...
Most s3 compatible apps use object keys returned in listing as
marker. This change allows this behaviour with gateway-gcs too.
2017-06-16 15:02:07 -07:00
Remco Verhoef
d86973dcca
Allow bucket creation in different regions, closes #4287 and #4241
...
* I needed to remove the region check from PutBucketHandler
2017-06-16 15:02:07 -07:00
Remco Verhoef
0dab038858
Cleanup and update the PR with the master branch.
2017-06-16 14:55:32 -07:00
Remco Verhoef
bfff251e2a
Fix issue with UNSIGNED payloads.
...
Additionally also fixes escaping slashes in
temporary multipart names
2017-06-16 14:54:37 -07:00
Remco Verhoef
4430085981
Add region to gcs gateway example
2017-06-16 14:54:37 -07:00
Remco Verhoef
5c78415b31
Verify md5 content hash, closes #4285
2017-06-16 14:54:37 -07:00
Remco Verhoef
2de1921fe8
Use MINIO_REGION environment variable for region configuration, closes #4287
2017-06-16 14:54:37 -07:00
Remco Verhoef
6dbc5aba09
Return correct error when PutObject fails
2017-06-16 14:53:36 -07:00
Remco Verhoef
0a8cf1a6b0
Allow bucket creation in different regions, closes #4287 and #4241
...
* I needed to remove the region check from PutBucketHandler
2017-06-16 14:53:36 -07:00
Remco Verhoef
dd5b975001
Add comment, gateway should validate object name
2017-06-16 14:47:02 -07:00
Harshavardhana
458f22f37c
log: Fix printing of signature error request headers. ( #4444 )
...
The following commit f44f2e341c
fix was incomplete and we still had presigned URLs printing
in query strings in wrong fashion.
This PR fixes this properly. Avoid double encoding
percent encoded strings such as
`s3%!!(MISSING)A(MISSING)`
Print properly as json encoded.
`s3%3AObjectCreated%3A%2A`
2017-05-31 00:11:06 -07:00
Krishna Srinivas
28c26a9e59
Generate random ETag if client does not provide MD5 for PutObjectPart ( #4385 )
...
fixes #4289
fixes #4290
2017-05-22 15:48:48 -07:00
Harshavardhana
155a90403a
fs/erasure: Rename meta 'md5Sum' as 'etag'. ( #4319 )
...
This PR also does backend format change to 1.0.1
from 1.0.0. Backward compatible changes are still
kept to read the 'md5Sum' key. But all new objects
will be stored with the same details under 'etag'.
Fixes #4312
2017-05-14 12:05:51 -07:00
Krishna Srinivas
fc774957fe
gateway: reject requests with unknown authorization ( #4297 )
2017-05-09 07:53:31 -07:00
Remco Verhoef
01e9adc4b3
Implement anonymous uploads, fixes #4250 ( #4259 )
2017-05-04 20:03:56 -07:00
Remco Verhoef
3a539ce660
Implement gateway S3 support ( #3940 )
2017-04-27 11:26:00 -07:00
Krishna Srinivas
cea4cfa3a8
Implement S3 Gateway to third party cloud storage providers. ( #3756 )
...
Currently supported backend is Azure Blob Storage.
```
export MINIO_ACCESS_KEY=azureaccountname
export MINIO_SECRET_KEY=azureaccountkey
minio gateway azure
```
2017-03-16 12:21:58 -07:00