Allon Mureinik has posted comments on this change.

Change subject: core: ImportVm test cleanup: Don't mock DAOs
......................................................................


Patch Set 9: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
Line 262:     /**
Line 263:      * Load images from Import/Export domain.
Line 264:      * @return A {@link List} of {@link VM}s, or <code>null</code> if 
the query to the export domain failed.
Line 265:      */
Line 266:     protected List<VM> getVmsFromExportDomain() {
Because the query add logic to the VDS command - checking the domain's type, 
parsing the OVF return value to objects, etc.
Line 267:         GetAllFromExportDomainQueryParameters p =
Line 268:                 new GetAllFromExportDomainQueryParameters
Line 269:                 (getParameters().getStoragePoolId(), 
getParameters().getSourceDomainId());
Line 270:         VdcQueryReturnValue qRetVal = 
getBackend().runInternalQuery(VdcQueryType.GetVmsFromExportDomain, p);


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I19d711cd8df8c0f8eccfe6b7838c16605829b2f6
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to