Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Use elements instead of attributes in MAC address
......................................................................
restapi: Use elements instead of attributes in MAC address
Currently the MAC address element uses attributes for its properties:
<mac address="66:f2:c5:5f:bb:8d"/>
This is contrary to the common practice in the RESTAPI. This patch
replaces them with inner elements:
<mac>
<address>66:f2:c5:5f:bb:8d</address>
</mac>
Change-Id: If5388584913153906257cb5472756e45f5a206dc
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, 16 insertions(+), 1 deletion(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/46061
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If5388584913153906257cb5472756e45f5a206dc
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