diff --git a/cloud_controller/Gemfile b/cloud_controller/Gemfile index d07a75c..183b1d8 100644 --- a/cloud_controller/Gemfile +++ b/cloud_controller/Gemfile @@ -8,7 +8,7 @@ gem 'nats', :require => 'nats/client' # VCAP common components gem 'vcap_common', :require => ['vcap/common', 'vcap/component'], :git => 'https://github.com/cloudfoundry/vcap-common.git', :ref => 'fd6b6d91' gem 'vcap_logging', :require => ['vcap/logging'], :git => 'https://github.com/cloudfoundry/common.git', :ref => 'e36886a1' -gem 'cf-uaa-client', '~> 1.0', :git => 'https://github.com/cloudfoundry/uaa.git', :ref => 'dad29c90' +gem 'cf-uaa-client', '~> 1.2', :git => 'https://github.com/cloudfoundry/uaa.git', :ref => '603bb76ce8' # For queuing staging tasks gem 'em-hiredis' diff --git a/cloud_controller/Gemfile.lock b/cloud_controller/Gemfile.lock index f6436eb..785fbc5 100644 --- a/cloud_controller/Gemfile.lock +++ b/cloud_controller/Gemfile.lock @@ -24,11 +24,11 @@ GIT GIT remote: https://github.com/cloudfoundry/uaa.git - revision: dad29c9030f482c7a426c9c81b0e05d9715ccc11 - ref: dad29c90 + revision: 603bb76ce8e369546e62402248d28ab9e87ef886 + ref: 603bb76ce8 specs: - cf-uaa-client (1.1.1) - em-http-request + cf-uaa-client (1.2.4) + em-http-request (>= 1.0.0.beta.3) eventmachine highline launchy @@ -107,7 +107,7 @@ GEM eventmachine erubis (2.6.6) abstract (>= 1.0.0) - highline (1.6.13) + highline (1.6.15) hiredis (0.3.2) http_parser.rb (0.5.1) httpclient (2.2.7) @@ -196,7 +196,7 @@ PLATFORMS DEPENDENCIES SystemTimer (~> 1.2) bcrypt-ruby (~> 2.1.4) - cf-uaa-client (~> 1.0)! + cf-uaa-client (~> 1.2)! ci_reporter delorean em-hiredis diff --git a/cloud_controller/app/models/uaa_token.rb b/cloud_controller/app/models/uaa_token.rb index 1060551..8f089e1 100644 --- a/cloud_controller/app/models/uaa_token.rb +++ b/cloud_controller/app/models/uaa_token.rb @@ -37,7 +37,7 @@ def decode_token(auth_token) if token_key_fetch_failure_count > 0 && !@token_key begin CF::UAA::Misc.async=true - @token_key ||= CF::UAA::Misc.validation_key(AppConfig[:uaa][:url], AppConfig[:uaa][:resource_id], AppConfig[:uaa][:client_secret]) + @token_key ||= CF::UAA::Misc.validation_key(AppConfig[:uaa][:url]) if @token_key[:alg] == "SHA256withRSA" CloudController.logger.debug("token key fetched from the uaa #{@token_key.inspect}") diff --git a/health_manager/Gemfile b/health_manager/Gemfile index edd9fd9..674b71e 100644 --- a/health_manager/Gemfile +++ b/health_manager/Gemfile @@ -12,7 +12,7 @@ gem 'yajl-ruby', :require => ['yajl', 'yajl/json_gem'] gem 'vcap_common', '>= 1.0.10', :git => 'https://github.com/cloudfoundry/vcap-common.git', :ref => 'cbeb8a17' gem "vcap_logging", "~> 1.0.0", :git => 'https://github.com/cloudfoundry/common.git', :ref => 'e36886a1' -gem 'cf-uaa-client', '~> 1.0', :git => 'https://github.com/cloudfoundry/uaa.git', :ref => 'dad29c90' +gem 'cf-uaa-client', '~> 1.2', :git => 'https://github.com/cloudfoundry/uaa.git', :ref => '603bb76ce8' group :test do gem "rspec" diff --git a/health_manager/Gemfile.lock b/health_manager/Gemfile.lock index 3cf9ec6..f821e9b 100644 --- a/health_manager/Gemfile.lock +++ b/health_manager/Gemfile.lock @@ -15,11 +15,11 @@ GIT GIT remote: https://github.com/cloudfoundry/uaa.git - revision: dad29c9030f482c7a426c9c81b0e05d9715ccc11 - ref: dad29c90 + revision: 603bb76ce8e369546e62402248d28ab9e87ef886 + ref: 603bb76ce8 specs: - cf-uaa-client (1.1.1) - em-http-request + cf-uaa-client (1.2.4) + em-http-request (>= 1.0.0.beta.3) eventmachine highline launchy @@ -54,7 +54,7 @@ GEM http_parser.rb (>= 0.5.1) em-socksify (0.1.0) eventmachine - highline (1.6.13) + highline (1.6.15) http_parser.rb (0.5.3) json_pure (1.7.3) launchy (2.1.0) @@ -90,7 +90,7 @@ PLATFORMS DEPENDENCIES bundler (>= 1.0.10) - cf-uaa-client (~> 1.0)! + cf-uaa-client (~> 1.2)! ci_reporter em-http-request (~> 1.0.0.beta.3) eventmachine!