Revision 29d0b0f6
Added by Andreas Müller over 2 years ago
app-import/src/main/java/eu/etaxonomy/cdm/database/update/BgbmInstancesUpdater.java | ||
---|---|---|
24 | 24 |
private static String productionServer = "160.45.63.171"; |
25 | 25 |
// private static String testServer = "160.45.63.175"; |
26 | 26 |
private static String testServer = "edit-test.bgbm.fu-berlin.de"; //preliminary |
27 |
private static String mexicoServer = "132.248.13.83"; |
|
27 | 28 |
|
28 | 29 |
private static String[] integrationDatabases = new String[]{ |
29 | 30 |
"cdm_integration_cichorieae", |
... | ... | |
64 | 65 |
"cdm_caryo_caryophyllales","cdm_flora_malesiana_prospective","cdm_pesi_all", |
65 | 66 |
}; |
66 | 67 |
|
68 |
private static String[] phycobankDatabase = new String[]{ |
|
69 |
"cdm_production_phycobank" |
|
70 |
}; |
|
71 |
|
|
72 |
private static String[] mexicoDatabase = new String[]{ |
|
73 |
"cdm_flora_mexico" |
|
74 |
}; |
|
75 |
|
|
67 | 76 |
private static String[] productionDatabases = new String[]{ |
68 | 77 |
"cdm_production_col", |
69 | 78 |
"cdm_production_algaterra", |
... | ... | |
99 | 108 |
"cdm_production_myristicaceae", |
100 | 109 |
"cdm_production_oxalis", |
101 | 110 |
"cdm_production_palmae", |
102 |
"cdm_production_phycobank", |
|
103 | 111 |
"cdm_production_piB_ants_pilot", |
104 | 112 |
"cdm_production_piB_campylopus_pilot", |
105 | 113 |
"cdm_production_piB_chenopodium_pilot", |
... | ... | |
197 | 205 |
|
198 | 206 |
private enum BgbmServer{ |
199 | 207 |
INTEGRATION (integrationServer, integrationDatabases), |
200 |
TEST(testServer,testDatabases), |
|
201 |
PRODUCTION(productionServer,productionDatabases); |
|
202 |
private final String server; |
|
208 |
TEST(testServer, testDatabases), |
|
209 |
PRODUCTION(productionServer, productionDatabases), |
|
210 |
PHYCOBANK(productionServer, phycobankDatabase), |
|
211 |
MEXICO(mexicoServer, mexicoDatabase); |
|
212 |
private final String server; |
|
203 | 213 |
private final String[] databases; |
204 | 214 |
private BgbmServer(String server, String[] databases){ |
205 | 215 |
this.server = server; |
Also available in: Unified diff
some upgrade for BgbmInstancesUpdater