Automations

<% require "toaster/model/automation" require "toaster/markup/markup_util" autos = [] auto = nil message = nil autos = Toaster::Automation.find() auto = cur_auto() if auto && param('saveIgnored') != "" auto.ignore_properties = param('ignoredProps').split(/\s*\n\s*/) auto.save message = "Successfully saved ignore properties for automation." end if auto && param('saveAddit') != "" auto.additional_state_configs = MarkupUtil.parse_json(param('additProps')) auto.save message = "Successfully saved additional state change properties for automation." end %>
<% if message %>
<%= message %>
<% end %> <% autos.each_with_index { |row,id| t = Time.now.to_i active = row.id.to_s == param('auto') param_auto = active ? "" : row.id param_hash = {"auto" => param_auto, "run" => "", "task" => "", "exe" => ""} num_runs = row.get_num_runs globally_executed_tasks = row.get_globally_executed_tasks %> > <% } %>
#UUIDNameTypeVisibilityTasks AttributesRunsActions
<%= id+1 %> <%= row.uuid %> <%= row.name %> <%= row.language %> <%= row.visibility %> <%= globally_executed_tasks.size %> <%= row.automation_attributes.size %> <%= num_runs %> details runs tasks graph <%= link_to 'delete', "/scripts/#{row.id}", :data => { :confirm => 'Are you sure you want to delete the entire automation, including all test suites and executions?' }, :method => :delete %> <%= link_to 'edit', "/scripts/#{row.id}", :method => :get %>
<% if auto %>

Details of Automation '<%= auto.name %>'

Automation Attributes

<% id = 0 auto.get_flat_attributes().each { |name,val| seen_values = auto.get_seen_attribute_values() %> <% } %>
#ParameterDefault ValueUsed Values
<%= id=id+1 %> <%= name %> <%= val %> <% if seen_values[name] seen_values[name].each do |seen_val| %> <%= seen_val %> <% end end %>
<% end %>

Actions

Create new automation

Import from Chef script