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

10 commits

Author SHA1 Message Date
Paul Thornthwaite
b346308613 [Brightbox] Adds reset FTP for scoped accounts
This deprecates the old form of #reset_ftp_password_account without an
argument and alows passing of an identifier.
2012-11-20 09:59:49 +00:00
Paul Thornthwaite
1272fc1b1b [Brightbox] Deprecates old account update request
This moves #update_account in line with the other update requests since
we are moving towards management of multiple accounts.
2012-11-02 19:20:59 +00:00
Paul Thornthwaite
fb13fd981d [Brightbox] Deprecates overloaded requests
Fog::Compute::Brightbox::Real#get_user and #get_account were overloaded
to return the currently authenticated user or the scoped account
respectively if no identifier was passed.

This is strictly wrong because the requests should map to one API
endpoint but these now switch between two.

Behaviour is deprecated and will be removed at a suitable point in the
future.
2012-11-02 18:55:33 +00:00
Steve Smith
da46fd27f6 [Brightbox] Allow users to lists all accounts associated with the current credentials 2012-11-01 17:49:53 +00:00
Paul Thornthwaite
f8c4900f92 [Brightbox] Update format test to not fail on new attributes in JSON 2012-02-06 17:25:08 +00:00
Paul Thornthwaite
e418c6540e [brightbox] Revised tests structure 2011-11-17 16:41:29 +00:00
geemus
fcc5a1c224 [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
geemus
ed153088d0 [compute] consolidate testing 2011-01-03 13:34:08 -08:00
geemus
6ebae7d4da [brightbox] mark unmocked tests pending 2010-12-17 16:49:22 -08:00
Paul Thornthwaite
c63fc6cb4e [brightbox] Tests for remaining API requests
* Request tests for accounts, api_clients, cloud_ips, images, interfaces, server types, user and zones
* Added 'ready?' methods to CloudIp and Image models
* Reworked brightbox helper to include Format patterns for all of the
* Added "hack" to allow select objects to be one class OR NilClass for fields that may be a JSON string or null if unset
* Some tests are not enabled (commented out) because they need manual steps (such as uploading Image to your account before registration)
2010-12-09 10:45:24 -08:00