Skip to content

Conversation

@ahadik
Copy link

@ahadik ahadik commented Jun 2, 2016

Bluemix uses Swift API V2 for and SoftLayer uses V1. Luckily, pkgcloud, the dependency that's doing the heavy lifting for authentication has support for V1 and V2. However, some modification need to be made to Skipper-Openstack so that an app can indicate that a set of credentials are formatted for V1 or V2. This PR adds that functionality by expecting an integer as an argument along with credentials.

To demonstrate the functionality of this new capability, I have forked and created two copies of the node-file-upload-swift app, one that uses my new version of Skipper-Openstack to authenticate with Bluemix Object Storage node-file-upload-swift and one that that uses this new version of Skipper-Openstack to authenticate with SoftLayer Object Storage node-file-upload-swift-softlayer.

I will shortly be submitting the Bluemix version of this app as a PR to the original node app from a branch of the SoftLayer app fork.

SoftLayer Object Storage still uses the OpenStack API V1, so we need to indicate in the call to pkgcloud.

API Version now passed as a parameter and API specific client info generated as a result

Credential key type for V2 fixed

Reverting back to custom pkgcloud dependency
@jsloyer
Copy link
Contributor

jsloyer commented Jun 28, 2016

@ahadik please see my comments in IBM-Cloud/node-file-upload-swift#16

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