Change in ovirt-engine[master]: restapi: Use elements instead of attributes in "console"

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 22 16:11:58 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Use elements instead of attributes in "console"
......................................................................


restapi: Use elements instead of attributes in "console"

Currently "console" element uses attributes for its properties:

  <console enabled="true"/>

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

  <console>
    <enabled>true</enabled>
  </console>

Change-Id: Ib805ad6858771d651c30439fb0b3177337ca6ebb
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
  Jenkins CI: Passed CI tests



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

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