rename pipeline to pipeline template. refs #1416
[arvados.git] / config / routes.rb
index 648297685e9d8d51bf5ee86f33b95822843ce258..76abf3e5b719a30621b189b13ae9f1b9c62ac82f 100644 (file)
@@ -1,14 +1,16 @@
 Server::Application.routes.draw do
+  resources :job_steps
+  resources :jobs
   resources :api_client_authorizations
   resources :api_clients
   resources :logs
-  resources :projects
+  resources :groups
   resources :specimens
   resources :collections
   resources :links
   resources :nodes
-  resources :pipelines
-  resources :pipeline_invocations
+  resources :pipeline_templates
+  resources :pipeline_instances
 
   # The priority is based upon order of creation:
   # first created -> highest priority.
@@ -69,19 +71,22 @@ Server::Application.routes.draw do
 
   namespace :orvos do
     namespace :v1 do
+      match '/schema' => 'schema#show'
+      match '/rest' => 'schema#discovery_rest_description'
+      match '/nodes/:uuid/ping' => 'nodes#ping', :as => :ping_node
+      match '/links/from/:tail_uuid' => 'links#index', :as => :orvos_v1_links_from
+      match '/users/current' => 'users#current'
       resources :collections
       resources :links
       resources :nodes
-      resources :pipelines
-      resources :pipeline_invocations
-      resources :pipelineInvocations
+      resources :pipeline_templates
+      resources :pipeline_instances
       resources :specimens
-      resources :projects
+      resources :groups
       resources :logs
       resources :users
-      match '/schema' => 'schema#show'
-      match '/nodes/:uuid/ping' => 'nodes#ping', :as => :ping_node
-      match '/links/:tail_uuid' => 'links#index'
+      resources :jobs
+      resources :job_steps
     end
   end