summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com.gluster.storage.management.client/src/com/gluster/storage/management/client/RESTClientTest.java42
-rw-r--r--src/com.gluster.storage.management.server.scripts/src/Globals.py2
2 files changed, 1 insertions, 43 deletions
diff --git a/src/com.gluster.storage.management.client/src/com/gluster/storage/management/client/RESTClientTest.java b/src/com.gluster.storage.management.client/src/com/gluster/storage/management/client/RESTClientTest.java
deleted file mode 100644
index 05e1e094..00000000
--- a/src/com.gluster.storage.management.client/src/com/gluster/storage/management/client/RESTClientTest.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2011 Gluster, Inc. <http://www.gluster.com>
- * This file is part of Gluster Management Console.
- *
- * Gluster Management Console is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * Gluster Management Console is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
- * for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see
- * <http://www.gnu.org/licenses/>.
- *******************************************************************************/
-package com.gluster.storage.management.client;
-
-import java.net.URI;
-
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.UriBuilder;
-
-import com.sun.jersey.api.client.Client;
-import com.sun.jersey.api.client.WebResource;
-import com.sun.jersey.api.client.config.DefaultClientConfig;
-
-public class RESTClientTest {
- public static void main(String args[]) {
- WebResource service = Client.create(new DefaultClientConfig()).resource(getBaseURI());
- String name = service.path("services").path("name").accept(MediaType.TEXT_PLAIN).get(String.class);
- System.out.println(name);
- name = service.path("services").path("name/xml").accept(MediaType.TEXT_XML).get(String.class);
- System.out.println(name);
- }
-
- private static URI getBaseURI() {
- return UriBuilder.fromUri("http://localhost:8080/glustermc").build();
- }
-}
diff --git a/src/com.gluster.storage.management.server.scripts/src/Globals.py b/src/com.gluster.storage.management.server.scripts/src/Globals.py
index 9ae53491..877c6c68 100644
--- a/src/com.gluster.storage.management.server.scripts/src/Globals.py
+++ b/src/com.gluster.storage.management.server.scripts/src/Globals.py
@@ -64,7 +64,7 @@ WEBDAV_DOCUMENT_ROOT_DIR = "/var/www/html"
UPDATES_DIR = "/UPDATES"
TRANSPORT_HOME_DIR = "/transport"
GLUSTERFS_LOG_DIR = "/var/log/glusterfs"
-LOG_DIR = "/var/log/glustermc"
+LOG_DIR = "/var/log/glustermg"
GLUSTER_UPDATES_FILE = "updates.xml"
INSTALLER_STATUS_FILE = "/var/log/install-server-status.log"