11 Commits

Author SHA1 Message Date
Tim Simpson
f82a580053 Merge pull request #21 from TimSimpsonR/fake_mode
Changed client to allow custom Authenticator classes.
2012-07-16 13:05:21 -07:00
Tim Simpson
3d7037e231 Changed client to allow custom Authenticator classes.
* This allows a user to specify a custom strategy. The motivation is to locally run fake mode without having to fake keystone.
* Updated the setup.py with the project's requirements (swiped from Nova Client's).
2012-07-12 13:47:59 -05:00
Tim Simpson
d202079a8b Added a "pretty_print" option which makes captured output look even better.
* Shows a possibly usable curl statement which includes the request body.
* Also prints the request and response body as well formated, easy to read JSON.
* Specify RDC_PP while running tests to see the http communication in this format in any logged test failures.
2012-07-10 11:08:17 -05:00
Nirmal Ranganathan
199ded7eb5 Moving away from novaclient and adding all the missing pieces into reddwarfclient.
- Added parameters for the authentication instead of the arguments.
- Cleaned out the HttpClient and Authentication pieces.
2012-07-06 15:02:06 -05:00
Nirmal Ranganathan
290d515c76 Adding rax auth 2012-06-18 13:43:54 -05:00
Ed Cranford
389bdf81aa Adds pagination limit and marker to instances, databases, and users indices. 2012-06-01 14:28:00 -05:00
Tim Simpson
bbda631e8a Saving the last response. 2012-05-18 14:59:23 -05:00
Tim Simpson
68d036debc Fixed error where self was passed unnecessarily to super class __init__, messing up other arguments. 2012-05-17 12:52:20 -05:00
Tim Simpson
f1bafd3d3c Added the ability to handle "basic auth" authentication. 2012-05-15 08:28:18 -05:00
Ed Cranford
ecdb185461 root_enabled_history shortened to root_history. 2012-05-10 11:49:26 -05:00
Tim Simpson
b1eeaa4b95 Changing Reddwarf client to use its own request function.
* Nova client changed in a way that broke our client, so copying the code from there is necessary.
* Adding InstanceStatus class with the status strings.
* Moved the Dbaas and ReddwarfHTTPClient into their own module.
* Changed exceptions module to check Nova's exception map after first looking in Reddwarf's.
2012-05-02 13:26:04 -05:00