]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat API : Return auth errors in AWS format
authorSteven Hardy <shardy@redhat.com>
Thu, 5 Jul 2012 20:53:36 +0000 (21:53 +0100)
committerSteven Hardy <shardy@redhat.com>
Fri, 6 Jul 2012 13:41:58 +0000 (14:41 +0100)
commit00cb384e8e65e7b046cbf35e103001350160ba1f
tree1cec591b17e507ebb5a49f97027d25648ed427ff
parent637875f729538ac5cf294ce20fd37babd84587ff
heat API : Return auth errors in AWS format

Update EC2 authentication code to return HeatAPIException
subclasses, so the API error response on auth failure is
aligned with AWS responses.
ref #125

Change-Id: Iafa33e7aed4d77f2255b4d879192b9d15a2395aa
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/api/v1/__init__.py
heat/api/v1/exception.py
heat/common/wsgi.py