deb-heat/heat
Thomas Spatzier 048bc1958c 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-03-31 19:34:29 +02:00
..
api Check top-level sections when parsing a template 2014-03-31 19:34:29 +02:00
cloudinit Don't create cloud-init user unless specified 2014-03-25 05:01:11 -04:00
cmd Remove vim header from files. 2014-03-04 08:51:56 -06:00
common Check top-level sections when parsing a template 2014-03-31 19:34:29 +02:00
db version migration fails if version is an integer 2014-03-29 10:46:43 -07:00
doc Move resource doc generation to doc/source/ext 2013-11-13 15:21:04 +13:00
engine Check top-level sections when parsing a template 2014-03-31 19:34:29 +02:00
locale Imported Translations from Transifex 2014-03-28 06:09:44 +00:00
openstack Update Oslo wiki link in README 2014-02-28 20:19:52 +08:00
rpc Store stack domain credentials for deployments 2014-03-25 09:08:43 +13:00
scaling Move resource_templates to heat.scaling 2014-02-06 22:53:28 +00:00
tests Check top-level sections when parsing a template 2014-03-31 19:34:29 +02:00
__init__.py Remove vim header from files. 2014-03-04 08:51:56 -06:00
version.py Remove vim header from files. 2014-03-04 08:51:56 -06:00