Frederick F. Kautz IV
563a914046
Fix whitespace
10 years ago
Frederick F. Kautz IV
83f0f0971f
Adding comments on why we subtract a second from date1 in an api test
10 years ago
Frederick F. Kautz IV
1f699a094b
Minor modification for creating temp dir in api test
10 years ago
Frederick F. Kautz IV
5b1350b4bf
api test now states which driver is currently running
10 years ago
Frederick F. Kautz IV
6136960cfd
Moving api_test to fixtures for drivers
10 years ago
Frederick F. Kautz IV
959d90fcf7
Adding test for partial objects
10 years ago
Frederick F. Kautz IV
96e26335e2
Adding tests and a fix for get object where bucket is not found
10 years ago
Harshavardhana
0474439b43
Code restructuring, assigning proper subsystems to each
...
- Drivers contain
* donut/*
* file/*
* memory/*
- Storage format contains
* donut/*
- GetObject() --> renamed to GetObjectReader()
- Deleted stale objectwriter.go, renamed donutwriter.go to object_writer.go
Simplifying, and documenting codebase further
10 years ago
Harshavardhana
2b0b5f014a
Update license header Mini should be Minimalist really
10 years ago
Harshavardhana
7ce3ab3193
Restructure minio api, move signature checks from utils to Api.
10 years ago
Harshavardhana
74b3d092f2
Now MinioAPI handles Content-MD5 set during putObject()
...
- This change also facilitates proper error response
in case of md5 mismatch or corruption
- TODO a test function needs to be implemented
10 years ago
Frederick F. Kautz IV
1a88b36c55
Switching from base64 to hex for etag
10 years ago
Frederick F. Kautz IV
211b084e50
Performing etag off of bytes rather than md5 string
10 years ago
Frederick F. Kautz IV
583c32c774
Metadata now stores hex md5, not base64. Minio API now converts md5 hex to base64.
10 years ago
Harshavardhana
15f68972a5
Some necessary cleanup
...
- Rename 'fs' as 'file' for brevity
- Rename 'inmemory' as 'memory' for brevity
- Change everywhere else
10 years ago
Harshavardhana
67888cbaa9
Restructure and use human readable names
10 years ago
Harshavardhana
a42a48a455
Get object range request added
10 years ago
Frederick F. Kautz IV
24d5018037
Rename StoreBucket to CreateBucket
10 years ago
Harshavardhana
f8e2b75e23
Get object metadata needs to filter based of Prefix when delimiter is specified
10 years ago
Harshavardhana
e5af8a3f5d
Further fixes -
...
- All test files have been renamed to their respective <package>_test name,
this is done in accordance with
- https://github.com/golang/go/wiki/CodeReviewComments#import-dot
imports are largely used in testing, but to avoid namespace collision
and circular dependencies
- Never use _* in package names other than "_test" change fragment_v1 to expose
fragment just like 'gopkg.in/check.v1'
10 years ago
Harshavardhana
540723d7ae
Golint cleanup pkg/api
10 years ago
Harshavardhana
53669a0854
Implement delimiter, path prefix
10 years ago
Harshavardhana
51e80eaa6d
Add domain and subdomain support for MinioAPI
...
This change brings in domain and subdomain support
- ./minio --domain "yourminiodomain.com"
This change brings in a much needed feature by keeping
bucketnames as part of your 'DNS' name.
All your existing applications can be migrated off from s3 to
Minio without little to no modifications.
NOTE: Setting up DNS for your `buckets` is out of scope of this feature
10 years ago
Harshavardhana
f7a06a5d1e
Some more cleanup
10 years ago
Harshavardhana
eeae64935e
Implement bucket policy handler and with galore of cleanup
10 years ago
Harshavardhana
ac4f07906c
Implement S3 Style ErrorCodes and Response
...
This patchset also brings in lot of cleanup in terms of minioapi codebase
10 years ago
Harshavardhana
92f83982db
Changes to tests pending from #142
10 years ago
Frederick F. Kautz IV
620435cea6
Content type is now passed from minioapi to storage
10 years ago
Frederick F. Kautz IV
288bc3fcc7
Adding content type to backend storage drivers
10 years ago
Frederick F. Kautz IV
816310825e
Removing XMLName from json request
10 years ago
Harshavardhana
dc47ca1431
Fix build issue
10 years ago
Frederick F. Kautz IV
a8eef13835
Minioapi TestPutObject properly creates bucket at start of test
10 years ago
Harshavardhana
e1b3836c60
Service a new WebUI server at port 8081.
...
It is provided to avoid the router clutter on the Object API
end. This is just a first cut sample we are going to build on
top of this the new management console UI.
General interest comes from subsequently writing a small UI to
generate `AccessKey` and `SecretKey` to build authorization
layer.
10 years ago
Frederick F. Kautz IV
54026dbc78
Setting order when retrieving buckets
10 years ago
Frederick F. Kautz IV
94e124470c
Converting unimplemented methods list into an http handler
10 years ago
Frederick F. Kautz IV
0cd54031a7
Adding list api test
10 years ago
Frederick F. Kautz IV
2368e7c936
Adding error support to all commands in storage interface
10 years ago
Frederick F. Kautz IV
d37bbfec41
Adding IsTruncated to minioapi
10 years ago
Frederick F. Kautz IV
82a69d3ab9
Adding initial test suites
10 years ago
Harshavardhana
c751811dcb
Return http.StatusNotImplemented for range of Bucket and Object resources
...
Not Implemented bucket resources
================================
"acl": true
"lifecycle": true
"policy": true
"location": true
"logging": true
"notification": true
"versions": true
"requestPayment": true
"versioning": true
"website": true
"uploads": true
Not Implemented object resources
================================
"uploadId": true
"acl": true
"torrent": true
"uploads": true
10 years ago
Harshavardhana
704d6d8b0a
Putbucket before PutObject in TestPutObject
10 years ago
Frederick F. Kautz IV
af1ec94925
Adding more tests
10 years ago
Frederick F. Kautz IV
dd0c833718
Adding tests for GET object in minioapi.
10 years ago
Harshavardhana
d44404dd81
Provide ETag with sha256Sum of input object data
10 years ago
Harshavardhana
e22ae2475a
Add license headers and other cleanup
10 years ago
Frederick F. Kautz IV
53190e1210
Initial work for xml list objects
10 years ago