Revision 60810
Added by Konstantina Galouni almost 2 years ago
notification.properties | ||
---|---|---|
1 |
notification.mongodb.host = localhost |
|
2 |
notification.mongodb.port = 27017 |
|
3 |
notification.mongodb.database = openaire_notification |
|
1 |
#notification.mongodb.host = localhost |
|
2 |
#notification.mongodb.port = 27017 |
|
3 |
#notification.mongodb.database = openaire_notification |
Also available in: Unified diff
[Trunk | Notificaton Service]:
1. NotificationConfiguration.java: [Bug fix] Commented @PropertySources (a library service should not set properties locally, but parent service is responsible for that).
2. NotificationController.java: For method "getAllNotifications()" (/all), set @PreAuthorize to PORTAL_ADMIN (instead of REGISTERED_USER) (used for testing).
3. NotificationService.java: Comment @Scheduled(cron = "0 0 0 1/1 * ?") method "deleteNotifications()" and never delete old notifications.
4. notification.properties: Commented properties - set in dnet-override.properties file.