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

32 commits

Author SHA1 Message Date
geemus
04062770a4 fix inner/outer variable shadowing
was causing errors in 1.8.7
2013-07-31 09:35:16 -05:00
Trae Robrock
cc483e1bba Remove mock server from servers list on destroy 2013-07-24 07:23:06 -07:00
Trae Robrock
69af9f62e9 Fix digitalocean server test 2013-07-22 08:05:30 -07:00
Trae Robrock
e47f95b5f9 digitalocean supports bootstrap 2013-07-21 11:09:53 -07:00
Trae Robrock
8dee42d23b Whitespace, fix tests for running in non mock mode, and clean up in non mock mode 2013-07-12 07:22:08 -07:00
Trae Robrock
d81d000546 Whitespace 2013-07-11 20:48:11 -07: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
Kyle Rames
18473c1db6 [digitalocean] Check to see if we have a digital ocean api key before attempting to delete servers 2013-04-03 10:47:31 -05:00
Sergio Rubio
7ee38ee2f6 [digitalocean|compute] Improved tests reliability
Better handling of power state related tests
2013-03-31 22:16:13 +02:00
Sergio Rubio
5e9034115b [digitalocean|compute] power_state_tests fixes
Do not wait for the server to be ready before running the tests since
the server may be powered off.
2013-03-31 22:16:13 +02:00
Sergio Rubio
db487f9b32 [digitalocean|compute] added SshKey model, collection and related tests 2013-03-31 22:16:12 +02:00
Sergio Rubio
7cb11d85bf [digitalocean|compute] added create_ssh_key request tests 2013-03-31 22:16:12 +02:00
Sergio Rubio
45ce6d0419 [digitalocean|compute] added get_ssh_key request and tests 2013-03-31 22:16:12 +02:00
Sergio Rubio
9397b368d3 [digitalocean|compute] added destroy_ssh_key request and tests 2013-03-31 22:16:12 +02:00
DoubleMalt
2dbf7eff37 changed status to state for conformity and fixed alias for flavor_id 2013-03-31 22:16:12 +02:00
Sergio Rubio
a7372e0351 [digitalocean|compute] improve power state tests reliability
power on/off actions are asyncronous and somewhat unreliable so waiting
for server state changes to validate tests does not help. Check only if
API returns OK when requesting and trust DigitalOcean is doing its
thing.
2013-03-31 22:16:12 +02:00
Sergio Rubio
a4c7cc460a [digitalocean|compute] power state tests fixes 2013-03-31 22:16:12 +02:00
Sergio Rubio
e99e66cf13 [digitalocean|compute] mark Server.power_cycle test as pending when mocking 2013-03-31 22:16:12 +02:00
Sergio Rubio
e8a3b1b475 [digitalocean|compute] do not run at_exit block when mocking 2013-03-31 22:16:11 +02:00
Sergio Rubio
6e0ece0863 [digitalocean|compute] mark Server.reboot test pending if mocking 2013-03-31 22:16:11 +02:00
Sergio Rubio
fb91eeabab [digitalocean|compute] added list_ssh_keys request tests 2013-03-31 22:16:11 +02:00
Sergio Rubio
e044a30972 [digitalocean|compute] server model test fixes 2013-03-31 22:16:09 +02:00
Sergio Rubio
f13544db08 [digitalocean|compute] list_servers request test fixes 2013-03-31 22:16:09 +02:00
Sergio Rubio
9a09b76159 [digitalocean|compute] string fixes 2013-03-31 22:16:09 +02:00
Sergio Rubio
c1e518c3b5 [digitalocean|compute] implemented missing Server actions
- shutdown
- stop
- start

Added required tests
2013-03-31 22:16:09 +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
f13abac61a [digitalocean|compute] Added Servers collection tests 2013-03-31 22:16:09 +02:00
Sergio Rubio
6fa4feacdc [digitalocean|compute] tests updates 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
7183f1e55c [digitalocean|compute] added test helpers 2013-03-31 22:16:08 +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