]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Allow Status(Reason) access through Stack/Resource objects
authorZane Bitter <zbitter@redhat.com>
Fri, 6 Jul 2012 15:03:17 +0000 (17:03 +0200)
committerZane Bitter <zbitter@redhat.com>
Fri, 6 Jul 2012 15:04:35 +0000 (17:04 +0200)
commit84841e53fd2db6cc72dbeaec8d3bf1d4d8145552
tree3c4bf1ee45a9342bb7a896daab2e56313fbf97be
parent179bd1154f7a95b668987aac143232f04f4723eb
Allow Status(Reason) access through Stack/Resource objects

It would be better not to have to go looking in the database for this
information, so cache it in the Stack/Resource objects themselves.

Change-Id: Id96fbd229898fecc8917a61f19480f70fc2135d9
Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat/engine/parser.py
heat/engine/resources.py
heat/tests/test_parser.py
heat/tests/test_resource.py [new file with mode: 0644]