Change in ovirt-engine[master]: restapi: Remove dynamic searchs from BackendVmResource and B...
emesika at redhat.com
emesika at redhat.com
Tue Apr 8 08:39:39 UTC 2014
Eli Mesika has submitted this change and it was merged.
Change subject: restapi: Remove dynamic searchs from BackendVmResource and BackendVmsResource
......................................................................
restapi: Remove dynamic searchs from BackendVmResource and BackendVmsResource
Dynamic search is extremely slow. This patch removes the usage of
dynamic search from the BackendVmResource and BackendVmsResource classes.
Change-Id: Ie597cab99334e9be2fbc8e5fe69ddc53392b6d89
Signed-off-by: lzelkha at redhat.com <lzelkha at redhat.com>
---
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetVdsStaticByNameQuery.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmsResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmResourceTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmsResourceTest.java
M packaging/dbscripts/vds_sp.sql
7 files changed, 81 insertions(+), 43 deletions(-)
Approvals:
Eli Mesika: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/26068
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie597cab99334e9be2fbc8e5fe69ddc53392b6d89
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list