Ramesh N has uploaded a new change for review.

Change subject: webadmin: show remove brick status on stop remove birck
......................................................................

webadmin: show remove brick status on stop remove birck

 Showing the status of  data migartion  after stoping the remove brick
operation.

Change-Id: Ic29a668ac56d3a5fbab0a3bb553dfe511d5902f4
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1024227
Signed-off-by: Ramesh Nachimuthu <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/gin/uicommon/VolumeModule.java
2 files changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/34/20634/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
index fbb15e2..376de86 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
@@ -866,6 +866,9 @@
                 ConfirmationModel localModel = (ConfirmationModel) 
result.getState();
                 localModel.stopProgress();
                 setConfirmWindow(null);
+                if (result.getReturnValue().getSucceeded()) {
+                    showRemoveBricksStatus();
+                }
             }
         }, model);
     }
diff --git 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/gin/uicommon/VolumeModule.java
 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/gin/uicommon/VolumeModule.java
index 7a7ce84..9e60c9e 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/gin/uicommon/VolumeModule.java
+++ 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/gin/uicommon/VolumeModule.java
@@ -113,6 +113,8 @@
                     return removeBrickPopupProvider.get();
                 } else if (lastExecutedCommand == 
getModel().getStatusRemoveBricksCommand()) {
                     return removeBricksStatusPopupProvider.get();
+                }else if 
(lastExecutedCommand.getName().equals("OnStopRemoveBricks")) {  //$NON-NLS-1$
+                    return removeBricksStatusPopupProvider.get();
                 } else if (lastExecutedCommand == 
getModel().getReplaceBrickCommand()) {
                     return replaceBrickPopupProvider.get();
                 } else if (lastExecutedCommand == 
getModel().getBrickAdvancedDetailsCommand()) {


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic29a668ac56d3a5fbab0a3bb553dfe511d5902f4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ramesh N <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to