Refactors code in OpenStack plugin 51/6651/4
authorBenjamin Diaz <bdiaz@whitestack.com>
Mon, 8 Oct 2018 18:34:12 +0000 (15:34 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Tue, 16 Oct 2018 19:52:00 +0000 (16:52 -0300)
Continues refactor process on OpenStack metrics plugin.
Delegates exception handling to the main metric handler,
removing exception management from specific function calls.
Extracts response generation code into single method.
Adds 'status' param in message responses where it was missing.
Modifies tests accordingly.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
Change-Id: I6ad27734f37708f5ccbef13e322723225545db4e


No differences found