Skip to content

Add PUT Copy operation to CS driver#136

Merged
slfritchie merged 2 commits intomasterfrom
ss-cs-copy
Sep 19, 2014
Merged

Add PUT Copy operation to CS driver#136
slfritchie merged 2 commits intomasterfrom
ss-cs-copy

Conversation

@shino
Copy link
Copy Markdown
Contributor

@shino shino commented Jul 26, 2014

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.

Shunichi Shinohara 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.
@slfritchie
Copy link
Copy Markdown
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
@slfritchie slfritchie merged commit eb93d63 into master Sep 19, 2014
@shino shino deleted the ss-cs-copy branch October 8, 2014 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants