Bug 1366548

Summary: Not possible to send query parameter with action/add/update methods
Product: [oVirt] ovirt-engine-sdk-ruby Reporter: Ondra Machacek <omachace>
Component: CoreAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: movciari
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.0.alpha4CC: bugs, mgoldboi, mperina
Target Milestone: ovirt-4.0.4Flags: rule-engine: ovirt-4.0.z+
mgoldboi: planning_ack+
mperina: devel_ack+
pstehlik: testing_ack+
Target Release: 4.0.0.alpha20   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.0.0.alpha20 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-26 12:34:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1378066    
Bug Blocks:    

Description Ondra Machacek 2016-08-12 09:49:14 UTC
Description of problem:
When API supports to send query parameter to some action/add/update, in SDK it' not possible send such 
query parameter.

Version-Release number of selected component (if applicable):
oVirt 4.0.2

How reproducible:
always

Steps to Reproduce:
1. Try to create template with 'copy_permissions' flag. Or import vm with collapse snapshots.

  https://github.com/oVirt/ovirt-engine/tree/master/backend/manager/modules/restapi#335-removed-the-permissionsclone-element

  https://github.com/oVirt/ovirt-engine/tree/master/backend/manager/modules/restapi#333-removed-the-snapshotscollapse_snapshots-element

Actual results:
Not possible.

Expected results:
Should be possible to do it from SDK.

Additional info:

Comment 1 movciari 2016-09-21 12:36:32 UTC
can't verify because of another blocker

Comment 2 movciari 2016-09-21 13:31:35 UTC
Verified with workaround provided by Juan in https://bugzilla.redhat.com/show_bug.cgi?id=1378066