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

16 commits

Author SHA1 Message Date
Kyle Rames
c8ac06e980 [rackspace|identity] tweaking service catalog to support ruby 1.8.7 2013-11-04 14:36:29 -06:00
Kyle Rames
4ea81036c4 [rackspace|identity] updated service catalog to return global endpoint if specified region endpoint does not exist 2013-10-28 14:04:34 -05:00
Kyle Rames
e98fb89882 [rackspace|identity] updated service catalog support service net 2013-10-25 12:03:41 -05:00
Kyle Rames
49debe9146 [rackspace|identity] re-implementing service catalog in hopes of providing a faster more flexible solution 2013-10-25 09:32:51 -05:00
Kyle Rames
71f7c13efb [rackspace|identity] added error handling to make service catalog more robust. 2013-08-07 14:23:01 -05:00
Brendan Fosberry
f23706c9d7 Protect against missing fields in rackspace endpoint documents
In a specific case a rackspace api endpoint returned no region key

'{"tenantId"=>"654557", "publicURL"=>"https://backup.api.rackspacecloud.com/v1.0/654557"}'

As a guard against this case, this commit sets the region to be global
should it not be defined in the endpoint hash
2013-08-07 09:16:30 -05:00
Kyle Rames
3b760d6838 [rackspace|identity] fixing broken identity tests 2013-06-20 16:23:19 -05:00
Kyle Rames
b16d925480 [rackspace] made some methods private per @brianhartsock 2013-03-01 16:47:22 -06:00
Kyle Rames
8e3575ea9f [rackspace] updated service_catalog.reload; added rackspace_cdn_url as an option to storage service; tweaked compute_v2 auth 2013-02-21 13:07:29 -06:00
Kyle Rames
65af5b018e [rackspace|compute_v2] updated to support auth 2.0 2013-02-20 15:48:19 -06:00
Kyle Rames
ce140dc4e5 [rackspace|storage] updating to use 2.0 authentication endpoints 2013-02-19 14:43:06 -06:00
Brad Gignac
f9c5773bb6 [rackspace|identity] Correctly populate model from request data.
Previously, the model was being incorrectly loaded from request data. As a
result, the username and apiKey properties were always nil. This fixes parsing
and improves the tests to catch this type of bug in the future.
2013-01-29 17:10:49 -05:00
Paul Thornthwaite
bc26c4e433 [rackspace] Updates reference to service 2013-01-07 21:01:20 +00:00
Paul Thornthwaite
40c0cd7122 Make use of #persisted? method
In many places we were checking for identity which was the shorthand for
checking if the resource had been saved by the service.

The #persisted? method was added to show a clearer intent and also offer
minimal ActiveModel interface
2012-12-23 02:45:05 +00:00
Brian Hartsock
bae7e50765 [rackspace|identity] Handle NotAuthorized respones from the identity API in the user model 2012-06-25 22:56:53 -04:00
Brad Gignac
21c0fd079f [rackspace|identity] Add user model and collection with tests. 2012-06-23 16:40:40 -04:00