Change in ovirt-engine-sdk-java[sdk_4.0]: Send query parameters with Add/Update actions

omachace at redhat.com omachace at redhat.com
Thu Aug 18 14:58:50 UTC 2016


Ondra Machacek has submitted this change and it was merged.

Change subject: Send query parameters with Add/Update actions
......................................................................


Send query parameters with Add/Update actions

There are use cases where user can sent query parameters,
along with creating/updating entity action.
For example when creating virtual machine he can also
copy permissions from template to new virtual machine.

This patch add the support so the SDK sends the query parameters,
supported by backend.

Change-Id: Icaee85b912f575a911f2e618b910b7f6f52dfd71
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1366546
Signed-off-by: Ondra Machacek <omachace at redhat.com>
(cherry picked from commit db8923e300ad4c6dfdc118efca837b40e38da6b9)
---
M .gitignore
M generator/src/main/java/org/ovirt/sdk/java/ServicesImplGenerator.java
A sdk/src/test/java/org/ovirt/engine/sdk4/SecondaryParametersTest.java
M sdk/src/test/java/org/ovirt/engine/sdk4/ServerTest.java
A sdk/src/test/java/org/ovirt/engine/sdk4/examples/AddIndependentVm.java
5 files changed, 206 insertions(+), 53 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icaee85b912f575a911f2e618b910b7f6f52dfd71
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
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