lib/wire/commands/up_command_handler.rb
def handle_appgroup(zone_name, appgroup_name, appgroup_entry, target_dir)
      # get path
      controller_entry = appgroup_entry[:controller]

      if controller_entry[:type] == 'fig'
        return handle_appgroup__fig(zone_name, appgroup_name, appgroup_entry, target_dir)
      end

      $log.error "Appgroup not handled, unknown controller type #{controller_entry[:type]}"
      false
    rescue => e
      $log.error "processing appgroup: #{e}"
    end
# take the appgroups' controller and directs methods to
# it. First checks if appgroup is up. If so, ok. If not, bring it up
# and ensure that it's up
# Params:
# +zone_name+:: Name of zone
# +appgroup_name+:: Name of Appgroup
# +appgroup_entry+:: Appgroup data from model
take the appgroups' controller and directs methods to
it. First checks if appgroup is up. If so, ok.
take the appgroups ' controller and directs methods to it . First checks if appgroup is up . If so ok .
def handle_appgroup(zone_name, appgroup_name, appgroup_entry, target_dir)
      controller_entry = appgroup_entry[:controller]
      if controller_entry[:type] == 'fig'
        return handle_appgroup__fig(zone_name, appgroup_name, appgroup_entry, target_dir)
      end
      $log.error "Appgroup not handled, unknown controller type #{controller_entry[:type]}"
      false
    rescue => e
      $log.error "processing appgroup: #{e}"
    end
def handle_appgroup ( zone_name , appgroup_name , appgroup_entry , target_dir ) controller_entry = appgroup_entry [ :controller ] if controller_entry [ :type ] == 'fig' return handle_appgroup__fig ( zone_name , appgroup_name , appgroup_entry , target_dir ) end $log . error "Appgroup not handled, unknown controller type #{controller_entry[:type]}" false rescue => e $log . error "processing appgroup: #{e}" end
take the appgroups' controller and directs methods to
it.
take the appgroups ' controller and directs methods to it .
# get path
zone_name
appgroup_name
appgroup_entry
target_dir