Project

General

Profile

Revision bddc23ae

IDbddc23ae3a2d378de0b8bd377bd160293f69c2e3
Parent 567f10b2
Child 207beb84

Added by Andreas Müller 9 months ago

minor changes to PESI Activators

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/common/CdmDestinations.java
44 44
        String cdmServer = "127.0.0.1";
45 45
        String cdmDB = "cdm_pesi_test_leer";
46 46
        String cdmUserName = "edit";
47
        return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
47
        int port = 3306;
48
        return makeDestination(dbType, cdmServer, cdmDB, port, cdmUserName, null);
48 49
    }
49 50

  
50 51
    public static ICdmDataSource cdm_test_local_pesi_leer2(){
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/ErmsImportActivator.java
39 39

  
40 40
//	static final ICdmDataSource cdmDestination = CdmDestinations.test_cdm_pesi_erms();
41 41

  
42
	static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_erms();
42
//	static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_erms();
43 43
//	static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_erms2();
44
	static final ICdmDataSource cdmDestination = CdmDestinations.cdm_pesi2019_final();
44 45

  
45 46

  
46 47
	static final boolean includeExport2PESI = false;
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/EuroMedSourceActivator.java
32 32

  
33 33
    private static final Logger logger = Logger.getLogger(EuroMedSourceActivator.class);
34 34

  
35
//    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_pesi2019_final();
36
    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_euromed();
35
    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_pesi2019_final();
36
//    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_mysql_euromed();
37 37

  
38 38
    static UUID sourceRefUuid = PesiTransformer.uuidSourceRefEuroMed;
39 39
    public static String sourceReferenceTitle = "Euro+Med CDM database";
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/FauEu2CdmActivator.java
24 24
import eu.etaxonomy.cdm.io.common.ITaxonNodeOutStreamPartitioner;
25 25
import eu.etaxonomy.cdm.io.common.TaxonNodeOutStreamPartitioner;
26 26
import eu.etaxonomy.cdm.io.common.TaxonNodeOutStreamPartitionerConcurrent;
27
import eu.etaxonomy.cdm.io.pesi.out.PesiTransformer;
27 28
import eu.etaxonomy.cdm.model.common.VerbatimTimePeriod;
28 29
import eu.etaxonomy.cdm.model.reference.Reference;
29 30
import eu.etaxonomy.cdm.model.reference.ReferenceFactory;
......
38 39
    private static final Logger logger = Logger.getLogger(FauEu2CdmActivator.class);
39 40

  
40 41
    static final ICdmDataSource fauEuSource = CdmDestinations.test_cdm_pesi_fauna_europaea();
41
    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_pesi_leer();
42
//    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_test_local_pesi_leer();
43
    static final ICdmDataSource cdmDestination = CdmDestinations.cdm_pesi2019_final();
44

  
45
    static final boolean doTaxa = true;
46
    static final boolean doDescriptions = false;
47

  
42 48

  
43 49
    static final String sourceRefTitle = "Fauna Europaea PESI import.";
44
    static final UUID sourceRefUuid = UUID.fromString("f27a5e67-d065-4b79-8d41-eabd3ae0edd0");
50
    public static final UUID sourceRefUuid = PesiTransformer.uuidSourceRefFaunaEuropaea;
45 51

  
46 52
    //check - import
47 53
    static final CHECK check = CHECK.IMPORT_WITHOUT_CHECK;
48 54

  
49 55
    static final int partitionSize = 5000;
50 56

  
51
    static final boolean doTaxa = false;
52
    static final boolean doDescriptions = true;
53

  
54 57
    static final boolean doConcurrent = false;
55 58
    //auditing
56 59
    static final boolean registerAuditing = false;
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/PesiExportActivatorEM.java
32 32
	private static final Logger logger = Logger.getLogger(PesiExportActivatorEM.class);
33 33

  
34 34
//	static final ICdmDataSource cdmSource = CdmDestinations.test_cdm_pesi_euroMed();
35
//	static final ICdmDataSource cdmSource = CdmDestinations.cdm_test_local_mysql_euromed();
36
	static final ICdmDataSource cdmSource = CdmDestinations.cdm_pesi2019_final();
35
	static final ICdmDataSource cdmSource = CdmDestinations.cdm_test_local_mysql_euromed();
36
//	static final ICdmDataSource cdmSource = CdmDestinations.cdm_pesi2019_final();
37 37

  
38 38
	//database validation status (create, update, validate ...)
39 39
	static final Source pesiDestination = PesiDestinations.pesi_test_local_CDM_EM2PESI();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)