Sha256: 78700cabe893c04e88b087f3cf86b5391cadfe305c2aec01846819b06966f127

Contents?: true

Size: 1.65 KB

Versions: 12

Compression:

Stored size: 1.65 KB

Contents

Naf::Engine.routes.draw do
  resources :historical_jobs, except: [:edit] do
    resources :historical_job_affinity_tabs, except: [:destroy]
  end

  resources :applications, except: [:destroy]
  resources :application_schedules do
    resources :application_schedule_affinity_tabs
  end

  resources :machines, except: [:destroy] do
    resources :machine_affinity_slots
    collection do
      get :last_checked_schedule_at
    end
  end

  resources :machine_runners, only: [:index, :show] do
    collection do
      get :runner_count
    end
  end
  resources :machine_runner_invocations, only: [:index, :show, :update] do
    collection do
      get :wind_down_all
    end
  end
  resources :logger_styles
  resources :logger_names
  resources :affinities
  resources :log_parsers, only: [] do
    collection do
      get :logs
    end
  end
  resources :status, only: [:index]
  resources :log_viewer, only: [:index]

  resources :janitorial_archive_assignments, controller: "janitorial_assignments",
                                             type: "Naf::JanitorialArchiveAssignment",
                                             except: [:destroy]
  resources :janitorial_create_assignments, controller: "janitorial_assignments",
                                            type: "Naf::JanitorialCreateAssignment",
                                            except: [:destroy]
  resources :janitorial_drop_assignments, controller: "janitorial_assignments",
                                          type: "Naf::JanitorialDropAssignment",
                                          except: [:destroy]

  match "jobs" => "historical_jobs#index"
  root to: "historical_jobs#index"
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
naf-2.1.12 config/routes.rb
naf-2.1.11 config/routes.rb
naf-2.1.10 config/routes.rb
naf-2.1.9 config/routes.rb
naf-2.1.8 config/routes.rb
naf-2.1.6 config/routes.rb
naf-2.1.5 config/routes.rb
naf-2.1.4 config/routes.rb
naf-2.1.3 config/routes.rb
naf-2.1.2 config/routes.rb
naf-2.1.1 config/routes.rb
naf-2.1.0 config/routes.rb