1 |
60062
|
konstantin
|
Claim notifications for communities:
|
2 |
|
|
|
3 |
|
|
- Notifications scheduler will run if property: "services.claims.mail.sendEmailNotifications" is set to true.
|
4 |
|
|
|
5 |
|
|
- Notifications for community claims are sent if property: "services.claims.mail.notifyCommunityManagers" is set to true.
|
6 |
|
|
|
7 |
|
|
- Notifications for community claims are sent to managers of communities of the comma separated list property:
|
8 |
|
|
services.claims.mail.enabledCommunities
|
9 |
|
|
|
10 |
|
|
- Notifications runs every 24 hours at 12:00 (noon).
|
11 |
|
|
Property for specific hour when notifications will be sent (default 12:00):
|
12 |
|
|
springContext-claims.xml: beans id="targetHour", id="targetMinute" id="targetSecond"
|
13 |
|
|
Property for hours in between (default 24):
|
14 |
|
|
springContext-claims.xml: beans id="beautySleep" (in seconds), bean id="defaultFrequencyInHours"
|
15 |
|
|
Property if notifications will be sent:
|
16 |
|
|
springContext-claims.propertis: services.claims.mail.sendEmailNotifications
|
17 |
|
|
|
18 |
|
|
- If manager has default notifications settings, gets email every 24 hours, if during the last 24 hours there were claims for his community
|
19 |
|
|
- If manager has set notifications settings, gets email depending on his settings and if there were claims for his community from last_interaction_date (last date he got emails) until now.
|
20 |
|
|
|
21 |
|
|
- On the email sent, we have the following configured values:
|
22 |
|
|
services.claims.mail.openaireCommunityClaimsPage
|
23 |
|
|
services.claims.mail.contactMail
|
24 |
|
|
services.claims.mail.manageCommunityUserNotificationsPage
|
25 |
|
|
|
26 |
|
|
- All emails are also sent (bcc) to: openaire.test@gmail.com
|