Trae Robrock
dc6e78d6bd
Cleanup and refactor digitalocean integration
...
* Handle case where droplet is locked pending events, DO support says
they are planning to expose something in the api to show these events.
Until then this is the best we have.
* Whitespace cleanup
* Refactor test helpers
* Use the collection helper for the digitalocean servers collection
2013-07-10 17:41:12 -07:00
Sergio Rubio
e83fefd5c0
[digitalocean|compute] include response body in exception when request fails
2013-03-31 22:16:13 +02:00
Sergio Rubio
7cc9fdef3f
[digitalocean|compute] added ssh related requests, model and collection
...
Added new requests and model/collection to the compute service
- get_ssh_key
- destroy_ssh_key
- ssh key model/collection
2013-03-31 22:16:12 +02:00
Sergio Rubio
81e2c46ed4
[digitalocean|compute] initialize compute service mock data
2013-03-31 22:16:10 +02:00
Sergio Rubio
ab04e13314
[digitalocean|compute] added some more request
...
- create_ssh_key
- list_ssh_keys
2013-03-31 22:16:10 +02:00
Sergio Rubio
f83b4885e9
[digitalocean|compute] Implement missing requests
...
- power_off_server
- power_on_server
- shutdown_server
Added required tests
2013-03-31 22:16:09 +02:00
Sergio Rubio
21b28ee589
[digitalocean|compute] Implement Server.power_cycle
...
- Added power_cycle_server request
- Added required tests
2013-03-31 22:16:09 +02:00
Sergio Rubio
06467aeec7
[digitalocean|compute] Implemented Server.reboot
...
- Added reboot_server request
- Added required tests
2013-03-31 22:16:09 +02:00
Sergio Rubio
f11926a5a2
[digitalocean|compute] initial release
...
DigitalOcean Compute Service Provider.
See https://www.digitalocean.com/api
2013-03-31 22:16:08 +02:00