]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : implement metadata_update per-resource
authorSteven Hardy <shardy@redhat.com>
Fri, 11 Jan 2013 11:08:34 +0000 (11:08 +0000)
committerSteven Hardy <shardy@redhat.com>
Mon, 14 Jan 2013 17:24:29 +0000 (17:24 +0000)
commit25f20dc848bbf9b1508039a48bebddcf62696512
treeec6d9c5d5674923053e859fc44800c44f55186b6
parent41a1c8d05f9c8a801a41002f4d8bb2b8670b12f7
heat engine : implement metadata_update per-resource

Abstract updates to resource metadata so they are implemented per-resource,
with a generic implementation which is a no-op, since currently the only
resource which needs metadata update via the RPC API is WaitConditionHandle.
This allows resource-specific metadata validation and update logic to be more
easily added.

ref bug 1097813

Change-Id: I094e74b6cd8cb2436f05beed9629fc3c3a34e622
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/resource.py
heat/engine/resources/wait_condition.py
heat/engine/service.py
heat/tests/test_engine_service.py
heat/tests/test_waitcondition.py