deb-heat/heat/api/middleware
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
..
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 20:29:31 +08:00
fault.py Fix HTTP error codes due to invalid templates 2015-11-20 21:27:13 -05:00
ssl.py Use oslo.middleware SSLMiddleware 2015-09-29 09:36:36 +00:00
version_negotiation.py Fix [H405] pep rule in heat/api 2015-09-24 16:22:25 +03:00