Allon Mureinik has submitted this change and it was merged.
Change subject: core: No Search for isVmTemlateWithSameNameExist
......................................................................
core: No Search for isVmTemlateWithSameNameExist
Replaced VmTemplateCommand.isVmTemlateWithSameNameExist(String)'s
implementation with a simple DAO call instead of invoking an expensive
Search query.
Change-Id: I5e9d57ad4d46b22d98529e07a2c67fed968d45cf
Signed-off-by: Allon Mureinik <amureini(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmTemplateCommand.java
1 file changed, 1 insertion(+), 10 deletions(-)
Approvals:
Allon Mureinik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/15149
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5e9d57ad4d46b22d98529e07a2c67fed968d45cf
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>