Change in ovirt-engine[master]: restapi: Use elements instead of attributes in boot device

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 22 16:55:53 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Use elements instead of attributes in boot device
......................................................................


restapi: Use elements instead of attributes in boot device

Currently boot device element uses attributes for its properties:

  <boot dev="cdrom"/>

This is contrary to the common practice in the RESTAPI. This patch
replaces them with inner elements:

  <boot>
    <dev>cdrom</dev>
  </boot>

Change-Id: Ica3439f3f9b97e9c953e87175eb4c4fb8a2c995c
Signed-off-by: Juan Hernandez <juan.hernandez at 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/46062
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ica3439f3f9b97e9c953e87175eb4c4fb8a2c995c
Gerrit-PatchSet: 3
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: automation at ovirt.org



More information about the Engine-commits mailing list