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