summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com.gluster.storage.management.console.help/html/gettingstarted/access_gmc_jws.html2
-rw-r--r--src/com.gluster.storage.management.console.help/html/gettingstarted/change_password.html2
-rw-r--r--src/com.gluster.storage.management.console.help/html/tasks/access_gmc_jws.html2
-rw-r--r--src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/actions/DownloadVolumeLogsAction.java23
-rw-r--r--src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/views/NavigationView.java1
5 files changed, 18 insertions, 12 deletions
diff --git a/src/com.gluster.storage.management.console.help/html/gettingstarted/access_gmc_jws.html b/src/com.gluster.storage.management.console.help/html/gettingstarted/access_gmc_jws.html
index e052a73a..ff18004a 100644
--- a/src/com.gluster.storage.management.console.help/html/gettingstarted/access_gmc_jws.html
+++ b/src/com.gluster.storage.management.console.help/html/gettingstarted/access_gmc_jws.html
@@ -15,7 +15,7 @@ type="text/css" media="screen" />
<li>Open your web browser.
<p>Ensure that your web browser has cookies and Javascript enabled.</p>
<li>Type the following URL in your web browser:
-<p><FONT FACE = "Courier">http://server-name:8443/glustermg/</FONT></p>
+<p><FONT FACE = "Courier">https://server-name:8443/glustermg/</FONT></p>
<p>Gluster Management Console login window is displayed</p>
<p><img src="../images/GMC_Login_Window.jpg" alt="Login Window" />
<li>Type the following default user name and password in the login window:
diff --git a/src/com.gluster.storage.management.console.help/html/gettingstarted/change_password.html b/src/com.gluster.storage.management.console.help/html/gettingstarted/change_password.html
index 2bd9ff5e..d5189d98 100644
--- a/src/com.gluster.storage.management.console.help/html/gettingstarted/change_password.html
+++ b/src/com.gluster.storage.management.console.help/html/gettingstarted/change_password.html
@@ -20,7 +20,7 @@ following steps.</p>
<li>Open your web browser.
<li>Type the following URL in your web browser:
<p><FONT FACE = "Courier">
- http://server-name:webserver-port/glustermg/gluster-management-console.jnlp
+ https://server-name:webserver-port/glustermg/
</FONT></p>
<p><b>Gluster Management Console</b> login window is displayed.</p>
<p><img src="../images/GMC_Change_Password.jpg" height="150" width="250" alt="Change Default Password" /></p>
diff --git a/src/com.gluster.storage.management.console.help/html/tasks/access_gmc_jws.html b/src/com.gluster.storage.management.console.help/html/tasks/access_gmc_jws.html
index bc62ef9b..79c42427 100644
--- a/src/com.gluster.storage.management.console.help/html/tasks/access_gmc_jws.html
+++ b/src/com.gluster.storage.management.console.help/html/tasks/access_gmc_jws.html
@@ -18,7 +18,7 @@ To start Gluster Management Console using Java web start, perform the following
<li>Your web browser has cookies and Javascript enabled.
</ul>
<li>Type the following URL in your web browser:
-<p><FONT FACE = "Courier">http://server-name:webserver-port/glustermg/gluster-management-console.jnlp</FONT>
+<p><FONT FACE = "Courier">https://server-name:webserver-port/glustermg/</FONT>
<p>Gluster Management Console login window is displayed.</p>
<img src="../images/GMC_Login_Window.jpg" alt="Gluster Management Console"/>
<li>Type the following default user name and password in the login window:
diff --git a/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/actions/DownloadVolumeLogsAction.java b/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/actions/DownloadVolumeLogsAction.java
index 81abb01f..edf09f33 100644
--- a/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/actions/DownloadVolumeLogsAction.java
+++ b/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/actions/DownloadVolumeLogsAction.java
@@ -39,23 +39,28 @@ public class DownloadVolumeLogsAction extends AbstractActionDelegate {
@Override
protected void performAction(IAction action) {
final VolumesClient client = new VolumesClient();
- Volume volume = guiHelper.getSelectedEntity(getWindow(), Volume.class);
+ final Volume volume = guiHelper.getSelectedEntity(getWindow(), Volume.class);
FileDialog dialog = new FileDialog(getShell(), SWT.SAVE);
dialog.setFilterNames(new String[] { "GZipped Tar (*.tar.gz)" });
dialog.setFilterExtensions(new String[] { "*.tar.gz" });
- String filePath = dialog.open();
+ final String filePath = dialog.open();
if (filePath == null) {
return;
}
- String title = "Download Volume Logs [" + volume.getName() + "]";
- try {
- client.downloadLogs(volume.getName(), filePath);
- showInfoDialog(title, "Volume logs downloaded successfully to [" + filePath + "]");
- } catch (Exception e) {
- showErrorDialog(title, e.getMessage());
- }
+ Display.getDefault().asyncExec(new Runnable() {
+ @Override
+ public void run() {
+ String title = "Download Volume Logs [" + volume.getName() + "]";
+ try {
+ client.downloadLogs(volume.getName(), filePath);
+ showInfoDialog(title, "Volume logs downloaded successfully to [" + filePath + "]");
+ } catch (Exception e) {
+ showErrorDialog(title, e.getMessage());
+ }
+ }
+ });
}
}
diff --git a/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/views/NavigationView.java b/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/views/NavigationView.java
index bb942586..21fc4c7a 100644
--- a/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/views/NavigationView.java
+++ b/src/com.gluster.storage.management.console/src/com/gluster/storage/management/console/views/NavigationView.java
@@ -89,6 +89,7 @@ public class NavigationView extends ViewPart implements ISelectionListener {
@Override
public void volumeChanged(Volume volume, Event event) {
super.volumeChanged(volume, event);
+ treeViewer.update(volume, null);
if (volume == entity) {
// this makes sure that the toolbar buttons get updated according to new status
selectEntity(volume);