heat/heat/engine/resources
Zane Bitter 4a3a1ad15b Fix attribute caching in Heat AutoScalingGroup
Attributes for an individual resource in an OS::Heat::AutoScalingGroup can
be retrieved using the attribute name 'resource.<index>'. Because we were
treating the index as a resource name when generating the template, we
would never generate an output in the nested template that referenced the
resource's attribute, so it wouldn't get cached. Since we can't know the
indices ahead of time, the only way to cache these is to do it for all
resources in the group - which is the same data cached by the equivalent
'outputs' attribute.

We also need to take into account both possible forms of syntax:

    [<asg_name>, resource.<index>.<attr_name>, ...]

or:

    [<asg_name>, resource.<index>, <attr_name>, ...]

Change-Id: I1d2898cdd4759b1bb9de1896a40056685e728f44
Closes-Bug: #1737047
Partial-Bug: #1731349
Related-Bug: #1660831
2018-01-19 15:08:10 -05:00
..
aws Merge "Refactor CooldownMixin" 2018-01-12 21:19:24 +00:00
openstack Fix attribute caching in Heat AutoScalingGroup 2018-01-19 15:08:10 -05:00
__init__.py Log missing clients as WARNING instead of ERROR 2016-08-16 16:27:55 -05:00
alarm_base.py Update incorrect timezone description 2017-09-19 13:46:32 +08:00
scheduler_hints.py Fix path_in_stack for scheduler hints 2016-08-05 10:21:10 +00:00
server_base.py Merge "Mark Server os_collect_config attribute as CACHE_NONE" 2017-06-27 16:51:35 +00:00
signal_responder.py Allow for keeping prefix in heat_url 2017-06-07 20:09:39 +05:30
stack_resource.py Avoid always loading nested stack on update 2018-01-08 18:19:10 -05:00
stack_user.py Remove log translations 2017-03-25 17:11:50 +08:00
template_resource.py Cache the TemplateResource reference ID like an attribute 2018-01-11 22:14:20 -05:00
volume_base.py Merge "Deal with cinder-backup service absent" 2016-08-18 17:32:03 +00:00
wait_condition.py Remove log translations 2017-03-25 17:11:50 +08:00