Frederick F. Kautz IV
ebf1e784b3
Adding iodine and tests for for list buckets errors
10 years ago
Frederick F. Kautz IV
5865295f5d
Adding better error support to api
10 years ago
Frederick F. Kautz IV
8757ccf9a3
Fixing race condition in api_test.go
10 years ago
Harshavardhana
85e547d854
Parse response headers in tests
10 years ago
Frederick F. Kautz IV
0c5ed6f3ba
Add partial object support to donut driver
10 years ago
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
Harshavardhana
a56098b8c9
Make sure in API we handle all error type exclusively, and return certain values exclusively
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
62c4c997c2
Simplifying error handling in api bucket handlers
10 years ago
Frederick F. Kautz IV
318d9d5aa8
API Bucket Handlers errors simplified
10 years ago
Frederick F. Kautz IV
7d657eb55c
Simplifying error response writing for object handlers
10 years ago
Frederick F. Kautz IV
c3cda5d9a8
Adding comments to errors
10 years ago
Frederick F. Kautz IV
ded090a8b0
Normalizing imports in api
10 years ago
Frederick F. Kautz IV
8cbc1c2346
More api cleanup
10 years ago
Frederick F. Kautz IV
452f0f8335
Cleaning up more api code
10 years ago
Frederick F. Kautz IV
d644233054
Rename writeObjectHeaders to setObjectHeaders, fix writing multiple headers bug
10 years ago
Frederick F. Kautz IV
86b32c2147
Minor change from trace to error log
10 years ago
Frederick F. Kautz IV
d5db891094
Simplfying code in api, round 1. Decoupling functions which both write headers and data.
10 years ago
Frederick F. Kautz IV
b165efdfcb
Refactoring pkg/utils/log, copying from golang's log and modifying
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
58082cd8dc
Add gocyclo into source build, choosing cyclomatic complexity tolerance of 15 and below
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
914962bd93
Implement log package as drop-in replacement for handling Debug log-level
10 years ago
Harshavardhana
2b0b5f014a
Update license header Mini should be Minimalist really
10 years ago
Harshavardhana
6eb5315249
Resource list updates
10 years ago
Harshavardhana
a1baed3bbc
Refactor to move config handling into api/
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
596eeb097e
Move from fmt.Errorf to errors.New
...
In many cases fmt.Errorf is good enough, but since
error is an interface, you can use arbitrary data
structures as error values, to allow callers to
inspect the details of the error.
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
a24bfb007d
Rename dateFormat with understandable name ``iso8601Format``
10 years ago
Harshavardhana
01e98eb326
Make BucketPolicy strictly typed
10 years ago
Harshavardhana
ba85ed7566
Revert "RFC1123 is wrong protocol format for AWS"
...
This reverts commit c7b1f8ded8
.
10 years ago
Harshavardhana
c7b1f8ded8
RFC1123 is wrong protocol format for AWS
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
66e31445ff
Golint cleanup pkg/utils/crypto/keys
10 years ago
Harshavardhana
b33e2d2f9b
Golint cleanup pkg/utils/config
10 years ago
Frederick F. Kautz IV
6ec7894312
Removing innerxml
10 years ago