armada/armada
Felipe Monteiro 8927c12f21 Merge disparate base exception classes/logic together
This patch set consolidates two distinct/disparate base exception
classes together. Currently, Armada has base exceptions in
armada/errors.py and armada/exceptions/base_exceptions.py --
the former of which is a port from Shipyard and the latter of
which is "old-school" Armada code.

The problem is that the two implementations are completely
separate and different. Not only that, but Armada doesn't even
appear to be using armada.errors which it should be as it implements
the canonical UCP standard around error handling.

So this patch set merges the two implementations together. Note,
however, that Armada still doesn't use the same base exception
for all its exceptions which is not ideal because -- again --
Armada should be making use of the UCP error handling logic. This
is seen in the inheritance differentiation between `ArmadaBaseException`
which inherits from Exception and `ArmadaAPIException` which inherits
from `falcon.HTTPError`.

More work is needed to ensure that each exception actually has
an appropriate status code and that said status code is getting
bubbled up to the end user/client/other server as appropriate.

Change-Id: I7cf22fcbba4164f11fb01d9445ac575a14a5c3ab
2018-10-13 19:06:45 -04:00
..
api fix: Fix controller enforcing a nonexistent policy 2018-10-12 18:07:12 +01:00
cli Add chart API to wait on k8s resource types/labels 2018-10-05 16:48:32 -05:00
common Fix: various documentation and URL fixes 2018-09-24 12:53:27 +02:00
conf Parallelize unsequenced chart group deployments 2018-10-03 10:27:49 -05:00
exceptions Merge disparate base exception classes/logic together 2018-10-13 19:06:45 -04:00
handlers Add chart API to wait on k8s resource types/labels 2018-10-05 16:48:32 -05:00
schemas Add chart API to wait on k8s resource types/labels 2018-10-05 16:48:32 -05:00
tests fix: Fix controller enforcing a nonexistent policy 2018-10-12 18:07:12 +01:00
utils Merge "Fix: various documentation and URL fixes" 2018-09-24 14:13:15 +00:00
__init__.py fix(init): remove duplicated version code 2018-05-28 05:52:58 -05:00
const.py Changing default timeout from 3600 to 900 seconds, when timeout is unspecified. 2018-07-02 13:27:18 -05:00
shell.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
version.py Fix(linting): Make Armada pep8 compliant 2017-09-29 11:46:58 -04:00