Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Add optional elements for versions
Browse files Browse the repository at this point in the history
 - This is an isolated change for sending version field in provision
   request and also to send supported versions and version aliases in
   service offering request

 - Add Gemfile.lock to .gitignore

Change-Id: Iae8a415ec528a98ce9c25e4bf3c90bc78a58500f
  • Loading branch information
Harshawardhan Gadgil committed Jul 10, 2012
1 parent 290430f commit 45a3e6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/*.gem
Gemfile.lock
4 changes: 4 additions & 0 deletions lib/services/api/messages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class ServiceOfferingRequest < JsonMessage
optional :timeout, Integer
optional :provider, String
optional :default_plan, String
optional :supported_versions, [String]
optional :version_aliases, Hash
end

class BrokeredServiceOfferingRequest < JsonMessage
Expand Down Expand Up @@ -65,6 +67,7 @@ class CloudControllerProvisionRequest < JsonMessage

optional :plan_option
optional :provider, String
optional :version, String
end

class GatewayProvisionRequest < JsonMessage
Expand All @@ -74,6 +77,7 @@ class GatewayProvisionRequest < JsonMessage
required :email, String

optional :plan_option
optional :version, String
end

class GatewayProvisionResponse < JsonMessage
Expand Down

0 comments on commit 45a3e6e

Please sign in to comment.