move authorized_keys#get_all_logins to virtual_machines#get_all_logins
[arvados.git] / services / api / config / routes.rb
index c3d2fd197f2809603d211cab5fd8a933b5c5c1f1..d14e10df4d76dd1c09af23a00d7e28f79338a815 100644 (file)
@@ -1,8 +1,10 @@
 Server::Application.routes.draw do
+  resources :repositories
+  resources :virtual_machines
+  resources :authorized_keys
+  resources :keep_disks
   resources :commit_ancestors
-
   resources :commits
-
   resources :job_tasks
   resources :jobs
   resources :api_client_authorizations
@@ -73,12 +75,15 @@ Server::Application.routes.draw do
   # Note: This route will make all actions in every controller accessible via GET requests.
   # match ':controller(/:action(/:id(.:format)))'
 
-  namespace :orvos do
+  namespace :arvados do
     namespace :v1 do
       match '/schema' => 'schema#show'
       match '/nodes/:uuid/ping' => 'nodes#ping', :as => :ping_node
-      match '/links/from/:tail_uuid' => 'links#index', :as => :orvos_v1_links_from
+      match '/keep_disks/ping' => 'keep_disks#ping', :as => :ping_keep_disk
+      match '/links/from/:tail_uuid' => 'links#index', :as => :arvados_v1_links_from
       match '/users/current' => 'users#current'
+      match '/jobs/queue' => 'jobs#queue'
+      match '/virtual_machines/get_all_logins' => 'virtual_machines#get_all_logins'
       resources :collections
       resources :links
       resources :nodes
@@ -90,6 +95,10 @@ Server::Application.routes.draw do
       resources :users
       resources :jobs
       resources :job_tasks
+      resources :keep_disks
+      resources :authorized_keys
+      resources :virtual_machines
+      resources :repositories
     end
   end
 
@@ -101,11 +110,11 @@ Server::Application.routes.draw do
   match '/login', :to => 'user_sessions#login'
   match '/logout', :to => 'user_sessions#logout'
 
-  match '/discovery/v1/apis/orvos/v1/rest', :to => 'orvos/v1/schema#discovery_rest_description'
+  match '/discovery/v1/apis/arvados/v1/rest', :to => 'arvados/v1/schema#discovery_rest_description'
 
   # Send unroutable requests to an arbitrary controller
   # (ends up at ApplicationController#render_not_found)
-  match '*a', :to => 'orvos/v1/links#render_not_found'
+  match '*a', :to => 'arvados/v1/links#render_not_found'
 
   root :to => 'static#home'
 end