@SuppressWarnings("unused")
private static Logger logger = Logger.getLogger(CdmDestinations.class);
- public static ICdmDataSource cdm_1_1(){
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_1_1"; // values: "cdm_1_1" "cdm_build"
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
-
- public static ICdmDataSource cdm_build(){
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_build"; // values: "cdm_1_1" "cdm_build"
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
/**
* Intended to be used for imports
*/
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
- public static ICdmDataSource cdm_import(){
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_import";
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
- public static ICdmDataSource cdm_test(){
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_test"; // values: "cdm_1_1" "cdm_build"
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
public static ICdmDataSource cdm_test_jaxb(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "192.168.2.10";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
-
- public static ICdmDataSource cdm_test_andreas_palmae(){
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_test_andreas_palmae";
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
- public static ICdmDataSource cdm_test_andreas_cichorieae(){
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_test_andreas_cichorieae";
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
public static ICdmDataSource cdm_test_andreasM(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "192.168.2.10";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
- public static ICdmDataSource cdm_test_andreasM3(){
+ public static ICdmDataSource cdm_test_local_mysql(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_test_andreasM3";
+ String cdmServer = "127.0.0.1";
+ String cdmDB = "cdm_test";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
-
- public static ICdmDataSource cdm_test_local_mysql(){
+
+ public static ICdmDataSource cdm_test_local_mysql_fdac(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "127.0.0.1";
- String cdmDB = "cdm_test";
+ String cdmDB = "fdac";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
- public static ICdmDataSource cdm_editor2(){
+ public static ICdmDataSource cdm_test_local_mysql_test(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_editor_test2";
+ String cdmServer = "127.0.0.1";
+ String cdmDB = "test";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
+
- public static ICdmDataSource cdm_portal(){
+ public static ICdmDataSource cdm_portal(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "192.168.2.10";
String cdmDB = "cdm_portal";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
-
- public static ICdmDataSource cdm_test_eunmok(){
+
+ //
+ public static ICdmDataSource cdm_test_andreasK1(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_test_eunmok";
+ String cdmDB = "cdm_test_andreasK1";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
+
- public static ICdmDataSource cdm_test_eunmok_erms(){
+ public static ICdmDataSource cdm_pesi_erms(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_test_eunmok_erms";
+ String cdmDB = "cdm_pesi_erms";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
-
- public static ICdmDataSource cdm_test_niels1(){
+
+ public static ICdmDataSource cdm_campanulaceae(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_test_niels1";
+ String cdmDB = "cdm_campanulaceae";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
-
- public static ICdmDataSource cdm_test_niels2(){
+
+ public static ICdmDataSource cdm_ildis_dev(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_test_niels2";
+ String cdmServer = "160.45.63.201";
+ String cdmDB = "cdm_edit_ildis";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
- //
- public static ICdmDataSource cdm_test_andreasK1(){
+//
+// public static ICdmDataSource cdm_ildis_production(){
+// DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
+// String cdmServer = "160.45.63.151";
+// String cdmDB = "cdm_edit_ildis";
+// String cdmUserName = "edit";
+// return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
+// }
+
+ public static ICdmDataSource cdm_cyprus_dev(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_test_andreasK1";
+ String cdmServer = "160.45.63.201";
+ String cdmDB = "cdm_cyprus";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
- public static ICdmDataSource cdm_test_andreasK2(){
+ public static ICdmDataSource cdm_cyprus_production(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_test_andreasK2";
+ String cdmServer = "160.45.63.151";
+ String cdmDB = "cdm_production_cyprus";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
-
- public static ICdmDataSource cdm_pesi_erms(){
+ public static ICdmDataSource cdm_cyprus_production_tunnel(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_pesi_erms";
+ String cdmServer = "127.0.0.1";
+ int port = 13306;
+ String cdmDB = "cdm_production_cyprus";
String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
+ return makeDestination(dbType, cdmServer, cdmDB, port, cdmUserName, null);
}
- public static ICdmDataSource cdm_campanulaceae(){
+ public static ICdmDataSource cdm_cyprus_dev_tunnel(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_campanulaceae";
+ String cdmServer = "127.0.0.1";
+ int port = 13306;
+ String cdmDB = "cdm_cyprus";
String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
+ return makeDestination(dbType, cdmServer, cdmDB, port, cdmUserName, null);
}
public static ICdmDataSource cdm_campanulaceae_production(){
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
- public static ICdmDataSource cdm_cichorieae_a_preview(){
+ public static ICdmDataSource cdm_cichorieae_preview(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "160.45.63.201";
- String cdmDB = "cdm_edit_cichorieae_a";
+ String cdmDB = "cdm_edit_cichorieae";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
public static ICdmDataSource cdm_production_cichorieae(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "160.45.63.151";
+// String cdmServer = "127.0.0.1";
String cdmDB = "cdm_production_cichorieae";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
- public static ICdmDataSource cdm_edit_cichorieae_b(){
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_edit_cichorieae_b";
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
public static ICdmDataSource cdm_edit_diptera_a(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "192.168.2.10";
String cdmUserName = "edit";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
-
- public static ICdmDataSource cdm_edit_diptera_b(){
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_edit_diptera_b";
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
public static ICdmDataSource cdm_edit_palmae_a(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
- public static ICdmDataSource cdm_edit_palmae_b(){
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_edit_palmae_b";
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
public static ICdmDataSource cdm_edit_diptera_preview_B(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "127.0.0.1";
return makeDestination(dbType, cdmServer, cdmDB, port, cdmUserName, null);
}
- public static ICdmDataSource cdm_v1_palmae(){
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_v1_palmae";
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
public static ICdmDataSource cdm_edit_salvador(){
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "192.168.2.10";
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
}
- public static ICdmDataSource cdm_import_cichorieae() {
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_import_cichorieae";
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
- public static ICdmDataSource cdm_import_diptera() {
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_import_diptera";
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
- public static ICdmDataSource cdm_import_palmae() {
- DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
- String cdmServer = "192.168.2.10";
- String cdmDB = "cdm_import_palmae";
- String cdmUserName = "edit";
- return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
- }
-
public static ICdmDataSource cdm_import_salvador() {
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
String cdmServer = "192.168.2.10";