Add demo servers to server list
authorCherian Mathew <c.mathew@bgbm.org>
Tue, 15 Sep 2015 14:45:00 +0000 (16:45 +0200)
committerCherian Mathew <c.mathew@bgbm.org>
Tue, 15 Sep 2015 14:45:00 +0000 (16:45 +0200)
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/remoting/source/CdmServerInfo.java

index cfaedf0679f0ece5c0ea7da4597bc8019a758c09..45b121eb55433a5a3a38c1ac554263a7758788d8 100644 (file)
@@ -49,6 +49,12 @@ public class CdmServerInfo {
     private final static String NAME_INTEGRATION = "edit-integration";
     private final static String SERVER_INTEGRATION = "int.e-taxonomy.eu";
 
+    private final static String NAME_DEMO_1 = "edit-WS I";
+    private final static String SERVER_DEMO_1 = "160.45.63.230";
+
+    private final static String NAME_DEMO_2 = "edit-WS II";
+    private final static String SERVER_DEMO_2 = "160.45.63.230";
+
     private final static String NAME_TEST = "edit-test";
     private final static String SERVER_TEST = "test.e-taxonomy.eu";
 
@@ -231,8 +237,10 @@ public class CdmServerInfo {
     public static List<CdmServerInfo> getCdmServers() {
         if(cdmServerInfoList == null) {
             cdmServerInfoList = new ArrayList<CdmServerInfo>();
-            cdmServerInfoList.add(new CdmServerInfo(NAME_PRODUCTION, SERVER_PRODUCTION, 80));
+            //cdmServerInfoList.add(new CdmServerInfo(NAME_PRODUCTION, SERVER_PRODUCTION, 80));
             //cdmServerInfoList.add(new CdmServerInfo(NAME_INTEGRATION, SERVER_INTEGRATION, 80));
+            cdmServerInfoList.add(new CdmServerInfo(NAME_DEMO_1, SERVER_DEMO_1, 80));
+            cdmServerInfoList.add(new CdmServerInfo(NAME_DEMO_2, SERVER_DEMO_2, 80));
             cdmServerInfoList.add(new CdmServerInfo(NAME_TEST, SERVER_TEST, 80));
             cdmServerInfoList.add(new CdmServerInfo(NAME_LOCALHOST, SERVER_LOCALHOST, 8080));
             cdmServerInfoList.add(new CdmServerInfo(NAME_LOCALHOST_MGD, SERVER_LOCALHOST,8080));