Skip to content
Snippets Groups Projects
Commit e90a748e authored by tpylak's avatar tpylak
Browse files

SE-142 YeastX: make deletion synchronizer running

SVN: 12696
parent 7ef63101
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,11 @@ public class MetabolDatabaseUpdater implements IMaintenanceTask ...@@ -59,7 +59,11 @@ public class MetabolDatabaseUpdater implements IMaintenanceTask
public MetabolDatabaseUpdater() public MetabolDatabaseUpdater()
{ {
LogInitializer.init(); LogInitializer.init();
// NOTE: hard-coded database name - should be moved to spring configuration file
context = DBUtils.createDefaultDBContext(); context = DBUtils.createDefaultDBContext();
context.setDatabaseKind("productive");
context.setScriptFolder("sql");
DBUtils.init(context); DBUtils.init(context);
checkDatabseConnection(); checkDatabseConnection();
openBISService = ServiceProvider.getOpenBISService(); openBISService = ServiceProvider.getOpenBISService();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment