Change in ovirt-engine[master]: core: import more than once - validate new name

gchaplik at redhat.com gchaplik at redhat.com
Wed Jun 13 08:33:39 UTC 2012


Gilad Chaplik has submitted this change and it was merged.

Change subject: core: import more than once - validate new name
......................................................................


core: import more than once - validate new name

in case importing as cloned, a new name is given (old name + suffix), this name
ought to be validated

Change-Id: I7ec3341e862bcceac3446f28dc8def9d20e28e13
Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/ImportVmCommandTest.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/ImportVmTemplateCommandTest.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/ImportVmParameters.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/ImprotVmTemplateParameters.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmStatic.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmTemplate.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/validation/group/ImportClonedEntity.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/validation/group/ImportEntity.java
10 files changed, 208 insertions(+), 4 deletions(-)

Approvals:
  Gilad Chaplik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/5220
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7ec3341e862bcceac3446f28dc8def9d20e28e13
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>



More information about the Engine-commits mailing list