Shubhendu Tripathi has posted comments on this change.

Change subject: webadmin: UI for gluster volume snapshot create
......................................................................


Patch Set 4:

(6 comments)

http://gerrit.ovirt.org/#/c/35082/4/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java:

Line 133: 
Line 134:     public void setStopRebalanceCommand(UICommand 
stopRebalanceCommand) {
Line 135:         this.stopRebalanceCommand = stopRebalanceCommand;
Line 136:     }
Line 137: 
> New line
done
Line 138:     private UICommand statusRebalanceCommand;
Line 139: 
Line 140:     public UICommand getStatusRebalanceCommand() {
Line 141:         return statusRebalanceCommand;


Line 220:                 SearchObjects.GLUSTER_VOLUME_PLU_OBJ_NAME });
Line 221:         setAvailableInModes(ApplicationMode.GlusterOnly);
Line 222: 
Line 223:         setNewVolumeCommand(new UICommand("Create Volume", this)); 
//$NON-NLS-1$
Line 224:         setNewSnapshotCommand(new UICommand("Create Snapshot", 
this)); //$NON-NLS-1$
> Please name it in camel case like "CreateSnapshot"
done
Line 225:         setRemoveVolumeCommand(new UICommand("Remove", this)); 
//$NON-NLS-1$
Line 226:         setStartCommand(new UICommand("Start", this)); //$NON-NLS-1$
Line 227:         setStopCommand(new UICommand("Stop", this)); //$NON-NLS-1$
Line 228:         setStartRebalanceCommand(new UICommand("StartRebalance", 
this)); //$NON-NLS-1$


Line 668:                 selectedVolumes.add((GlusterVolumeEntity) 
selectedVolume);
Line 669:             }
Line 670:             optimizeVolumesForVirtStore(selectedVolumes);
Line 671:         } else if (command.getName().equalsIgnoreCase("Create 
Snapshot")) {//$NON-NLS-1$
Line 672:             newSnapshot();
> please use camel case
done
Line 673:         } else if 
(command.getName().equalsIgnoreCase("onCreateSnapshot")) {//$NON-NLS-1$
Line 674:             onCreateSnapshot();
Line 675:         }
Line 676:     }


http://gerrit.ovirt.org/#/c/35082/4/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/LocalizedEnums.java
File 
frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/LocalizedEnums.java:

Line 429: 
Line 430:     String AuditLogType___VOLUME_SNAPSHOT_CREATE();
Line 431: 
Line 432:     String AuditLogType___VOLUME_SNAPSHOT_CREATE_FAILED();
Line 433: 
> VdcActonType entries ?
done
Line 434:     String VdcActionType___ActivateVds();
Line 435: 
Line 436:     String VdcActionType___RecoveryStoragePool();
Line 437: 


http://gerrit.ovirt.org/#/c/35082/4/frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums.properties
File 
frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums.properties:

Line 213: AuditLogType___GLUSTER_BRICK_STATUS_CHANGED=Detected change in status 
of brick
Line 214: AuditLogType___GLUSTER_VOLUME_REBALANCE_NOT_FOUND_FROM_CLI=Could not 
find information for rebalance on volume from CLI. Marking it as unknown.
Line 215: AuditLogType___REMOVE_GLUSTER_VOLUME_BRICKS_NOT_FOUND_FROM_CLI=Could 
not find information for remove brick on volume from CLI. Marking it as unknown.
Line 216: AuditLogType___VOLUME_SNAPSHOT_CREATE=Snapshot created for the volume
Line 217: AuditLogType___VOLUME_SNAPSHOT_CREATE_FAILED=Failed create snapshot 
for the volume
> VdcActonType entries ?
done
Line 218: 
Line 219: 
Line 220: VdcActionType___ActivateVds=Activate Host
Line 221: VdcActionType___RecoveryStoragePool=Reinitialize Data Center


http://gerrit.ovirt.org/#/c/35082/4/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/gluster/GlusterVolumeSnapshotCreatePopupView.java
File 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/gluster/GlusterVolumeSnapshotCreatePopupView.java:

Line 82:         super(eventBus, resources);
Line 83:         this.messages = messages;
Line 84:         this.constants = constants;
Line 85:         this.templates = templates;
Line 86:         initEditors();
> Please remove initEditors
done
Line 87:         initWidget(ViewUiBinder.uiBinder.createAndBindUi(this));
Line 88:         ViewIdHandler.idHandler.generateAndSetIds(this);
Line 89:         localize();
Line 90:         driver.initialize(this);


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I823580ecb127e48e075c437668bfb19ff8ec4467
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: anmolbabu <anb...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to