Updated libraries
All checks were successful
Locusworks Team/eight-track/pipeline/head This commit looks good
All checks were successful
Locusworks Team/eight-track/pipeline/head This commit looks good
This commit is contained in:
@ -75,18 +75,13 @@ public class EightTrackDataSource {
|
||||
@Bean
|
||||
public DataSource dataSource() throws Exception {
|
||||
logger.debug("Getting datasource");
|
||||
return getDataSource(confService.getDatabaseUsername(),
|
||||
confService.getDatabasePassword(),
|
||||
"/eighttrack");
|
||||
return getDataSource(confService.getDatabaseUsername(), confService.getDatabasePassword(), "/eighttrack");
|
||||
}
|
||||
|
||||
@Bean
|
||||
public DataSource flywayDataSource() throws Exception {
|
||||
logger.debug("Logging in with flyway for migrations");
|
||||
|
||||
return getDataSource(confService.getDatabaseRootUsername(),
|
||||
confService.getDatabaseRootPassword(),
|
||||
"");
|
||||
logger.debug("Logging in with flyway for migrations");;
|
||||
return getDataSource(confService.getDatabaseRootUsername(), confService.getDatabaseRootPassword(), "");
|
||||
}
|
||||
|
||||
private DataSource getDataSource(String user, String passwd, String db) throws Exception {
|
||||
|
Reference in New Issue
Block a user