Change in ovirt-engine[master]: restapi: Improve addLinks() readability and performance

oliel at redhat.com oliel at redhat.com
Wed May 18 11:12:22 UTC 2016


Ori Liel has submitted this change and it was merged.

Change subject: restapi: Improve addLinks() readability and performance
......................................................................


restapi: Improve addLinks() readability and performance

This patch makes improvements to the process of adding links to
retrieved API entities, making it slightly more readable and more
importantly, more efficient.

Bug-Url: https://bugzilla.redhat.com/1208221
Change-Id: If75f7bf1107b3198b196d4b3a06153570562ab93
Signed-off-by: Ori Liel <oliel at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/util/LinkHelper.java
2 files changed, 297 insertions(+), 206 deletions(-)

Approvals:
  Ori Liel: Verified; Looks good to me, approved; Passed CI tests
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: If75f7bf1107b3198b196d4b3a06153570562ab93
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <oliel 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: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list