Revision d98c0473
Added by Andreas Müller over 3 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/test/function/TestModelUpdate.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.cdm.test.function; |
11 | 10 |
|
12 | 11 |
import java.util.UUID; |
... | ... | |
49 | 48 |
|
50 | 49 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
51 | 50 |
String database = (schema == DbSchemaValidation.VALIDATE ? "cdm515" : "cdm518"); |
51 |
// database = "cdm_test1"; |
|
52 | 52 |
|
53 | 53 |
CdmDataSource dataSource = getDatasource(dbType, database); |
54 | 54 |
try { |
... | ... | |
98 | 98 |
String server = "localhost"; |
99 | 99 |
String username = "edit"; |
100 | 100 |
String serverSql = "130.133.70.26"; |
101 |
// server = "160.45.63.175"; |
|
101 | 102 |
|
102 | 103 |
if (dbType == DatabaseTypeEnum.MySQL){ |
103 | 104 |
return CdmDataSource.NewMySqlInstance(server, database, username, AccountStore.readOrStorePassword(server, database, username, null)); |
Also available in: Unified diff
cleanup