Implement all_dep_attrs() more efficiently for get_attr
Override the default implementation of all_dep_attrs() (which calls
dep_attrs() in a loop). This makes all_dep_attrs() for GetAtt and its
arguments as efficient as dep_attrs(), even if we only need the data for a
single resource (as in convergence after we update a resource).
Reviewed: https:/ /review. openstack. org/477047 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=ee5dc7c120d 793b66163815961 b6a74b20cb8c5a
Committed: https:/
Submitter: Jenkins
Branch: master
commit ee5dc7c120d793b 66163815961b6a7 4b20cb8c5a
Author: Zane Bitter <email address hidden>
Date: Mon Jul 10 13:48:01 2017 -0400
Implement all_dep_attrs() more efficiently for get_attr
Override the default implementation of all_dep_attrs() (which calls
dep_attrs() in a loop). This makes all_dep_attrs() for GetAtt and its
arguments as efficient as dep_attrs(), even if we only need the data for a
single resource (as in convergence after we update a resource).
Change-Id: Ia6a4d132e655ef 24fb158959d0596 7d7f1c7fef8
Related-Bug: #1684272