Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@phairoh
Copy link
Contributor

@phairoh phairoh commented Mar 7, 2016

This pull requests adds temporary url functionality to openstack storage. It is modeled off of the code written specifically for the rackspace provider as well as the similar implementation from pyrax.

With this update, you can both set and get the temporary url key associated with your account in addition to generating the temporary url itself.

Because the rackspace storage provider uses the openstack provider's storageClient object, it was necessary to add the additional file file account.js along with the corresponding extend in client/index.js.

There were no previous tests written for openstack storage so I have created a few simple ones for this new functionality. Due to my unfamiliarity with hock they may be more verbose than is needed but they do seem to model the functionality as expected. Note: npm test currently fails (as seen in the failed travis builds) due to some issue with blanket. After removing the blanket integration, tests run but there are 14 failing, none of which dealt with openstack storage. Both of these concerns were outside of the scope of this pull request so I did not investigate them too deeply. The newly added tests all complete successfully.

This pull request should close #422 and and possibly #376

@phairoh
Copy link
Contributor Author

phairoh commented Jul 8, 2016

I've rebased my branch to latest upstream master. npm test now passes successfully and travis should as well.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 72.271% when pulling c088b50 on phairoh:openstack_storage_temp_url into 34c797b on pkgcloud:master.

@phairoh
Copy link
Contributor Author

phairoh commented Aug 2, 2016

Can I get any comment on this regarding whether it might get merged in or if it needs additional work?

@phairoh
Copy link
Contributor Author

phairoh commented Apr 26, 2017

@rosskukulinski @vivekzhere @jcrugzz or any maintainer at all.

This PR has been open for more than a year without any comment. The functionality implemented here already exists for rackspace storage with nearly the same code so I can't fathom why this wouldn't be acceptable save for some flaw in my code. My team is still using this version in our application but would prefer to be using pkgcloud proper.

If this project is no longer maintained then please say so so that your users can begin migrating to another solution.

@maxaggedon
Copy link

Any update on this PR ? I'd be happy to use it as part of pkgcloud !

@rosskukulinski rosskukulinski merged commit db6ebdb into pkgcloud:master Dec 7, 2017
@rosskukulinski
Copy link
Contributor

Thanks @phairoh

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.

How to get temporary upload url from openstack ?

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.