Sha256: e6a15fda37fdc87a0dc2d7600d390cfa65e62e438b4ee91582b8201c7e65fc10

Contents?: true

Size: 1.5 KB

Versions: 6

Compression:

Stored size: 1.5 KB

Contents

<h1>List of worlds</h1>

<ul>
  <li><a href="<%= url("/worlds/check") %>" class="postlink">check status</a>: see potentially invalid worlds</li>
  <li><a href="<%= url("/worlds/check?invalidate=true") %>" class="postlink">check and invalidate</a>: invalidate the worlds that don't respond</li>
  <li><a href="<%= url("/worlds/execution_status") %>" class="postlink">load execution items counts</a>: see counts of execution items per world</li>
</ul>

<h3>Executors</h3>
<% @executors.each do |world| %>
  <%= value_field('Id', world.id) %>
  <%= value_field('Metadata', world.meta) %>
  <p>
    <b>Status:</b>
    <%= erb :world_validation_result, locals: { world: world } %>
  </p>
  <% if world.data[:status] %>
    <table class="table">
      <thead>
        <tr>
          <th>Queue name</th>
          <th>Queue size</th>
          <th>Free/Total workers</th>
        </tr>
      </thead>
    <% world.data[:status].each do |queue_name, info| %>
      <tr>
        <td><%= h(queue_name) %></td>
        <td><%= h(info[:queue_size]) %></td>
        <td><%= h(info[:free_workers]) %>/<%= h(info[:pool_size]) %></td>
      </tr>
    <% end %>
    </table>
  <% end %>
<% end %>
<h3>Clients</h3>
<table class="table">
  <thead>
    <tr>
      <th>Id</th>
      <th>Meta</th>
      <th></th>
    </tr>
  </thead>
<% @clients.each do |world| %>
  <tr>
    <td><%= h(world.id) %></td>
    <td><%= h(world.meta) %></td>
    <td>
      <%= erb :world_validation_result, locals: { world: world } %>
    </td>
  </tr>
<% end %>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dynflow-1.0.5 web/views/worlds.erb
dynflow-1.0.4 web/views/worlds.erb
dynflow-1.0.3 web/views/worlds.erb
dynflow-1.0.2 web/views/worlds.erb
dynflow-1.0.1 web/views/worlds.erb
dynflow-1.0.0 web/views/worlds.erb