Change in ovirt-engine-sdk-ruby[sdk_4.0]: Accept 200 code for 'Add' methods

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Oct 14 17:36:39 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: Accept 200 code for 'Add' methods
......................................................................


Accept 200 code for 'Add' methods

Currently the SDK doesn't accept the HTTP 200 code as a valid result of
'Add' methods, but some methods in the server return this code, for
example the method that adds a cluster quota limit. This patch changes
the SDK so that accepts it.

Change-Id: I88cb176b0ec53c77aac3edb11cecd24b2b93f9e8
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit 50a6347547f1c557caabe5c692a93fd6fce7e24d)
---
M generator/src/main/java/org/ovirt/sdk/ruby/ServicesGenerator.java
M sdk/spec/vms_service_spec.rb
2 files changed, 31 insertions(+), 1 deletion(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/65353
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I88cb176b0ec53c77aac3edb11cecd24b2b93f9e8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list