Maor Lipchuk has submitted this change and it was merged.
Change subject: core: Re-extract validation to parent command.
......................................................................
core: Re-extract validation to parent command.
Re-extract the same validation logic from ImportVm and ImportVmTemplate configuration,
to be used in one method at MoveOrCopyTemplateCommand.
Change-Id: Ic25f6f086fe3a8a55de33529a6fb92728d3e0d74
Signed-off-by: Maor Lipchuk <mlipchuk(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmFromConfigurationCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateFromConfigurationCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveOrCopyTemplateCommand.java
3 files changed, 27 insertions(+), 41 deletions(-)
Approvals:
Maor Lipchuk: Verified
Liron Ar: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/28515
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic25f6f086fe3a8a55de33529a6fb92728d3e0d74
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Liron Ar <laravot(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server