Project

General

Profile

« Previous | Next » 

Revision 76a5e528

Added by Andreas Müller almost 6 years ago

ref #5499, ref #6517 latest changes to Edaphobase import (also stable uuids)

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/app/common/CdmDestinations.java
390 390
        return makeDestination(dbType, cdmServer, cdmDB, -1, cdmUserName, null);
391 391
    }
392 392

  
393
    public static ICdmDataSource cdm_postgres_edaphobase(){
394
        DatabaseTypeEnum dbType = DatabaseTypeEnum.PostgreSQL;
395
        String cdmServer = "130.133.70.26";
396
        String cdmDB = "cdm_edaphobase";
397
        String cdmUserName = "edaphobase";
398
        int port = 5433;
399
        return makeDestination(dbType, cdmServer, cdmDB, port, cdmUserName, null);
400
    }
401

  
402
    public static ICdmDataSource cdm_test_postgres_edaphobase(){
403
        DatabaseTypeEnum dbType = DatabaseTypeEnum.PostgreSQL;
404
        String cdmServer = "160.45.63.175";
405
        String cdmDB = "cdm_edaphobase";
406
        String cdmUserName = "edaphobase";
407
        int port = 5432;
408
        return makeDestination(dbType, cdmServer, cdmDB, port, cdmUserName, null);
409
    }
410

  
411
    public static ICdmDataSource cdm_test_postgres__ssh_edaphobase(){
412
        DatabaseTypeEnum dbType = DatabaseTypeEnum.PostgreSQL;
413
        String cdmServer = "localhost";
414
        String cdmDB = "cdm_edaphobase";
415
        String cdmUserName = "edaphobase";
416
        int port = 13306;
417
        return makeDestination(dbType, cdmServer, cdmDB, port, cdmUserName, null);
418
    }
419

  
393 420
    public static ICdmDataSource cdm_local_caryo_spp(){
394 421
        DatabaseTypeEnum dbType = DatabaseTypeEnum.MySQL;
395 422
        String cdmServer = "127.0.0.1";

Also available in: Unified diff