Change in ovirt-engine-sdk-java[master]: Accept 202 code for 'Add' methods

omachace at redhat.com omachace at redhat.com
Tue Oct 11 11:50:43 UTC 2016


Ondra Machacek has submitted this change and it was merged.

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


Accept 202 code for 'Add' methods

Currently the SDK doesn't accept the HTTP 202 code as a valid result of
'Add' methods, it is valid return code, so SDK needs to accept it.

Change-Id: I8b9054848f47e29fe71d645025f047d13de93c39
Signed-off-by: Ondra Machacek <omachace at redhat.com>
---
M generator/src/main/java/org/ovirt/sdk/java/ServicesImplGenerator.java
A sdk/src/test/java/org/ovirt/engine/sdk4/ResponseCodeTest.java
M sdk/src/test/java/org/ovirt/engine/sdk4/VmsServiceTest.java
3 files changed, 72 insertions(+), 2 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Juan Hernandez: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8b9054848f47e29fe71d645025f047d13de93c39
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list