Revision 52781
Added by Panagiotis Kanakakis over 5 years ago
EmailUtilsImpl.java | ||
---|---|---|
8 | 8 |
import org.springframework.beans.factory.annotation.Value; |
9 | 9 |
import org.springframework.stereotype.Component; |
10 | 10 |
|
11 |
import javax.annotation.PostConstruct; |
|
11 | 12 |
import java.io.PrintWriter; |
12 | 13 |
import java.io.StringWriter; |
13 | 14 |
import java.io.Writer; |
... | ... | |
39 | 40 |
@Value("${services.repomanager.usagestats.adminEmail}") |
40 | 41 |
private String usageStatsAdminEmail; |
41 | 42 |
|
43 |
|
|
44 |
@PostConstruct |
|
45 |
public void init(){ |
|
46 |
System.out.println("base url -> " + this.baseUrl); |
|
47 |
} |
|
48 |
|
|
49 |
|
|
42 | 50 |
@Override |
43 | 51 |
public void reportException(Exception exception) { |
44 | 52 |
Writer writer = new StringWriter(); |
Also available in: Unified diff
1. Dockerize service
2. Add authorization checks
3. Handle exceptions ( controller advice, exception package)
4. Login-logout operations bug fixes