Revision 440b7828
Added by Andreas Müller over 4 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/ErmsImportActivator.java | ||
---|---|---|
37 | 37 |
static final Source ermsSource = PesiSources.PESI2019_ERMS(); |
38 | 38 |
|
39 | 39 |
// static final ICdmDataSource cdmDestination = CdmDestinations.test_cdm_pesi_erms(); |
40 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_erms(); |
|
41 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_erms2();
|
|
40 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_erms();
|
|
41 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_erms2(); |
|
42 | 42 |
|
43 | 43 |
static final Source pesiDestination = |
44 | 44 |
cdmDestination == CdmDestinations.cdm_test_local_mysql_erms()? |
... | ... | |
62 | 62 |
// static final DO_REFERENCES doReferences = DO_REFERENCES.ALL; |
63 | 63 |
// static final boolean doTaxa = true; |
64 | 64 |
// static final boolean doRelTaxa = doTaxa; //should always run with doTaxa because dependent on state from doTaxa |
65 |
// static final boolean doSourceUse = false;
|
|
66 |
// static final boolean doCommonNames = false;
|
|
67 |
// static final boolean doNotes = false;
|
|
68 |
// static final boolean doDistributions = false;
|
|
69 |
// static final boolean doLinks = false;
|
|
70 |
// static final boolean doImages = false;
|
|
65 |
// static final boolean doSourceUse = true;
|
|
66 |
// static final boolean doCommonNames = true;
|
|
67 |
// static final boolean doNotes = true;
|
|
68 |
// static final boolean doDistributions = true;
|
|
69 |
// static final boolean doLinks = true;
|
|
70 |
// static final boolean doImages = true;
|
|
71 | 71 |
|
72 | 72 |
//******************** NONE ***************************************// |
73 | 73 |
// |
74 | 74 |
static final DO_REFERENCES doReferences = DO_REFERENCES.NONE; |
75 | 75 |
static final boolean doTaxa = false; |
76 | 76 |
static final boolean doRelTaxa = doTaxa; //should always run with doTaxa because depends on state from doTaxa |
77 |
static final boolean doSourceUse = true;
|
|
77 |
static final boolean doSourceUse = true;
|
|
78 | 78 |
static final boolean doCommonNames = true; |
79 | 79 |
static final boolean doNotes = true; |
80 | 80 |
static final boolean doDistributions = true; |
81 |
static final boolean doLinks = true;
|
|
81 |
static final boolean doLinks = false;
|
|
82 | 82 |
static final boolean doImages = true; |
83 | 83 |
|
84 | 84 |
private static DbSchemaValidation hbm2dll = (doReferences == DO_REFERENCES.ALL)? DbSchemaValidation.CREATE:DbSchemaValidation.VALIDATE; |
Also available in: Unified diff
ref #8508 latest changes to ERMS validator and activators