2016-10-05 08:21:27 -04:00
|
|
|
namespace :import do
|
|
|
|
resource :github, only: [:create, :new], controller: :github do
|
|
|
|
post :personal_access_token
|
|
|
|
get :status
|
|
|
|
get :callback
|
|
|
|
get :jobs
|
|
|
|
end
|
|
|
|
|
2016-12-15 11:31:14 -05:00
|
|
|
resource :gitea, only: [:create, :new], controller: :gitea do
|
2016-10-17 11:58:57 -04:00
|
|
|
post :personal_access_token
|
|
|
|
get :status
|
|
|
|
get :jobs
|
|
|
|
end
|
|
|
|
|
2016-10-05 08:21:27 -04:00
|
|
|
resource :gitlab, only: [:create], controller: :gitlab do
|
|
|
|
get :status
|
|
|
|
get :callback
|
|
|
|
get :jobs
|
|
|
|
end
|
|
|
|
|
|
|
|
resource :bitbucket, only: [:create], controller: :bitbucket do
|
|
|
|
get :status
|
|
|
|
get :callback
|
|
|
|
get :jobs
|
|
|
|
end
|
|
|
|
|
|
|
|
resource :google_code, only: [:create, :new], controller: :google_code do
|
|
|
|
get :status
|
|
|
|
post :callback
|
|
|
|
get :jobs
|
|
|
|
|
|
|
|
get :new_user_map, path: :user_map
|
|
|
|
post :create_user_map, path: :user_map
|
|
|
|
end
|
|
|
|
|
|
|
|
resource :fogbugz, only: [:create, :new], controller: :fogbugz do
|
|
|
|
get :status
|
|
|
|
post :callback
|
|
|
|
get :jobs
|
|
|
|
|
|
|
|
get :new_user_map, path: :user_map
|
|
|
|
post :create_user_map, path: :user_map
|
|
|
|
end
|
|
|
|
|
|
|
|
resource :gitlab_project, only: [:create, :new] do
|
|
|
|
post :create
|
|
|
|
end
|
|
|
|
end
|