90e42b5710
This patch set adds default error handler and serializer to Armada's server.py which mirrors the Shipyard pattern [0]. Exceptions that inherit from ArmadaAPIException and ArmadaBaseException alike will be formatted and serialized via default_exception_handler and default_error_serializer respectively. [0] http://git.openstack.org/cgit/openstack/airship-shipyard/tree/src/bin/shipyard_airflow/shipyard_airflow/control/api.py#n99 Change-Id: I75c5d419221d46eef0fcb9930478349280ac4e41 |
||
---|---|---|
.. | ||
controller | ||
__init__.py | ||
middleware.py | ||
server.py |