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.
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.