Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Use element for power management agent "type"
......................................................................
restapi: Use element for power management agent "type"
Currently the power management "type" property is represented as an
attribute:
<agent type="apc">
<username>myuser</username>
...
</agent>
This is contrary to the common practice in the RESTAPI. This patch
replaces it with an inner attribute:
<agent>
<type>apc</type>
<username>myuser</username>
...
</agent>
Change-Id: I29c278856a55afde4f0d769c40426d9ed5daff1f
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M backend/manager/modules/restapi/README.md
M backend/manager/modules/restapi/interface/definition/src/main/schema/api.xsd
2 files changed, 19 insertions(+), 1 deletion(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/46038
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I29c278856a55afde4f0d769c40426d9ed5daff1f
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org