Anand Babu (AB) Periasamy
cdf93e534c
simplify probe APIs
9 years ago
Harshavardhana
61175ef091
Migrate to govendor to avoid limitations of godep
...
- over the course of a project history every maintainer needs to update
its dependency packages, the problem essentially with godep is manipulating
GOPATH - this manipulation leads to static objects created at different locations
which end up conflicting with the overall functionality of golang.
This also leads to broken builds. There is no easier way out of this other than
asking developers to do 'godep restore' all the time. Which perhaps as a practice
doesn't sound like a clean solution. On the other hand 'godep restore' has its own
set of problems.
- govendor is a right tool but a stop gap tool until we wait for golangs official
1.5 version which fixes this vendoring issue once and for all.
- govendor provides consistency in terms of how import paths should be handled unlike
manipulation GOPATH.
This has advantages
- no more compiled objects being referenced in GOPATH and build time GOPATH
manging which leads to conflicts.
- proper import paths referencing the exact package a project is dependent on.
govendor is simple and provides the minimal necessary tooling to achieve this.
For now this is the right solution.
10 years ago
Harshavardhana
45b59b8456
Probe revamped to provide for a new WrappedError struct to wrap probes as error interface
...
This convenience was necessary to be used for golang library functions like io.Copy and io.Pipe
where we shouldn't be writing proxies and alternatives returning *probe.Error
This change also brings more changes across code base for clear separation regarding where an error
interface should be passed encapsulating *probe.Error and where it should be used as is.
10 years ago
Harshavardhana
f8141493bd
use command not found helper
10 years ago
Harshavardhana
d09fd8b0a1
Migrate from iodine to probe
10 years ago
Harshavardhana
d346250f1c
Collapse GetPartialObject() into GetObject()
10 years ago
Harshavardhana
d6a0e0cc55
Rename more
10 years ago
Harshavardhana
63c9cf0c4b
Move from Minimalist Object Storage to Minio Cloud Storage
10 years ago
Harshavardhana
43c908d5b9
ListObjects now considers multipart objects, also move to upstream check.v1
10 years ago
Harshavardhana
c1da10a207
Donut multipart support no get, listobjects() support yet
10 years ago
Harshavardhana
86a887f9d4
Add corresponding tests
10 years ago
Harshavardhana
5eae32f2b0
Return proper InvalidArgument messages like s3 for invalid data for ListObjects(), ListObjectParts(), ListMultipartUploads()
10 years ago
Harshavardhana
e605787e65
Method not allowed is right response for DELETE() operations and add tests
10 years ago
Harshavardhana
1f2e6a40a0
Fix an issue with reusing closed network connetion, changing the way rateLimitedListener is initialized
10 years ago
Harshavardhana
e4574c7d6f
Add File() method to Ratelimitlistener for extracting underlying fd()
10 years ago
Harshavardhana
4498662c16
Remove scsi non portable code, instead "donut make" implements functionality to instantiate a donut
10 years ago
Harshavardhana
efbf3eabb7
Return x-amz-request-id for all replies
10 years ago
Harshavardhana
da8b9fd112
Remove global custom config path variables, use get/set methods instead
10 years ago
Harshavardhana
c4cf7635bf
Read req.Body for PutBucket() if any
10 years ago
Harshavardhana
7ae60a6d10
For missing parts reply back as InvalidPart{}
10 years ago
Harshavardhana
1bad92356d
Add a ratelimited listener than a ratelimited handler - more precise
10 years ago
Harshavardhana
58a1d865a9
Renaming nimble to minhttp
10 years ago
Harshavardhana
847440196e
Add signature v4 tests
10 years ago
Harshavardhana
7615a6bfe5
HEAD shouldn't have any body, handle it in writeErrorResponse()
10 years ago
Harshavardhana
8977f9a524
cached api test should also have a custom config path, would conflict with your .minio local path
10 years ago
Harshavardhana
97d4a27c7e
Do not reply on ignoredHeaders for server, rely on SignedHeaders sent as part of Authorization header
10 years ago
Harshavardhana
7fa514351c
Rename definitions to log.go, add valid prefixes
10 years ago
Harshavardhana
e5006c738d
Handle both space and non-space characters, in signature v4 - add errors for all API's
10 years ago
Harshavardhana
84f427f14a
All other API's now support signature v4
10 years ago
Harshavardhana
00890c254e
CompleteMultipartUpload and CreateObjectPart now fully support signature v4
10 years ago
Harshavardhana
89c1215194
PutObject handler gets initial support for signature v4, working
10 years ago
Harshavardhana
d461fa5ab1
Add mountinfo functions for detecting mount disks, and other rpc changes
10 years ago
Harshavardhana
8654ddb566
Generate auth now saves in ${HOME}/.minio/users.json, also authHandler verifies request validity
10 years ago
Harshavardhana
375860077d
HTTP header Content-Length signifies body length of the request, if its smaller reply appropriately
...
This patch also handles large individual part sizes > 5MB by using less memory copies.
10 years ago
Harshavardhana
ec33d79d57
Add server side signaturev4 check, not wired up to the readers yet.
10 years ago
Harshavardhana
396b728031
Add auth rpc service to generate access keys, add corresponding test
10 years ago
Harshavardhana
770fd23afa
Renaming keys as auth, working towards signature v4 support for all put objects
10 years ago
Harshavardhana
2413a110e6
Fix SSL support, pointer indirection caused nil buffers
10 years ago
Harshavardhana
d1deda3a96
Add API tests for both donut on disk and donut cache
10 years ago
Harshavardhana
ece797c16e
Add rpc tests
10 years ago
Harshavardhana
676b9058de
Separate out memory statistics and system information into two different services
10 years ago
Harshavardhana
a50a44b0ca
Add nimbleNet tests
10 years ago
Harshavardhana
317096a0c4
Add net.Addr wrapper with IsEqual() and use it.
10 years ago
Harshavardhana
3622fbc87d
Across donut, split, nimble some code cleanup
10 years ago
Harshavardhana
c2c7bdf0cd
Cleanup nimble http
10 years ago
Harshavardhana
b029d0a5f0
Avoid config reload all the time, reload is manually triggerred from outside
10 years ago
Harshavardhana
8b94c53345
Fix issues with multipart upload
10 years ago
Harshavardhana
474954022e
Add modified grace library from facebookgo, rename it as nimble
10 years ago
Harshavardhana
1d64e4b6c1
Add Donut rpc service for sending changes to configuration files
10 years ago
Harshavardhana
10b082144e
Add updateConfig code to load config changes if possible for every function
10 years ago