Change in ovirt-engine[master]: restapi: Use empty string as default value of parameters

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Apr 20 19:01:20 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Use empty string as default value of parameters
......................................................................


restapi: Use empty string as default value of parameters

Currently matrix and query parameters that don't have a value are
ignored. That is incorrect, we should use an empty string as the default
value.

Change-Id: I43fa2304cfc1aea406ff1f0da0da20f440346ecb
Bug-Url: https://bugzilla.redhat.com/1328404
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/common/jaxrs/src/main/java/org/ovirt/engine/api/common/util/ParametersHelper.java
1 file changed, 11 insertions(+), 5 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I43fa2304cfc1aea406ff1f0da0da20f440346ecb
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list