Change in ovirt-engine[ovirt-engine-4.0]: restapi: Don't add name to network filter links

tnisan at redhat.com tnisan at redhat.com
Thu Jun 23 04:16:59 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: restapi: Don't add name to network filter links
......................................................................


restapi: Don't add name to network filter links

Currently the links to network filters included in the representation of
VNIC profiles include also the name of the network filters. This is
contrary to the common practice in the API, where links only have the
"id" and "href" attributes. Other attributes or elements are allowed
only when required for backwards compatbility. This patch removes the
code that adds the network filter name.

Change-Id: I3379bbf794cbec22a059544bf9684fd160ade2d0
Bug-Url: https://bugzilla.redhat.com/1347931
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit abd77a69068388a192b69bcf3dbd2df7cea4d57d)
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendVnicProfilesResource.java
1 file changed, 0 insertions(+), 25 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3379bbf794cbec22a059544bf9684fd160ade2d0
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list