]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Move abstract nested stack class to separate file
authorZane Bitter <zbitter@redhat.com>
Tue, 15 Jan 2013 12:42:56 +0000 (13:42 +0100)
committerGerrit Code Review <review@openstack.org>
Thu, 17 Jan 2013 10:15:13 +0000 (10:15 +0000)
commit9cc80fc737f01a61e3d1553b145ab6a432f36b54
treedf7881b2db66f728018ca4adf59e3d3e81a66350
parentaa871513c46a2ff5f19fbf51f93b0ee9e88e2681
Move abstract nested stack class to separate file

The class heat.engine.resources.stack.Stack is intended to be an abstract
class which resources that are implemented as nested stacks may inherit
from. Rename it to StackResource and move it to the
heat.engine.stack_resource module, so that other resource modules
(including plugins) may include it without having to also import the
NestedStack class (which implements the AWS::CloudFormation::Stack resource
type).

Change-Id: Ie7c05ec64e1c9632c7a24d96b5d790c9e50b691f
Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat/engine/resources/stack.py
heat/engine/stack_resource.py [new file with mode: 0644]
heat/tests/test_dbinstance.py