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

omachace at redhat.com omachace at redhat.com
Tue Oct 11 11:40:20 UTC 2016


Ondra Machacek 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: I59e2a5748bd4fc914a33d0431eacca6cdae543b9
Signed-off-by: Ondra Machacek <omachace at redhat.com>
(cherry picked from commit 33ec13f1bb1124674b4007f91b0c57cc0b97bb8f)
---
M generator/src/main/java/org/ovirt/sdk/python/ServicesGenerator.java
M sdk/tests/test_vm_service.py
2 files changed, 25 insertions(+), 1 deletion(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I59e2a5748bd4fc914a33d0431eacca6cdae543b9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list