Skip to content

Conversation

@TimSimpsonR
Copy link
Collaborator

  • 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.

@rnirmal
Copy link
Collaborator

rnirmal commented May 2, 2012

hmm we might want to push back or find out why that change happened in nova-client...btw +1 on this.

@cp16net
Copy link

cp16net commented May 2, 2012

I agree with @rnirmal we need to find out why they thought that was a good idea.
+1 :godmode:

@TimSimpsonR
Copy link
Collaborator Author

Quick note: I changed this a bit after I realized my fix broke the Exception types inherited from the Nova client. The tests run clean green in fake mode now.

@cp16net and @rnirmal Their change makes sense, they wanted to be sure codes from 400 up which were not explicitly handled by a custom exception type (such as 422, in their case) would get some kind of default exception. Maybe we could see about merging our UnprocessableEntity exception into the Nova client code base.

@ed-
Copy link

ed- commented May 2, 2012

Yes. Yes, do this.
+1

* 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.
hub-cap added a commit that referenced this pull request May 2, 2012
Changing Reddwarf client to use its own request function.
@hub-cap hub-cap merged commit 9fa1947 into hub-cap:master May 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants