Sha256: 7a54afca38c76acee2cc83534d49bd4450d95a2f26306a394902a349c06d1b9e

Contents?: true

Size: 871 Bytes

Versions: 17

Compression:

Stored size: 871 Bytes

Contents

EasyML::Engine.routes.draw do
  root to: "models#index"
  get "healthcheck", to: "health#up"
  resources :models, as: :easy_ml_models do
    member do
      post :train
      get :retraining_runs, to: "retraining_runs#index"
    end
    resources :deploys, only: [:create]
    get "new", on: :collection, as: "new"
  end

  resources :retraining_runs, only: [:show]

  # Datasources
  resources :datasources, as: :easy_ml_datasources do
    member do
      post :sync
    end
  end

  # Datasets
  resources :datasets, as: :easy_ml_datasets do
    member do
      post :refresh
    end
  end

  # Transformations
  resources :transformations, only: %i[index new edit], as: :easy_ml_transformations

  # Settings
  resources :settings, only: [:index] do
    patch :update, on: :collection
  end

  # Columns
  resources :columns, only: [:update], as: :easy_ml_columns
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
easy_ml-0.2.0.pre.rc27 config/routes.rb
easy_ml-0.2.0.pre.rc26 config/routes.rb
easy_ml-0.2.0.pre.rc25 config/routes.rb
easy_ml-0.2.0.pre.rc24 config/routes.rb
easy_ml-0.2.0.pre.rc23 config/routes.rb
easy_ml-0.2.0.pre.rc22 config/routes.rb
easy_ml-0.2.0.pre.rc21 config/routes.rb
easy_ml-0.2.0.pre.rc20 config/routes.rb
easy_ml-0.2.0.pre.rc19 config/routes.rb
easy_ml-0.2.0.pre.rc18 config/routes.rb
easy_ml-0.2.0.pre.rc17 config/routes.rb
easy_ml-0.2.0.pre.rc16 config/routes.rb
easy_ml-0.2.0.pre.rc15 config/routes.rb
easy_ml-0.2.0.pre.rc14 config/routes.rb
easy_ml-0.2.0.pre.rc13 config/routes.rb
easy_ml-0.2.0.pre.rc12 config/routes.rb
easy_ml-0.2.0.pre.rc11 config/routes.rb