heat/heat/engine
Zane Bitter 316b80e1d5 Ensure the whole ResourceDefinition is validated
We used to validate intrinsic functions in the ResourceDefinition by just
passing it to function.validate(). That worked when it also acted as a
CloudFormation template snippet but, since that behaviour was removed by
2c6fc7bcd6, that call now does nothing. This
replaces it with a validate() method on the ResourceDefinition itself.

This also improves path reporting for validation errors in deletion or
update policies.

Change-Id: I58c788002136ddf9bded309366e2072823b3ac77
Closes-Bug: #1732798
2017-11-16 18:17:23 -05:00
..
cfn Strip disabled resources from depends_on in add_resource() 2017-07-21 10:55:23 -04:00
clients Move FakeKeystoneClient to engine.clients 2017-10-24 11:45:31 -04:00
constraint New common constraint 'Expiration' 2016-08-01 12:43:42 +03:00
hot Added tags attribute to the template parameter 2017-11-13 15:51:19 +05:30
notification Trivial:Standardize the output format of 'help' in some files 2016-09-21 14:12:27 +08:00
resources Define resource/output definition sections with constants 2017-11-16 15:26:40 -05:00
__init__.py
api.py Added tags attribute to the template parameter 2017-11-13 15:51:19 +05:30
attributes.py Cache attributes with custom handling 2017-06-27 22:08:03 -04:00
check_resource.py Retrigger new traversals after resource cancellation 2017-11-03 09:14:46 +05:30
conditions.py Allows condition name using boolean or function 2016-09-12 21:40:06 -04:00
constraints.py Remove log translations 2017-03-25 17:11:50 +08:00
dependencies.py Don't use Dependencies repr in tests 2017-09-26 16:46:17 -04:00
environment.py Use pydoc for formatting docstrings 2017-03-28 15:36:53 +00:00
event.py Eager load resource_properties_data in resource 2017-07-31 21:13:49 -04:00
function.py Allow paths as lists in function.validate() 2017-11-16 14:18:11 -05:00
lifecycle_plugin.py Fix garbled docstrings 2015-11-10 11:12:36 -05:00
node_data.py Defer exceptions in calculating node_data() 2017-09-22 12:19:13 -04:00
output.py Define resource/output definition sections with constants 2017-11-16 15:26:40 -05:00
parameter_groups.py Get rid of bogus debug logging in parameter groups 2015-12-04 19:56:56 -05:00
parameters.py Added tags attribute to the template parameter 2017-11-13 15:51:19 +05:30
parent_rsrc.py Separate management of parent resource into separate class 2017-02-24 10:19:21 -05:00
plugin_manager.py Remove log translations 2017-03-25 17:11:50 +08:00
properties.py Fix translated required properties 2017-04-26 15:08:34 +02:00
properties_group.py Initial PropertiesGroup implementation 2016-11-07 14:29:17 +03:00
resource.py Ensure the whole ResourceDefinition is validated 2017-11-16 18:17:23 -05:00
rsrc_defn.py Ensure the whole ResourceDefinition is validated 2017-11-16 18:17:23 -05:00
scheduler.py Make scheduler.Timeout exception hashable 2017-10-18 16:46:39 -04:00
service.py Return Environment from validate_template 2017-11-14 17:35:52 +00:00
service_software_config.py Use six.text_type() instead of str() to serialise status 2017-05-22 15:53:39 -04:00
service_stack_watch.py Update StackDefinition resource data on metadata refresh 2017-07-21 10:30:34 -04:00
software_config_io.py Ignore string default for software config input 2017-06-20 16:21:11 +02:00
stack.py Define resource/output definition sections with constants 2017-11-16 15:26:40 -05:00
stack_lock.py Remove log translations 2017-03-25 17:11:50 +08:00
status.py Define resource actions/statuses in a separate class 2017-02-24 10:19:21 -05:00
stk_defn.py Cache dep_attrs for all resources in definitions 2017-07-21 10:44:51 -04:00
support.py Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
sync_point.py Use a namedtuple for convergence graph nodes 2017-09-26 16:46:17 -04:00
template.py Define resource/output definition sections with constants 2017-11-16 15:26:40 -05:00
template_common.py Allows condition name using boolean or function 2016-09-12 21:40:06 -04:00
template_files.py Remove db.api wrapper 2016-12-13 09:40:29 +01:00
timestamp.py Fix garbled docstrings 2015-11-10 11:12:36 -05:00
translation.py Remove unnecessary old translation mechanism 2017-04-12 12:02:54 +00:00
update.py Add converge flag in stack update for observing on reality 2017-08-07 05:39:29 +00:00
watchrule.py Use argument default None for 'last_evaluated' 2017-10-26 11:38:33 +05:30
worker.py Use a namedtuple for convergence graph nodes 2017-09-26 16:46:17 -04:00