Convert CFN waitcondition API to resource_signal

Convert the CFN waitcondition API to use the resource_signal API,
which will enable removal of the duplicate metadata_update paths
in the engine.  A side-effect of this is that we're using the
signal interfaces which create more descriptive events when
handling the signals, ref bug #1340894.

Change-Id: I1cf7bac78846a4292822bd26d01a7a148a9a0a0d
Partial-Bug: #1340894
This commit is contained in:
Steven Hardy 2014-07-14 14:28:39 +01:00
parent 848bc37e2a
commit 4655e9f468
1 changed files with 2 additions and 2 deletions

View File

@ -26,11 +26,11 @@ class SignalController(object):
con = req.context
identity = identifier.ResourceIdentifier.from_arn(arn)
try:
md = self.rpc_client.metadata_update(
md = self.rpc_client.resource_signal(
con,
stack_identity=dict(identity.stack()),
resource_name=identity.resource_name,
metadata=body)
details=body)
except Exception as ex:
return exception.map_remote_error(ex)