deb-heat/heat/api
Zane Bitter 517f91ce27 Fix HTTP error codes due to invalid templates
This reverts commit 9a4d719ea1 and creates a
new exception type, InvalidGlobalResource, that is raised when a
non-existent template is referenced in the global environment and which
results in an HTTP 500 error.

This fixes the cases where we could return 404 or 500 errors as a result of
template validation failures, when we should return a 400 error.

Change-Id: I3c7b3182957448bb13514696cc2e12f5aaddd253
Closes-Bug: #1518458
Related-Bug: #1447194
2015-11-20 21:27:13 -05:00
..
aws Use EntityNotFound instead of PhysicalResourceNotFound 2015-11-19 22:58:01 +08:00
cfn Fix [H405] pep rule in heat/api 2015-09-24 16:22:25 +03:00
cloudwatch Fix [H405] pep rule in heat/api 2015-09-24 16:22:25 +03:00
middleware Fix HTTP error codes due to invalid templates 2015-11-20 21:27:13 -05:00
openstack Merge "Encode Location header in utf-8" 2015-10-13 13:05:39 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 20:29:31 +08:00
versions.py Remove identical modules versions.py 2015-06-16 17:00:39 +03:00