Revision 5b9d66b0
Added by Andreas Müller almost 5 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/berlinModelImport/CampanulaceaeActivator.java | ||
---|---|---|
44 | 44 |
//database validation status (create, update, validate ...) |
45 | 45 |
static DbSchemaValidation hbm2dll = DbSchemaValidation.CREATE; |
46 | 46 |
static final Source berlinModelSource = BerlinModelSources.Campanulaceae(); |
47 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_campanulaceae_production();
|
|
47 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_campanulaceae();
|
|
48 | 48 |
|
49 | 49 |
static final UUID secUuid = UUID.fromString("ed7dd0ea-fcdd-405d-9fe1-52652aa06119"); |
50 | 50 |
static final UUID classificationUuid = UUID.fromString("e305ddac-7200-4293-aa5d-d3426133ed9f"); |
app-import/src/main/java/eu/etaxonomy/cdm/app/bogota/BogotaChecklistActivator.java | ||
---|---|---|
42 | 42 |
|
43 | 43 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
44 | 44 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
45 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_bogota_production();
|
|
45 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_bogota();
|
|
46 | 46 |
|
47 | 47 |
//classification |
48 | 48 |
static final UUID classificationUuid = UUID.fromString("c7779e17-8d45-4429-a9b0-e9c0fce93ec5"); |
app-import/src/main/java/eu/etaxonomy/cdm/app/bogota/BogotaSpecimenActivator.java | ||
---|---|---|
39 | 39 |
|
40 | 40 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
41 | 41 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_bogota(); |
42 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_bogota_production();
|
|
42 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_bogota();
|
|
43 | 43 |
|
44 | 44 |
int minRow = 1; |
45 | 45 |
int maxRow = 1000000; //minRow + 11999; |
app-import/src/main/java/eu/etaxonomy/cdm/app/common/CdmDestinations.java | ||
---|---|---|
300 | 300 |
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null); |
301 | 301 |
} |
302 | 302 |
|
303 |
public static ICdmDataSource cdm_cyprus_production(){
|
|
303 |
public static ICdmDataSource cdm_production_cyprus(){
|
|
304 | 304 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
305 | 305 |
String cdmServer = "160.45.63.171"; |
306 | 306 |
String cdmDB = "cdm_production_cyprus"; |
... | ... | |
324 | 324 |
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null); |
325 | 325 |
} |
326 | 326 |
|
327 |
public static ICdmDataSource cdm_greece_checklist_production(){
|
|
327 |
public static ICdmDataSource cdm_production_greece_checklist(){
|
|
328 | 328 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
329 | 329 |
String cdmServer = "160.45.63.171"; |
330 | 330 |
String cdmDB = "cdm_production_flora_greece"; |
... | ... | |
340 | 340 |
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null); |
341 | 341 |
} |
342 | 342 |
|
343 |
public static ICdmDataSource cdm_bogota_production(){
|
|
343 |
public static ICdmDataSource cdm_production_bogota(){
|
|
344 | 344 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
345 | 345 |
String cdmServer = "160.45.63.171"; |
346 | 346 |
String cdmDB = "cdm_production_flora_bogota"; |
... | ... | |
348 | 348 |
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null); |
349 | 349 |
} |
350 | 350 |
|
351 |
public static ICdmDataSource cdm_cyprus_production_tunnel(){
|
|
351 |
public static ICdmDataSource cdm_production_tunnel_cyprus(){
|
|
352 | 352 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
353 | 353 |
String cdmServer = "127.0.0.1"; |
354 | 354 |
int port = 13306; |
... | ... | |
366 | 366 |
// return makeDestination(dbType, cdmServer, cdmDB, port, cdmUserName, null); |
367 | 367 |
// } |
368 | 368 |
|
369 |
public static ICdmDataSource cdm_campanulaceae_production(){
|
|
369 |
public static ICdmDataSource cdm_production_campanulaceae(){
|
|
370 | 370 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
371 | 371 |
String cdmServer = "160.45.63.171"; |
372 | 372 |
String cdmDB = "cdm_production_campanulaceae"; |
... | ... | |
483 | 483 |
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null); |
484 | 484 |
} |
485 | 485 |
|
486 |
public static ICdmDataSource cdm_globis_production(){
|
|
486 |
public static ICdmDataSource cdm_production_globis(){
|
|
487 | 487 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
488 | 488 |
String cdmServer = "160.45.63.171"; |
489 | 489 |
String cdmDB = "cdm_production_globis"; |
... | ... | |
508 | 508 |
} |
509 | 509 |
|
510 | 510 |
|
511 |
public static ICdmDataSource NULL(){ |
|
512 |
return null; |
|
513 |
} |
|
514 |
|
|
515 |
|
|
516 | 511 |
public static ICdmDataSource localH2(){ |
517 | 512 |
return CdmDataSource.NewH2EmbeddedInstance("cdm", "sa", ""); |
518 | 513 |
} |
app-import/src/main/java/eu/etaxonomy/cdm/app/cyprus/CyprusImagesActivator.java | ||
---|---|---|
73 | 73 |
private static final Logger logger = Logger.getLogger(CyprusImagesActivator.class); |
74 | 74 |
|
75 | 75 |
|
76 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_cyprus_dev();
|
|
77 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_cyprus_production();
|
|
76 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_cyprus_dev(); |
|
77 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_cyprus();
|
|
78 | 78 |
|
79 | 79 |
static boolean testOnly = false; |
80 | 80 |
static boolean update_notCreate = false; |
... | ... | |
312 | 312 |
logger.warn("Person could not be parsed: " + artist + " for file " + fileName); |
313 | 313 |
} |
314 | 314 |
|
315 |
person = (Person)deduplicationHelper.getExistingAuthor(null, person);
|
|
315 |
person = deduplicationHelper.getExistingAuthor(null, person); |
|
316 | 316 |
return person; |
317 | 317 |
} |
318 | 318 |
|
app-import/src/main/java/eu/etaxonomy/cdm/app/dwca/DwcaExportActivator.java | ||
---|---|---|
47 | 47 |
// private static final ICdmDataSource cdmSource = CdmDestinations.cdm_test_local_mysql(); |
48 | 48 |
// private static final ICdmDataSource cdmSource = CdmDestinations.cdm_production_cichorieae(); |
49 | 49 |
// private static final ICdmDataSource cdmSource = CdmDestinations.cdm_flora_central_africa_production(); |
50 |
private static final ICdmDataSource cdmSource = CdmDestinations.cdm_cyprus_production();
|
|
50 |
private static final ICdmDataSource cdmSource = CdmDestinations.cdm_production_cyprus();
|
|
51 | 51 |
|
52 | 52 |
private IProgressMonitor monitor = DefaultProgressMonitor.NewInstance(); |
53 | 53 |
|
app-import/src/main/java/eu/etaxonomy/cdm/app/globis/GlobisActivator.java | ||
---|---|---|
43 | 43 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
44 | 44 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql(); |
45 | 45 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_globis(); |
46 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_globis_production();
|
|
46 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_globis();
|
|
47 | 47 |
|
48 | 48 |
|
49 | 49 |
|
app-import/src/main/java/eu/etaxonomy/cdm/app/greece/GreeceActivator.java | ||
---|---|---|
45 | 45 |
|
46 | 46 |
static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
47 | 47 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
48 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_greece_checklist_production();
|
|
48 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_greece_checklist();
|
|
49 | 49 |
|
50 | 50 |
//feature tree uuid |
51 | 51 |
public static final UUID featureTreeUuid = UUID.fromString("9e1e0e81-7475-4b28-8619-b7f42cd760b6"); |
app-import/src/main/java/eu/etaxonomy/cdm/app/greece/GreeceGenusAuthorActivator.java | ||
---|---|---|
37 | 37 |
|
38 | 38 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
39 | 39 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
40 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_greece_checklist_production();
|
|
40 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_greece_checklist();
|
|
41 | 41 |
|
42 | 42 |
private static final UUID sourceUuid = UUID.fromString("65e2cd54-8378-4949-9cb7-b973d2033da6"); |
43 | 43 |
private static final String fileName = "Nov2017changes.xlsx"; |
app-import/src/main/java/eu/etaxonomy/cdm/app/greece/GreeceImageActivator.java | ||
---|---|---|
41 | 41 |
|
42 | 42 |
static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
43 | 43 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
44 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_greece_checklist_production();
|
|
44 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_greece_checklist();
|
|
45 | 45 |
|
46 | 46 |
// private static final UUID sourceUuid = UUID.fromString("0fd093fe-ffdf-4ace-847b-aad6f0659678"); |
47 | 47 |
private static final UUID sourceUuid = UUID.fromString("9e6a3815-fb8d-46c3-a250-6d8a350d03fc"); |
app-import/src/main/java/eu/etaxonomy/cdm/app/greece/GreeceImagesUpdaterActivator.java | ||
---|---|---|
38 | 38 |
|
39 | 39 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
40 | 40 |
//static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
41 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_greece_checklist_production();
|
|
41 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_greece_checklist();
|
|
42 | 42 |
|
43 | 43 |
static boolean testOnly = false; |
44 | 44 |
int partition = 3; |
app-import/src/main/java/eu/etaxonomy/cdm/app/greece/GreeceImagesUpdaterTurlandActivator.java | ||
---|---|---|
35 | 35 |
|
36 | 36 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
37 | 37 |
//static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
38 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_greece_checklist_production();
|
|
38 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_greece_checklist();
|
|
39 | 39 |
|
40 | 40 |
static boolean testOnly = false; |
41 | 41 |
|
app-import/src/main/java/eu/etaxonomy/cdm/app/greece/GreeceLargeImagesAdderActivator.java | ||
---|---|---|
39 | 39 |
|
40 | 40 |
|
41 | 41 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
42 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_greece_checklist_production();
|
|
42 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_greece_checklist();
|
|
43 | 43 |
|
44 | 44 |
static boolean testOnly = false; |
45 | 45 |
|
app-import/src/main/java/eu/etaxonomy/cdm/app/greece/GreeceWillingActivator.java | ||
---|---|---|
36 | 36 |
|
37 | 37 |
|
38 | 38 |
static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
39 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_greece_checklist_production();
|
|
39 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_greece_checklist();
|
|
40 | 40 |
boolean doCheckNames = false; |
41 | 41 |
|
42 | 42 |
private static final UUID sourceUuid = UUID.fromString("70efe59f-8b0c-4f83-b54e-2a16f567fe8e"); |
app-import/src/main/java/eu/etaxonomy/cdm/app/i4life/col/ColDwcaExportActivator.java | ||
---|---|---|
47 | 47 |
// private static final ICdmDataSource cdmSource = CdmDestinations.cdm_test_local_mysql(); |
48 | 48 |
// private static final ICdmDataSource cdmSource = CdmDestinations.cdm_production_cichorieae(); |
49 | 49 |
// private static final ICdmDataSource cdmSource = CdmDestinations.cdm_flora_central_africa_production(); |
50 |
private static final ICdmDataSource cdmSource = CdmDestinations.cdm_cyprus_production();
|
|
50 |
private static final ICdmDataSource cdmSource = CdmDestinations.cdm_production_cyprus();
|
|
51 | 51 |
|
52 | 52 |
private IProgressMonitor monitor = DefaultProgressMonitor.NewInstance(); |
53 | 53 |
|
Also available in: Unified diff
cleanup some production destinations