Revision 3d4b3223
Added by Andreas Müller almost 5 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/abcdImport/SynthesysCacheActivator.java | ||
---|---|---|
41 | 41 |
|
42 | 42 |
// static final ICdmDataSource cdmDestination = CdmDestinations.mon_cdm(); |
43 | 43 |
// static DbSchemaValidation hbm2dll = DbSchemaValidation.CREATE; |
44 |
static final ICdmDataSource cdmDestination = CdmDestinations.proibiosphere_chenopodium_local();
|
|
44 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_proibiosphere_chenopodium();
|
|
45 | 45 |
static DbSchemaValidation hbm2dll = DbSchemaValidation.VALIDATE; |
46 | 46 |
static final CHECK check = CHECK.IMPORT_WITHOUT_CHECK; |
47 | 47 |
|
app-import/src/main/java/eu/etaxonomy/cdm/app/common/CdmDestinations.java | ||
---|---|---|
291 | 291 |
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null); |
292 | 292 |
} |
293 | 293 |
|
294 |
public static ICdmDataSource cdm_germanSL_production(){
|
|
294 |
public static ICdmDataSource cdm_production_germanSL(){
|
|
295 | 295 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
296 | 296 |
String cdmServer = "160.45.63.171"; |
297 | 297 |
String cdmDB = "cdm_production_rl_german_sl"; |
... | ... | |
340 | 340 |
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null); |
341 | 341 |
} |
342 | 342 |
|
343 |
public static ICdmDataSource cdm_mexico_rubiaceae_production(){
|
|
343 |
public static ICdmDataSource cdm_production_mexico_rubiaceae(){
|
|
344 | 344 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
345 | 345 |
String cdmServer = "160.45.63.171"; |
346 | 346 |
String cdmDB = "cdm_production_rubiaceae_mexico"; |
... | ... | |
598 | 598 |
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null); |
599 | 599 |
} |
600 | 600 |
|
601 |
public static ICdmDataSource cdm_salvador_production(){
|
|
601 |
public static ICdmDataSource cdm_production_salvador(){
|
|
602 | 602 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
603 | 603 |
String cdmServer = "160.45.63.171"; |
604 | 604 |
String cdmDB = "cdm_production_salvador"; |
... | ... | |
702 | 702 |
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null); |
703 | 703 |
} |
704 | 704 |
|
705 |
public static ICdmDataSource proibiosphere_chenopodium_local() {
|
|
705 |
public static ICdmDataSource cdm_local_proibiosphere_chenopodium() {
|
|
706 | 706 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
707 | 707 |
String cdmServer = "localhost"; |
708 | 708 |
String cdmDB = "cdm_production_proibiosphere_chenopodium_pilot"; |
... | ... | |
710 | 710 |
return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null); |
711 | 711 |
} |
712 | 712 |
|
713 |
public static ICdmDataSource proibiosphere_spiders_local() {
|
|
713 |
public static ICdmDataSource cdm_local_proibiosphere_spiders() {
|
|
714 | 714 |
DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL; |
715 | 715 |
String cdmServer = "localhost"; |
716 | 716 |
String cdmDB = "cdm_production_proibiosphere_spiders_pilot"; |
app-import/src/main/java/eu/etaxonomy/cdm/app/mexico/MexicoBorhidiActivator.java | ||
---|---|---|
39 | 39 |
|
40 | 40 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
41 | 41 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
42 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_mexico_rubiaceae_production();
|
|
42 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_mexico_rubiaceae();
|
|
43 | 43 |
|
44 | 44 |
static boolean invers = true; |
45 | 45 |
|
app-import/src/main/java/eu/etaxonomy/cdm/app/mexico/MexicoConabioActivator.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_mexico_rubiaceae_production();
|
|
48 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_mexico_rubiaceae();
|
|
49 | 49 |
|
50 | 50 |
static final boolean doTaxa = true; |
51 | 51 |
static final boolean doDistributions = true; |
app-import/src/main/java/eu/etaxonomy/cdm/app/proibiosphere/SpecimenImportActivator.java | ||
---|---|---|
37 | 37 |
|
38 | 38 |
|
39 | 39 |
|
40 |
static final ICdmDataSource cdmDestination = CdmDestinations.proibiosphere_chenopodium_local();
|
|
40 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_proibiosphere_chenopodium();
|
|
41 | 41 |
//check - import |
42 | 42 |
static final CHECK check = CHECK.IMPORT_WITHOUT_CHECK; |
43 | 43 |
|
app-import/src/main/java/eu/etaxonomy/cdm/app/proibiosphere/SynthesysCacheActivator.java | ||
---|---|---|
40 | 40 |
final static String xmlSource = "/home/pkelbert/Documents/Proibiosphere/ChenopodiumQuentin/dca UK records.xls"; |
41 | 41 |
|
42 | 42 |
|
43 |
static final ICdmDataSource cdmDestination = CdmDestinations.proibiosphere_spiders_local();
|
|
43 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_proibiosphere_spiders();
|
|
44 | 44 |
static DbSchemaValidation hbm2dll = DbSchemaValidation.VALIDATE; |
45 | 45 |
// static final ICdmDataSource cdmDestination = CdmDestinations.proibiosphere_local(); |
46 | 46 |
// static DbSchemaValidation hbm2dll = DbSchemaValidation.VALIDATE; |
app-import/src/main/java/eu/etaxonomy/cdm/app/redlist/GermanSLActivator.java | ||
---|---|---|
37 | 37 |
static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
38 | 38 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
39 | 39 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_redlist_germanSL_preview(); |
40 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_germanSL_production();
|
|
40 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_germanSL();
|
|
41 | 41 |
|
42 | 42 |
static String versionString = "version_1_3_4"; |
43 | 43 |
|
app-import/src/main/java/eu/etaxonomy/cdm/app/redlist/RedListGefaesspflanzenExcelActivator.java | ||
---|---|---|
32 | 32 |
static final URI mySource = redListPlantaeChecklist(); |
33 | 33 |
|
34 | 34 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
35 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_test_mysql(); |
|
35 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_test_mysql(); |
|
36 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_cdmtest_mysql(); |
|
37 |
|
|
36 | 38 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_redlist_gefaesspflanzen(); |
37 | 39 |
|
38 | 40 |
//feature tree uuid |
app-import/src/main/java/eu/etaxonomy/cdm/app/salvador/SalvadorActivator.java | ||
---|---|---|
53 | 53 |
static final Source berlinModelSource = BerlinModelSources.El_Salvador(); |
54 | 54 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
55 | 55 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_salvador_preview(); |
56 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_salvador_production();
|
|
56 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_salvador();
|
|
57 | 57 |
static final UUID treeUuid = UUID.fromString("b010c84d-6049-45f4-9f13-c065101eaa26"); |
58 | 58 |
static final UUID secUuid = UUID.fromString("d03ef02a-f226-4cb1-bdb4-f6c154f08a34"); |
59 | 59 |
static final int sourceSecId = 7331; |
app-import/src/main/java/eu/etaxonomy/cdm/app/salvador/SalvadorSpecimenActivator.java | ||
---|---|---|
37 | 37 |
|
38 | 38 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
39 | 39 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_salvador(); |
40 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_salvador_production();
|
|
40 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_salvador();
|
|
41 | 41 |
|
42 | 42 |
//check - import |
43 | 43 |
static final CHECK check = CHECK.IMPORT_WITHOUT_CHECK; |
app-import/src/main/java/eu/etaxonomy/cdm/app/salvador/TestSalvadorAreaMapping.java | ||
---|---|---|
38 | 38 |
|
39 | 39 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_test(); |
40 | 40 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_salvador_preview(); |
41 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_salvador_production();
|
|
41 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_salvador();
|
|
42 | 42 |
|
43 | 43 |
|
44 | 44 |
protected void doTest(ICdmDataSource cdmDestination){ |
Also available in: Unified diff
cleanup some production destinations