]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Make timestamps available in Stack/Resource objects
authorZane Bitter <zbitter@redhat.com>
Fri, 13 Jul 2012 20:46:19 +0000 (16:46 -0400)
committerZane Bitter <zbitter@redhat.com>
Fri, 13 Jul 2012 20:46:19 +0000 (16:46 -0400)
commit07be1d72699d051a58697962fff5c39a11d48544
treec1dbd4157cae6d300608b4fd2c05104be319e9b1
parentb0ec4877992c6660bedadbb53ea1d7c1503bc513
Make timestamps available in Stack/Resource objects

Provide the creation time and last-updated time as attributes of Stack and
Resource objects so that external code does not need to access the database
in order to retrieve them. Use a Descriptor class so that the latest values
are always fetched from the database.

Change-Id: Ic3fa173b1dc8f2e5dc676a9152e8928ed2290913
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