Class: StackMate::NoOpResource

Inherits:
Ruote::Participant
  • Object
show all
Includes:
Logging
Defined in:
lib/stackmate/participants/common.rb

Instance Method Summary collapse

Methods included from Logging

configure_logger_for, #logger, logger_for

Instance Method Details

#on_workitemObject



62
63
64
65
66
67
68
69
# File 'lib/stackmate/participants/common.rb', line 62

def on_workitem
  logger.debug "Entering #{participant_name} wfid=#{workitem.fei.wfid} fei=#{workitem.fei.to_h}"
  workitem[participant_name] = {}
  stackname = workitem.fields['ResolvedNames']['AWS::StackName']
  logger.debug "physical id is  #{stackname}-#{participant_name} "
  workitem[participant_name][:physical_id] =  stackname + '-' + participant_name
  reply
end