Add PUT Copy operation to CS driver#136
Merged
slfritchie merged 2 commits intomasterfrom Sep 19, 2014
Merged
Conversation
added 2 commits
July 27, 2014 00:03
Before this commit, cs driver uses stanchion's function to calculate S3 signature. Because PUT Copy API uses x-amz-* headers, it become unappropriate. So it is replaced by the function copied from erlcloud and simplified one.
Contributor
|
Oi oi, sorry, Shino, for overlooking this PR! |
slfritchie
added a commit
that referenced
this pull request
Sep 19, 2014
Add PUT Copy operation to CS driver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Riak CS supports PUT Copy API at version 1.5.
This PR adds the API call to CS driver
basho_bench_driver_cs.Completely orthogonal but this PR also includes automatic user/bucket creation.
By configuring Riak CS as
admin_auth_enabled=false,CS driver can run without setting access key and secret key.
It creates an user (if necessary), retrieve the user information and create a bucket (if necessary).
If access key and secret key are set by a config, then the driver runs as before.