Sha256: 658498b20f0587273c4fb41f4e04a5bc9d9acb332119c66015b7795538958796

Contents?: true

Size: 681 Bytes

Versions: 21

Compression:

Stored size: 681 Bytes

Contents

ZuoraConnect::Engine.routes.draw do
  get '/health' => 'static#health'
  post '/initialize_app' => 'static#initialize_app'

  if ENV['PROVISION_USER'].present? && ENV['PROVISION_SECRET'].present?
    post '/provision' => 'static#provision'
    post '/instance/:id/drop' => 'static#instance_drop'
    get '/instance/:id/user' => 'static#instance_user'
  end

  namespace :api do
    namespace :v1 do
      resources :app_instance, :only => [:index], defaults: {format: :json} do
          match "drop", via: [:get, :post], on: :collection
          match "cache_bust", via: [:get, :post], on: :collection
      end
    end
  end

  post "ldap_login" => 'application#ldap_login'
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
zuora_connect-3.2.11 config/routes.rb
zuora_connect-3.2.10 config/routes.rb
zuora_connect-3.2.9 config/routes.rb
zuora_connect-3.2.8 config/routes.rb
zuora_connect-3.2.7 config/routes.rb
zuora_connect-3.2.6 config/routes.rb
zuora_connect-3.2.5 config/routes.rb
zuora_connect-3.2.4 config/routes.rb
zuora_connect-3.2.3 config/routes.rb
zuora_connect-3.2.2 config/routes.rb
zuora_connect-3.2.0 config/routes.rb
zuora_connect-3.1.5.pre.g config/routes.rb
zuora_connect-3.1.5.pre.f config/routes.rb
zuora_connect-3.1.5.pre.e config/routes.rb
zuora_connect-3.1.5.pre.d config/routes.rb
zuora_connect-3.1.5.pre.c config/routes.rb
zuora_connect-3.1.5.pre.b config/routes.rb
zuora_connect-3.1.5.pre.a config/routes.rb
zuora_connect-3.1.5 config/routes.rb
zuora_connect-3.1.4 config/routes.rb