new-is-app-with-new-msro #13
|
@ -23,7 +23,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|||
"eu.dnetlib.is",
|
||||
"eu.dnetlib.common",
|
||||
"eu.dnetlib.manager.history",
|
||||
// "eu.dnetlib.manager.wf",
|
||||
"eu.dnetlib.manager.wf",
|
||||
"eu.dnetlib.data.mdstore"
|
||||
})
|
||||
public class MainDBConfig {
|
||||
|
@ -42,9 +42,7 @@ public class MainDBConfig {
|
|||
@Qualifier("mainDataSource") final DataSource ds) {
|
||||
return builder
|
||||
.dataSource(ds)
|
||||
.packages("eu.dnetlib.is.model", "eu.dnetlib.manager.history.model", "eu.dnetlib.common.model",
|
||||
// "eu.dnetlib.manager.wf.model",
|
||||
"eu.dnetlib.data.mdstore.model")
|
||||
.packages("eu.dnetlib.is.model", "eu.dnetlib.manager.history.model", "eu.dnetlib.common.model", "eu.dnetlib.manager.wf.model", "eu.dnetlib.data.mdstore.model")
|
||||
.persistenceUnit("is")
|
||||
.build();
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ maven.pom.path = /META-INF/maven/eu.dnetlib.dhp/dnet-is-application/effective-po
|
|||
|
||||
spring.main.banner-mode = off
|
||||
|
||||
logging.level.root = WARN
|
||||
logging.level.root = INFO
|
||||
#logging.level.org.springframework = DEBUG
|
||||
|
||||
management.endpoints.web.exposure.include = prometheus,health
|
||||
|
|
|
@ -75,7 +75,7 @@ public class EmailDispatcher {
|
|||
throw new RuntimeException(e1);
|
||||
}
|
||||
}
|
||||
}).run();
|
||||
}).start();
|
||||
}
|
||||
|
||||
public void sendMail(final String to, final String subject, final String message) {
|
||||
|
|
Loading…
Reference in New Issue