Change in ovirt-engine[master]: restapi: Use element instead of attribute for operating syst...

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 22 16:56:17 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Use element instead of attribute for operating system "type"
......................................................................


restapi: Use element instead of attribute for operating system "type"

Currently tye operating system "type" property is represented as an
attribute:

  <os type="other">
    ...
  </os>

This is contrary to the common practice in the RESTAPI. This patch
replaces it with an inner attribute:

  <os>
    <type>other</type>
    ...
  </os>

Change-Id: Ida446b324e020e1fd7f6a4394d9c78af249c1c56
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, 17 insertions(+), 1 deletion(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ida446b324e020e1fd7f6a4394d9c78af249c1c56
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