19513: Rename flag to CanCreateRoleGroups, add test case.
[arvados.git] / services / api / config / routes.rb
index a0c3cafe137fe1378e9889e6c16a9adad1fd9749..9c7bfc3a7ac8ad1f8cd1ef54dd0dfc2c01f1065b 100644 (file)
@@ -92,7 +92,7 @@ Rails.application.routes.draw do
     end
   end
 
-  post '/sys/sweep_trash', to: 'sys#sweep_trash'
+  post '/sys/trash_sweep', to: 'sys#trash_sweep'
 
   if Rails.env == 'test'
     post '/database/reset', to: 'database#reset'
@@ -112,7 +112,8 @@ Rails.application.routes.draw do
 
   match '/static/login_failure', to: 'static#login_failure', as: :login_failure, via: [:get, :post]
 
-  match '/_health/ping', to: 'arvados/v1/healthcheck#ping', via: [:get]
+  match '/_health/:check', to: 'arvados/v1/management#health', via: [:get]
+  match '/metrics', to: 'arvados/v1/management#metrics', via: [:get]
 
   # Send unroutable requests to an arbitrary controller
   # (ends up at ApplicationController#render_not_found)