Permalink
Browse files

Add optional elements for versions

 - 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...
1 parent 290430f commit 45a3e6eabee73858f79d4c9c741cd97a2791397a Harshawardhan Gadgil committed Jun 24, 2012
Showing with 5 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +4 −0 lib/services/api/messages.rb
View
@@ -1 +1,2 @@
/*.gem
+Gemfile.lock
@@ -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
@@ -65,6 +67,7 @@ class CloudControllerProvisionRequest < JsonMessage
optional :plan_option
optional :provider, String
+ optional :version, String
end
class GatewayProvisionRequest < JsonMessage
@@ -74,6 +77,7 @@ class GatewayProvisionRequest < JsonMessage
required :email, String
optional :plan_option
+ optional :version, String
end
class GatewayProvisionResponse < JsonMessage

0 comments on commit 45a3e6e

Please sign in to comment.