heat/heat/api/middleware
Thomas Spatzier 2c942c8833 Check top-level sections when parsing a template
This patch adds validation to template parsing to detect any sections
that do not comply with allowed sections in a template. In the past,
there have been cases where small typos in section names (e.g.
'output' instead of 'outputs') did not get detected and caused issues
at a later point, i.e. by simply not showing any stack outputs.

The place where the template.validate() call has been added to the
parser code only affects new stacks and rejects invalid templates
with an error message. This does not affect stacks that are already
in the database (I did some tests to check this).

Change-Id: Ifed4207badeb364675c905224ba762a9d8eaedd9
Closes-Bug: #1297761
2014-04-09 07:35:37 +12:00
..
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 20:29:31 +08:00
fault.py Check top-level sections when parsing a template 2014-04-09 07:35:37 +12:00
ssl.py Order imports in alphabetical order (2/9) 2014-02-19 11:02:22 +02:00
version_negotiation.py Merge "Order imports in alphabetical order (2/9)" 2014-03-13 19:12:50 +00:00