[Trunk | Claims Service]:1. springContext-claims.properties: Updated "services.claims.mail.openaireCommunityClaimsPage" and "services.claims.mail.manageCommunityUserNotificationsPage" to use the new admin portal urls (Admin portal redesign).2. EmailSender.java: Build urls by replacing "{community}" with openaire_id in "openaireCommunityClaimsPage" and "manageCommunityUserNotificationsPage" properties, (Admin portal redesign - new urls).
[Trunk | Claims Service]:1. ManagerUtils.java: [NEW] File for getting community managers from registry service added.2. springContext-claims.properties: Property "services.claims.registryAPIForManagerEmails" added - URL of registry service for requesting community manager emails....
[Trunk | Claims Service]: EmailSender.java: Remove "beta" prefix from link for community dashboard when sending email notification for community claims.
CommunityUtils: chnage methods from static, add it with autowired in EmailSender update properties
Update email Sender and Scheduler:
rename property emailScheduler.sendEmailNotifications to services.claims.mail.sendEmailNotifications
Add properties to enable/disable notifications for specific entities: services.claims.mail.notifyCommunityManagers services.claims.mail.notifyProjectManagers
-Remove methods and classes used for the migration from old database schema to new-Remove communities XMLs-rearrange packages (remove 'migration' and 'claimsDemo') Properties paths didn't change!
Add property 'enabledCommunities' to send email notifications only to specific communities.
[Trunk]
Email sEnder: comment notification functions add property for auth read emailScheduler.sendEmailNotifications from properties
1. pom.xml: Add commented plugin for surfire (possibly needed in openjdk: bug in their release) | update version of javax.mail.2. FetchContextHandler.java: bug fix in parsing resultset.3. QueryGenerator.java: bug fix in query of method 'generateSelectFirstContextByCommunityIdQuery'....
NotificationHandler.java & EmailSender.java: bug fix in calculating seconds (store 12:00 and add 1 sec to last_interaction_date when sending email).
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....
claims-demo folder renamed to trunk
Copy for Java8