Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Send provider in gateway provision request (with bump to vcap-common)

 - git shortlog 055964f622..9267b079b1
    Harshawardhan Gadgil (1):
      Add (optional) provider to GatewayProvisionRequest

Change-Id: I2aba012badd16bc1a81c1598f65d041e94b38da3
  • Loading branch information...
commit 6aea65e28d54364064b7ba64e46d9454a36d04d7 1 parent c8b9bdc
Harshawardhan Gadgil authored
View
2  Gemfile
@@ -12,7 +12,7 @@ gem "sinatra-contrib"
gem "yajl-ruby"
gem 'vcap-concurrency', :git => 'git://github.com/cloudfoundry/vcap-concurrency.git'
gem "membrane", "~> 0.0.2"
-gem "vcap_common", "~> 2.0.8", :git => 'git://github.com/cloudfoundry/vcap-common.git', :ref => '055964f622'
+gem "vcap_common", "~> 2.0.8", :git => 'git://github.com/cloudfoundry/vcap-common.git', :ref => '9267b079b1'
gem "cf-uaa-lib", "~> 1.3.0"
gem "httpclient"
gem "steno", "~> 1.0.0"
View
4 Gemfile.lock
@@ -1,7 +1,7 @@
GIT
remote: git://github.com/cloudfoundry/vcap-common.git
- revision: 055964f62282c94ebe7c3ce6f4df9fb093a17714
- ref: 055964f622
+ revision: 9267b079b1179360dc0356c5dbd0ff9b772f663d
+ ref: 9267b079b1
specs:
vcap_common (2.0.10)
em-http-request (~> 1.0.0.beta3, < 1.0.0.beta4)
View
5 lib/cloud_controller/models/service_instance.rb
@@ -175,9 +175,8 @@ def provision_on_gateway
:plan => service_plan.name,
:plan_option => {}, # TODO: remove this
:version => service_plan.service.version,
- # The current version of the service gateways that are in cf-release don't
- # support this. It makes them fail json validation of the message.
- # :user_guid => VCAP::CloudController::SecurityContext.current_user_guid
+ :provider => service_plan.service.provider,
+ :user_guid => VCAP::CloudController::SecurityContext.current_user_guid
)
logger.debug "provision response for instance #{guid} #{gw_attrs.inspect}"
Please sign in to comment.
Something went wrong with that request. Please try again.