1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Paul Thornthwaite
a72433d2f8 Remove duplicate requires from services
Following work on reorganising the requires, there was an inconsistent
approach to where service wrappers are required. (Fog::Compute...)

Since they should be standardised and shared across providers (although
they really aren't yet) they have been moved to `fog-core` gem.

Each provider has their own `lib/fog/{provider}/core` files that is
required by each of their services. These files should all require
`fog/core` which already required most or these.

So this removes the extra cases to concentrate them in core.
2014-02-13 17:44:48 +00:00
Lance Ivy
1cdd969a34 create core for each provider. keep load hook for provider. 2014-02-01 21:13:17 -05:00
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