Change in ovirt-engine[master]: restapi: Replace version attributes with elements

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 22 13:08:21 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Replace version attributes with elements
......................................................................


restapi: Replace version attributes with elements

Currently the "version" element uses attributes for its properties:

  <version major="3" minor="5" ../>

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

    <version>
      <major>3</minor>
      <minor>5</minor>
      ...
    </version>

Change-Id: I5da39cbdcb409e2bb0ece733cdd95c28594ccd1b
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, 22 insertions(+), 35 deletions(-)

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



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

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