String userName = "webUser";\r
return makeSource(dbms, strServer, strDB, port, userName, null);\r
}\r
+ \r
+ public static Source mcl(){\r
+ // BerlinModel - Euro+Med\r
+ String dbms = Source.SQL_SERVER_2008;\r
+ String strServer = "BGBM42";\r
+ String strDB = "MCL";\r
+ int port = 1433;\r
+ String userName = "WebUser";\r
+ return makeSource(dbms, strServer, strDB, port, userName, null);\r
+ }\r
+ \r
+ public static Source iopi(){\r
+ // BerlinModel - Euro+Med\r
+ String dbms = Source.SQL_SERVER_2008;\r
+ String strServer = "BGBM17";\r
+ String strDB = "IOPIBM";\r
+ int port = 1433;\r
+ String userName = "WebUser";\r
+ return makeSource(dbms, strServer, strDB, port, userName, null);\r
+ }\r
\r
public static Source PESI3_euroMed(){\r
// BerlinModel - Euro+Med\r
* @param pwd
* @return
*/
- private static ICdmDataSource makeDestination(DatabaseTypeEnum dbType, String cdmServer, String cdmDB, int port, String cdmUserName, String pwd ){
+ public static ICdmDataSource makeDestination(DatabaseTypeEnum dbType, String cdmServer, String cdmDB, int port, String cdmUserName, String pwd ){
//establish connection
pwd = AccountStore.readOrStorePassword(cdmServer, cdmDB, cdmUserName, pwd);
ICdmDataSource destination;