Revision 58953
Added by Konstantina Galouni almost 4 years ago
EmailController.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.uoamonitorservice.controllers; |
2 | 2 |
|
3 |
import eu.dnetlib.uoahelptexts.emailSender.EmailSender; |
|
4 |
import eu.dnetlib.uoahelptexts.entities.EmailRecaptcha; |
|
5 |
import eu.dnetlib.uoahelptexts.entities.Email; |
|
6 |
import eu.dnetlib.uoahelptexts.handlers.InvalidReCaptchaException; |
|
7 |
import eu.dnetlib.uoahelptexts.recaptcha.VerifyRecaptcha; |
|
3 |
//import eu.dnetlib.uoahelptexts.emailSender.EmailSender; |
|
4 |
//import eu.dnetlib.uoahelptexts.entities.EmailRecaptcha; |
|
5 |
//import eu.dnetlib.uoahelptexts.entities.Email; |
|
6 |
//import eu.dnetlib.uoahelptexts.handlers.InvalidReCaptchaException; |
|
7 |
//import eu.dnetlib.uoahelptexts.recaptcha.VerifyRecaptcha; |
|
8 |
import eu.dnetlib.uoaadmintoolslibrary.emailSender.EmailSender; |
|
9 |
import eu.dnetlib.uoaadmintoolslibrary.entities.email.Email; |
|
10 |
import eu.dnetlib.uoaadmintoolslibrary.entities.email.EmailRecaptcha; |
|
11 |
import eu.dnetlib.uoaadmintoolslibrary.handlers.InvalidReCaptchaException; |
|
12 |
import eu.dnetlib.uoaadmintoolslibrary.recaptcha.VerifyRecaptcha; |
|
8 | 13 |
import org.apache.log4j.Logger; |
9 | 14 |
import org.springframework.beans.factory.annotation.Autowired; |
10 | 15 |
import org.springframework.web.bind.annotation.*; |
Also available in: Unified diff
[Trunk | Monitor Service]:
1. pom.xml: Comment dependency of "uoa-help-texts-library" and add dependency of "uoa-admin-tools-library" | Add dependency of "spring-boot-starter-test".
2. MongoConnection.java: Replace basePackage "eu.dnetlib.uoahelptexts.dao" with "eu.dnetlib.uoaadmintoolslibrary.dao".
3. EmailController.java: Import from " eu.dnetlib.uoaadmintoolslibrary" instead of "eu.dnetlib.uoahelptexts".
4. UoaMonitorServiceApplication.java: Replace scanBasePackage "eu.dnetlib.uoahelptexts" with "eu.dnetlib.uoaadmintoolslibrary" | Add @PropertySource("classpath:dnet-override.properties".