Change in ovirt-engine[master]: restapi: Use elements in power management agent options

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 22 16:36:38 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Use elements in power management agent options
......................................................................


restapi: Use elements in power management agent options

Currently the power management agent options element uses attributes for
its properties:

  <options>
    <option name="port" value="22"/>
    <option name="slot" value="5"/>
    ...
  </options>

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

  <options>
    <option>
      <name>port</name>
      <value>22</value>
    </option>
    <option>
      <name>slot</name>
      <value>5</value>
    </option>
    ...
  </options>

Change-Id: I28e214b59be911a7abaf12bfd30f30ef8f799279
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, 31 insertions(+), 3 deletions(-)

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



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

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