monitoring.rb 600 B

12345678910
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/monitoring/health_check', to: 'monitoring#health_check', via: :get
  4. match api_path + '/monitoring/status', to: 'monitoring#status', via: :get
  5. match api_path + '/monitoring/amount_check', to: 'monitoring#amount_check', via: :get
  6. match api_path + '/monitoring/token', to: 'monitoring#token', via: :post
  7. match api_path + '/monitoring/restart_failed_jobs', to: 'monitoring#restart_failed_jobs', via: :post
  8. end