Revision e4598bb4
Added by Andreas Müller over 4 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/common/PesiSources.java | ||
---|---|---|
83 | 83 |
return makeSource(dbms, strServer, strDB, port, userName, null); |
84 | 84 |
} |
85 | 85 |
|
86 |
public static Source PESI2019_ERMS(){
|
|
86 |
public static Source PESI2019_ERMS_2018(){
|
|
87 | 87 |
// BerlinModel - Pesi-ERMS |
88 | 88 |
String dbms = Source.SQL_SERVER_2008; |
89 | 89 |
String strServer = "BGBM-PESISQL\\SQLEXPRESS"; |
90 |
String strDB = "erms"; |
|
90 |
String strDB = "erms_2018_07_05"; |
|
91 |
int port = 1434; |
|
92 |
String userName = "pesiimport"; |
|
93 |
return makeSource(dbms, strServer, strDB, port, userName, null); |
|
94 |
} |
|
95 |
|
|
96 |
public static Source PESI2019_ERMS_2019(){ |
|
97 |
// BerlinModel - Pesi-ERMS |
|
98 |
String dbms = Source.SQL_SERVER_2008; |
|
99 |
String strServer = "BGBM-PESISQL\\SQLEXPRESS"; |
|
100 |
String strDB = "erms2019_12_16"; |
|
91 | 101 |
int port = 1434; |
92 | 102 |
String userName = "pesiimport"; |
93 | 103 |
return makeSource(dbms, strServer, strDB, port, userName, null); |
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/ErmsImportActivator.java | ||
---|---|---|
34 | 34 |
|
35 | 35 |
private static final Logger logger = Logger.getLogger(ErmsImportActivator.class); |
36 | 36 |
|
37 |
// static final Source ermsSource = PesiSources.PESI3_ERMS();
|
|
38 |
static final Source ermsSource = PesiSources.PESI2019_ERMS(); |
|
37 |
// static final Source ermsSource = PesiSources.PESI2019_ERMS_2018();
|
|
38 |
static final Source ermsSource = PesiSources.PESI2019_ERMS_2019();
|
|
39 | 39 |
|
40 | 40 |
// static final ICdmDataSource cdmDestination = CdmDestinations.test_cdm_pesi_erms(); |
41 | 41 |
|
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/validate/PesiErmsValidator.java | ||
---|---|---|
31 | 31 |
|
32 | 32 |
private static final Logger logger = Logger.getLogger(PesiErmsValidator.class); |
33 | 33 |
|
34 |
private static final Source defaultSource = PesiSources.PESI2019_ERMS(); |
|
34 |
private static final Source defaultSource = PesiSources.PESI2019_ERMS_2018();
|
|
35 | 35 |
// private static final Source defaultDestination = PesiDestinations.pesi_test_local_CDM_ERMS2PESI(); |
36 | 36 |
private static final Source defaultDestination = PesiDestinations.pesi_test_local_CDM_ERMS2PESI_2(); |
37 | 37 |
|
Also available in: Unified diff
ref #1444 add new ERMS source and rename old one