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

omachace at redhat.com omachace at redhat.com
Thu Aug 18 11:47:22 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: Icac351dfd6f0e4acc18fd481b90be4adcfae69dd
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1366547
Signed-off-by: Ondra Machacek <omachace at redhat.com>
(cherry picked from commit 458c678c8f1904b7b4e492ff5a6a44221633beae)
---
M generator/src/main/java/org/ovirt/sdk/python/ServicesGenerator.java
A sdk/examples/add_independet_vm.py
M sdk/tests/server.py
M sdk/tests/test_vm_service.py
4 files changed, 124 insertions(+), 11 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icac351dfd6f0e4acc18fd481b90be4adcfae69dd
Gerrit-PatchSet: 3
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