Change in ovirt-engine[master]: restapi: Don't populate NetworkAttachment.network.name
juan.hernandez at redhat.com
juan.hernandez at redhat.com
Thu Oct 6 14:16:30 UTC 2016
Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Don't populate NetworkAttachment.network.name
......................................................................
restapi: Don't populate NetworkAttachment.network.name
Currently when the list of network attachments of a host is retrieved we
return a link to the network that includes also the network name:
GET /ovirt-engine/api/hosts/123/networkattachments
<network_attachments>
<network_attachment id="..." href="...">
...
<network id="..." href="...>
<name>mynetwork</name> <-- This should't appear
</network>
</network_attachment>
...
</network_attachments>
This is not correct, as output links should not have any content other
than the "id" and "href" attributes. This patch fixes that issue.
Change-Id: Ie0eb5ba57a03f0e89c844d22969015ddf67a4134
Bug-Url: https://bugzilla.redhat.com/1382341
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/NetworkAttachmentMapper.java
1 file changed, 0 insertions(+), 9 deletions(-)
Approvals:
Dominik Holler: Looks good to me, but someone else must approve
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/65170
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie0eb5ba57a03f0e89c844d22969015ddf67a4134
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Dominik Holler <dholler at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list