Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup version related configurations

Change-Id: I9c0f1998bc2806af020136757e30b35049c6143f
  • Loading branch information...
commit 42bbb3ce2cfa1acd0b8880a97a5d63ccfb42cf01 1 parent f2ed7dd
@andl andl authored
View
1  .gitignore
@@ -13,3 +13,4 @@ ci-working-dir
.rvmrc
nats-server.pid
pkg
+tags
View
2  lib/base/asynchronous_service_gateway.rb
@@ -57,7 +57,7 @@ def setup(opts)
@double_check_orphan_interval = opts[:double_check_orphan_interval] || 300
@handle_fetched = false
@fetching_handles = false
- @version_aliases = opts[:version_aliases]
+ @version_aliases = @service[:version_aliases] || {}
@svc_json = {
:label => @service[:label],
:url => @service[:url],
View
3  lib/base/gateway.rb
@@ -105,7 +105,6 @@ def start
:plan_management => @config[:plan_management],
:service => @config[:service],
:download_url_template => @config[:download_url_template],
- :version_aliases => @config[:version_aliases]
)
sg = async_gateway_class.new(
:proxy => @config[:proxy],
@@ -118,8 +117,6 @@ def start
:check_orphan_interval => @config[:check_orphan_interval],
:double_check_orphan_interval => @config[:double_check_orphan_interval],
:api_extensions => @config[:api_extensions],
- :supported_versions => @config[:supported_versions],
- :version_aliases => @config[:version_aliases]
)
Thin::Server.start(@config[:host], @config[:port], sg)
end
View
1  lib/base/provisioner.rb
@@ -32,7 +32,6 @@ def initialize(options)
@instance_handles_CO = {}
@binding_handles_CO = {}
@plan_mgmt = options[:plan_management] && options[:plan_management][:plans] || {}
- @version_aliases = options[:version_aliases]
init_service_extensions
Please sign in to comment.
Something went wrong with that request. Please try again.