Revision 76a5e528
Added by Andreas Müller almost 6 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/edaphobase/EdaphobaseActivator.java | ||
---|---|---|
38 | 38 |
static DbSchemaValidation dbSchemaValidation = DbSchemaValidation.CREATE; |
39 | 39 |
|
40 | 40 |
// static final Source edaphoSource = CdmImportSources.EDAPHOBASE(); |
41 |
static final Source edaphoSource = CdmImportSources.EDAPHOBASE6();
|
|
41 |
static final Source edaphoSource = CdmImportSources.EDAPHOBASE8();
|
|
42 | 42 |
|
43 | 43 |
// static final ICdmDataSource cdmDestination = CdmDestinations.localH2(); |
44 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_edaphobase(); |
|
44 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_local_edaphobase();
|
|
45 | 45 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_production_edaphobase(); |
46 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_postgres_edaphobase(); |
|
47 |
// static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_postgres_edaphobase(); |
|
48 |
static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_postgres_edaphobase(); |
|
49 |
|
|
50 |
|
|
46 | 51 |
|
47 | 52 |
//feature tree uuid |
48 | 53 |
private static final UUID featureTreeUuid = UUID.fromString("a543d66a-e310-4b3e-a9fa-b729afefad16"); |
... | ... | |
59 | 64 |
private static final boolean doReferences = true; |
60 | 65 |
private static final boolean doDescriptions = false; |
61 | 66 |
|
67 |
//logging |
|
68 |
private static final boolean ignoreSubgenus = true; |
|
69 |
private static final boolean ignore4nomial = true; |
|
70 |
|
|
62 | 71 |
|
63 | 72 |
//check - import |
64 | 73 |
static CHECK check = CHECK.IMPORT_WITHOUT_CHECK; |
... | ... | |
77 | 86 |
config.setDoDescriptions(doDescriptions); |
78 | 87 |
config.setCheck(check); |
79 | 88 |
|
89 |
config.setIgnoreSubgenus(ignoreSubgenus); |
|
90 |
config.setIgnore4nomial(ignore4nomial); |
|
91 |
|
|
80 | 92 |
CdmDefaultImport<EdaphobaseImportConfigurator> myImport = new CdmDefaultImport<>(); |
81 | 93 |
myImport.invoke(config); |
82 | 94 |
|
Also available in: Unified diff
ref #5499, ref #6517 latest changes to Edaphobase import (also stable uuids)