2016-11-23 14:25:44 +00:00
|
|
|
Zammad::Application.routes.draw do
|
|
|
|
api_path = Rails.configuration.api_path
|
|
|
|
|
2017-05-15 11:50:55 +00:00
|
|
|
match api_path + '/monitoring/health_check', to: 'monitoring#health_check', via: :get
|
|
|
|
match api_path + '/monitoring/status', to: 'monitoring#status', via: :get
|
|
|
|
match api_path + '/monitoring/token', to: 'monitoring#token', via: :post
|
|
|
|
match api_path + '/monitoring/restart_dead_jobs', to: 'monitoring#restart_dead_jobs', via: :post
|
2016-11-23 14:25:44 +00:00
|
|
|
|
|
|
|
end
|