Andreas Auernhammer
79ba4d3f33
refactor ObjectLayer PutObject and PutObjectPart ( #4925 )
...
This change refactor the ObjectLayer PutObject and PutObjectPart
functions. Instead of passing an io.Reader and a size to PUT operations
ObejectLayer expects an HashReader.
A HashReader verifies the MD5 sum (and SHA256 sum if required) of the object.
This change updates all all PutObject(Part) calls and removes unnecessary code
in all ObjectLayer implementations.
Fixes #4923
7 years ago
Bala FA
302fcb3b17
azure: handle encryption headers and azure InvalidMetadata error ( #4893 )
...
Previously minio gateway returns invalid bucket name error for invalid
meta data. This is fixed by returning BadRequest with 'Unsupported
metadata' in response.
Fixes #4891
7 years ago
Bala FA
189b6682d6
azure: allow parts > 100MiB size to work properly ( #4869 )
...
Previously if any multipart part size > 100MiB is uploaded, azure
gateway returns error.
This patch fixes the issue by creating sub parts sizing each 100MiB of
given multipart part. On complete multipart, it fetches all uploaded
azure block ids for each parts and performs completion.
Fixes #4868
7 years ago
Krishna Srinivas
ff8e2b5b4f
Init HTTP client and transport for azure sdk ( #4871 )
...
Fixes segfault
7 years ago
Andreas Auernhammer
b10fa507b2
set http transport config for gateway ( #4765 )
...
This change sets the http config for the minio client used by the
minio server in gateway mode.
Fixes #4765
7 years ago
poornas
748b1d6495
azure: For container access type private treat as no policy set. ( #4729 )
7 years ago
Krishna Srinivas
ce7c9c651d
gateway-azure: Return right error when Part size is > 100MB ( #4652 )
7 years ago
Krishna Srinivas
1b92c5136b
Append "-1" to etag when it is not MD5 ( #4641 )
...
* gateway-azure: append "-1" to ETag so that clients do not interpret it as MD5. fixes #4537 . Added unit tests.
7 years ago
Frank Wessels
46897b1100
Name return values to prevent the need (and unnecessary code bloat) ( #4576 )
...
This is done to explicitly instantiate objects for every return statement.
8 years ago
Harshavardhana
5a78266821
gateway/gcs: Complete minio browser support for gcs. ( #4552 )
...
Fixes #4460
8 years ago
Krishna Srinivas
3928c1e14c
gateway/gcs: Change in multipart backend format ( #4455 )
8 years ago
Nitish Tiwari
58833711e0
Added ListObjectsV2 and ListObjectsV2 Anon support to Gateway S3 and Azure. ( #4547 )
8 years ago
Harshavardhana
f99f218999
Add support for reading and saving config on Gateway. ( #4463 )
...
This is also a first step towards supporting bucket
notification for gateway.
8 years ago
Remco Verhoef
0dab038858
Cleanup and update the PR with the master branch.
8 years ago
Anis Elleuch
5d602034ea
gateway: Use default params when no args provided ( #4315 )
...
For S3 & Azure, use default parameters when no arguments (endpoint) are
provided. This also avoids a crash.
8 years ago
Remco Verhoef
bf55591c64
Make every backend responsible for parsing its own arguments, fixes #4293
8 years ago
Remco Verhoef
9ac3538141
Move anonymous error to object translation from Azure specific to gateway
8 years ago
poornas
18c4e5d357
Enable browser support for gateway ( #4425 )
8 years ago
Krishna Srinivas
0bba3cc8e3
gateway-azure: Convert S3 metadata to azure metadata ( #4384 )
...
fixes #4292
8 years ago
Krishna Srinivas
28c26a9e59
Generate random ETag if client does not provide MD5 for PutObjectPart ( #4385 )
...
fixes #4289
fixes #4290
8 years ago
Harshavardhana
87fb911d38
Rename structs for azure and s3 gateway to be consistent. ( #4347 )
8 years ago
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
8 years ago
Krishna Srinivas
4aa65910e5
gateway: Restore bucket policy functionality for Azure ( #4209 )
8 years ago
Krishna Srinivas
6cf6828a4c
gateway: Rename gateway files to have "gateway-" prefix ( #4207 )
8 years ago
Remco Verhoef
3a539ce660
Implement gateway S3 support ( #3940 )
8 years ago
Krishna Srinivas
c5249c35d3
gateway: Support for custom endpoint. ( #4086 )
8 years ago
Bala FA
1c97dcb10a
Add UTCNow() function. ( #3931 )
...
This patch adds UTCNow() function which returns current UTC time.
This is equivalent of UTCNow() == time.Now().UTC()
8 years ago
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
```
8 years ago