use of com.walmartlabs.concord.db.DatabaseConfiguration in project concord by walmartlabs.
the class AbstractDaoTest method initDataSource.
@BeforeEach
public void initDataSource() {
DatabaseConfiguration cfg = new DatabaseConfigurationImpl("jdbc:postgresql://localhost:5432/postgres", "postgres", "q1", 3);
DatabaseModule db = new DatabaseModule(migrateDb);
this.dataSource = db.appDataSource(cfg, new MetricRegistry(), Collections.singleton(new MainDBChangeLogProvider()));
this.cfg = db.appJooqConfiguration(this.dataSource);
}
Aggregations