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
e78d09693c [Brightbox] Destroy snapshot after completion
This works around an issue where you can not detect if a Cloud SQL
Instance is being snapshotted.

A new API restriction is that you can no longer delete an instance that
is being snapshotted so this suddenly began failing.

Now we look for a new snapshot and poll until it is ready only then can
we safely issue the destroy command.
2014-02-18 12:18:39 +00:00
Paul Thornthwaite
6e28c357d2 [Brightbox] Add support for Cloud SQL service
This adds support for Brightbox's Cloud SQL DBaaS.

It is currently still part of the Compute service so all resources can
be managed from one connection to the service.
2014-01-29 11:35:36 +00:00
Paul Thornthwaite
3d0c439cb2 [Brightbox] Add CloudIp#destination_id
Abstraction over the number of possible mapped targets to consistently
access the identifier.
2014-01-28 16:04:15 +00:00
Paul Thornthwaite
b5ff3eaeb1 [Brightbox] Clean up Cloud IP mapping code
When passing an object that responds to `identity` which is all of our
resources, we can pass the resource's identifier in to the API call to
make it easier to use without maintaining a list of classes.

Server's need to use the interface for the destination so they override
a new `mapping_identity` method which is picked up first.

Anything else (such as a String identifier) is passed directly to the
API request as before.
2013-11-27 15:53:03 +00:00
Paul Thornthwaite
aa66911a4b [Brightbox] Adds #dns_name to server
Little known fact is that the public version of the domain name of a
Brightbox cloud server is the `fqdn` prefixed with public.

This is now fixed here until it is fixed in the main API and the value
can be referenced directly from the response.
2012-12-24 03:57:28 +00:00
Paul Thornthwaite
bcfb5fe1df [Brightbox] Guards against unimplemented mock
It didn't fail the CI run but a Fog::Errors::MockNotImplemented error
was raised due to a request being unguarded when testing with mocks.
2012-12-05 17:53:49 +00:00
Paul Thornthwaite
4b79b6ba04 [Brightbox] Fixes Account#reset_ftp_password
Tests that Account#reset_ftp_password is working (had an issue
previously) and now merges the results in making the password value
available on the model whilst it exists.
2012-11-20 11:28:14 +00:00
geemus
ed153088d0 [compute] consolidate testing 2011-01-03 13:34:08 -08:00
Paul Thornthwaite
df9d093df7 [brightbox] DRY up the Image used for testing 2010-12-03 14:24:23 +00:00
Paul Thornthwaite
2468c43df8 [brightbox] Added Server request tests 2010-12-03 14:24:14 +00:00
geemus
26c1e239d5 [brightbox] moving specs to tests 2010-11-16 13:24:43 -08:00