Revision 53202
Added by Konstantina Galouni over 5 years ago
springContext-claimsDemo.properties | ||
---|---|---|
5 | 5 |
services.claimsDemo.db.password = snowflakes |
6 | 6 |
services.claimsDemo.useProductionIndex = false |
7 | 7 |
|
8 |
services.claimsDemo.communityAPI = https://dev-openaire.d4science.org/openaire/community/ |
|
9 |
|
|
8 | 10 |
#email properties |
9 | 11 |
## EMAIL SETTINGS |
10 | 12 |
services.claims.mail.host = smtp.gmail.com |
... | ... | |
20 | 22 |
#old version |
21 | 23 |
#services.claims.directClaimAPIUrl = http://beta.services.openaire.eu:8280/is/mvc/api/publications |
22 | 24 |
services.claims.directClaimAPIUrl = http://beta.services.openaire.eu:8980/provision/mvc/api/results |
25 |
|
Also available in: Unified diff
1. FetchClaimHandler.java: add method fetchNumberOfClaimsByDateAndOpenaireId.
2. CommunityUtils.java: request datasource API to get community information (including managers).
3. FetchContextHandler.java: Method fetchFirstContextByCommunityId to parse name of community to be used in the above API.
4. EmailSender.java: Completely changed:
No token in project | send emails to project AND community managers | send emails according to notification table - if no preferences (no entry in table), use default settings.
5. springContext-claimsDemo.properties: Add property 'communityAPI'.
6. springContext-claimsDemo.xml: Add beans 'fetchContextHandler', 'CommunityUtils', properties for EmailSender.