Idan Shaby has posted comments on this change.

Change subject: webadmin: override image name in import image view
......................................................................


Patch Set 1:

(2 comments)

https://gerrit.ovirt.org/#/c/41394/1/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/provider/storage/OpenStackImageProviderProxy.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/provider/storage/OpenStackImageProviderProxy.java:

Line 169:         Image glanceImage = getClient().images().show(id).execute();
Line 170: 
Line 171:         validateContainerFormat(glanceImage);
Line 172: 
Line 173:         diskImage.setDiskAlias(diskAlias);
> you should still support disk import without a specified alias (e.g. from r
Done
Line 174: 
Line 175:         String shortHash = glanceImage.getId().substring(0, 7);
Line 176: 
Line 177:         if (glanceImage.getName() != null) {


https://gerrit.ovirt.org/#/c/41394/1/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/RepoImageModel.java
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/RepoImageModel.java:

Line 4: import org.ovirt.engine.ui.uicommonweb.models.EntityModel;
Line 5: 
Line 6: public class RepoImageModel extends EntityModel<RepoImage> {
Line 7: 
Line 8:     public static final String GLANCE_DISK_ALIAS_PREFIX = 
"GlanceDisk-"; //$NON-NLS-1$
> probably better moving it to StorageConstants for reusability
Done
Line 9: 
Line 10:     private String diskImageAlias;
Line 11: 
Line 12:     public RepoImageModel(RepoImage repoImage) {


-- 
To view, visit https://gerrit.ovirt.org/41394
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia25b0e38e577ebe745ccbc898b5af07f35e2847b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Idan Shaby <ish...@redhat.com>
Gerrit-Reviewer: Ala Hino <ah...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Amit Aviram <aavi...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Freddy Rolland <froll...@redhat.com>
Gerrit-Reviewer: Idan Shaby <ish...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to