Merge "Remove duplicate code of software deployment resource"

This commit is contained in:
Jenkins 2016-06-24 11:31:55 +00:00 committed by Gerrit Code Review
commit 0301b2e41a
1 changed files with 0 additions and 20 deletions

View File

@ -192,26 +192,6 @@ class SoftwareDeployment(signal_responder.SignalResponder):
# dedicated API for changing state on signals
signal_needs_metadata_updates = False
def _signal_transport_cfn(self):
return self.properties[
self.SIGNAL_TRANSPORT] == self.CFN_SIGNAL
def _signal_transport_heat(self):
return self.properties[
self.SIGNAL_TRANSPORT] == self.HEAT_SIGNAL
def _signal_transport_none(self):
return self.properties[
self.SIGNAL_TRANSPORT] == self.NO_SIGNAL
def _signal_transport_temp_url(self):
return self.properties[
self.SIGNAL_TRANSPORT] == self.TEMP_URL_SIGNAL
def _signal_transport_zaqar(self):
return self.properties.get(
self.SIGNAL_TRANSPORT) == self.ZAQAR_SIGNAL
def _build_properties(self, config_id, action):
props = {
'config_id': config_id,