Conversation
Squashed from fog/joyent
|
+1 |
|
Awesome, I'm hoping to find time to review/merge sometime this week. |
|
@kevinykchan Looks great, a few questions though:
|
|
To sign up for a Joyent account: https://my.joyentcloud.com The credentials are prefixed with cloudapi because this provider is 100% compatible with deployments of our SmartDataCebter product in which cloudapi is a component of. But you are right, prefixing it with joyent would be more consistent. I'll fix it asap. And sure, I'll join the team to maintain this going forward. Thanks! |
|
@kevinykchan Thanks for the info. I can see why cloudapi would also make sense, but I think joyent is probably the better prefix consistency-wise, so thanks for cleaning that up. Will work on getting this merged now. |
|
@kevinykchan I did a little cleanup, but I'm having trouble with the tests. Seems that they aren't really setup to work in non-mock mode (and when I started fixing them up to work in real they started breaking in mock). You can see my initial changes here: |
This reverts commit 6e93321. The reason for reverting this is Joyent's CloudAPI allows authenticating using either a username/password credential pair OR using a username and SSH private key. In http-signature authentication scheme, no password is used.
- Clean ups and fixes
|
I've push the fixes to the issues above to https://github.com/kevinykchan/fog/tree/joyent Test output: Please let me know if you run into more issues. I have plans to continue adding more tests in the future. |
|
@kevinykchan thanks for continuing to help out on this. I'm still getting one failure though, from non-mocked get_machines. Here is what I'm seeing: Any thoughts? |
|
Ah it looks like its because you don't have any machines, I will adjust the test to check the length of the resultant. |
|
looking forward to be able to use this :) |
|
Merged, thanks! |
|
Pro! New era has begun. |
This implements GH-690 Joyent CloudAPI provider support
API Documentation: https://us-west-1.api.joyentcloud.com/docs
Methods implemented (everything in the docs except those under Analytics and Datacenters)
Models provided (and their corresponding vocabulary in CloudAPI terms):