update PESI destinations
authorAndreas Müller <a.mueller@bgbm.org>
Tue, 10 Jan 2012 13:46:05 +0000 (13:46 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Tue, 10 Jan 2012 13:46:05 +0000 (13:46 +0000)
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/PesiDestinations.java
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/PesiExportActivator.java

index a44aa56aaf7ba2c7a46a58a4256e6f38111a41a7..818150f79c95a83e7406c9fbd86a42da850024ea 100644 (file)
@@ -31,31 +31,10 @@ public class PesiDestinations {
                String strDB = "PESI_V10";\r
                int port = 1433;\r
                String userName = "sa";\r
-               String pwd = "bewell";\r
-               return makeSource(dbms, strServer, strDB, port, userName, pwd);\r
+               return makeSource(dbms, strServer, strDB, port, userName, null);\r
        }\r
        \r
-       public static Source pesi_test_local_CDM_DWH_FaEu(){\r
-               //      CDM - PESI\r
-               String dbms = Source.SQL_SERVER_2008;\r
-               String strServer = "C206\\MSSQLSERVER2";\r
-               String strDB = "CDM_DWH_FaEu";\r
-               int port = 1433;\r
-               String userName = "sa";\r
-               String pwd = "bewell";\r
-               return makeSource(dbms, strServer, strDB, port, userName, pwd);\r
-       }\r
-       \r
-       public static Source pesi_test_local_PESI_V11(){\r
-               //      CDM - PESI\r
-               String dbms = Source.SQL_SERVER_2008;\r
-               String strServer = "C206\\MSSQLSERVER2";\r
-               String strDB = "PESI_V11_LOCAL";\r
-               int port = 1433;\r
-               String userName = "sa";\r
-               String pwd = "bewell";\r
-               return makeSource(dbms, strServer, strDB, port, userName, pwd);\r
-       }\r
+\r
        \r
        public static Source pesi_test_bgbm42_CDM_DWH_FaEu(){\r
                //      CDM - PESI\r
@@ -64,8 +43,7 @@ public class PesiDestinations {
                String strDB = "CDM_DWH_FaEu";\r
                int port = 1433;\r
                String userName = "WebUser";\r
-               String pwd = "";\r
-               return makeSource(dbms, strServer, strDB, port, userName, pwd);\r
+               return makeSource(dbms, strServer, strDB, port, userName, null);\r
        }\r
        \r
        public static Source pesi_test_bgbm42_PESI_V11(){\r
@@ -75,8 +53,7 @@ public class PesiDestinations {
                String strDB = "PESI_v11";\r
                int port = 1433;\r
                String userName = "WebUser";\r
-               String pwd = "";\r
-               return makeSource(dbms, strServer, strDB, port, userName, pwd);\r
+               return makeSource(dbms, strServer, strDB, port, userName, null);\r
        }\r
        \r
        /**\r
index 76230a538970c69afa79915f68b0d7693d1aee15..626d82ef649426907ded1b85bc41613c733a4fd0 100644 (file)
@@ -34,7 +34,7 @@ public class PesiExportActivator {
        private static final Logger logger = Logger.getLogger(PesiExportActivator.class);\r
 \r
        //database validation status (create, update, validate ...)\r
-       static final Source pesiDestination = PesiDestinations.pesi_test_local_CDM_DWH_FaEu();\r
+       static final Source pesiDestination = PesiDestinations.pesi_test_local_PESI_V10();\r
        static final ICdmDataSource cdmSource = CdmDestinations.cdm_test_jaxb2();\r
        static final UUID secUuid = UUID.fromString("d03ef02a-f226-4cb1-bdb4-f6c154f08a34");\r
        static final int sourceSecId = 7331;\r