[FOLIO-790] create initial version of the mod-notifications module Created: 21/Aug/17 Updated: 12/Nov/18 Resolved: 25/Aug/17 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | New Feature | Priority: | P3 |
| Reporter: | Jakub Skoczen | Assignee: | Heikki Levanto |
| Resolution: | Done | Votes: | 0 |
| Labels: | sprint20, sprint21 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 2 days | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||
| Sprint: | |||||||||||||||||
| Description |
|
This a first issue. Follow up issues will have its' own project. The initial API should allow to post a notification message that includes the following fields: senderId UUID of the user from whom the message has originate (this is a seperate from the operatorId field in the metadat which is actual user that performed the sent operation) if any, optional recipientId UUID of the user to whom the message should be delivered link URL of the object (e.g record) that relates to the message text Text of the notification seen a boolean that indicates if the notification has been read or not |
| Comments |
| Comment by Heikki Levanto [ 24/Aug/17 ] |
|
Delete old notifications when new ones are inserted (or updated?): Anything that has been marked as seen and has not been updated for a while (a day) can go. Maybe any seen notifications except the last 10 or so, in case the user wants to revisit one and unmark it... |
| Comment by Heikki Levanto [ 25/Aug/17 ] |
|
Ok, I start to have the basic CRUD ops in place. Thinking if we need an easier way to mark a notification as seen, or is it enough to PUT the whole record back. Still need to do something about cleaning up old, seen records. Maybe also something to remove all notifications for a given user, for example when a user gets deleted... |
| Comment by Heikki Levanto [ 25/Aug/17 ] |
|
Further issues will be under the MODNOTIFY project |