Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Replace memory overcommit attributes with elements
......................................................................
restapi: Replace memory overcommit attributes with elements
Currently the "overcommit" element uses attributes for its properties:
<memory_policy>
<overcommit percent="100"/>
...
</memory_policy>
This is contrary to the common practice in the RESTAPI. This patch
replaces them with inner elements:
<memory_policy>
<overcommit>
<percent>100</percent>
</overcommit>
...
</memory_policy>
Change-Id: Ica1587917d31633531ac6ab9bf16a748eb74f761
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M backend/manager/modules/restapi/README.md
M backend/manager/modules/restapi/interface/definition/src/main/schema/api.xsd
2 files changed, 22 insertions(+), 7 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/46031
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ica1587917d31633531ac6ab9bf16a748eb74f761
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org