Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
EPAM-Veg Sprint 21, EPAM-Veg Sprint 22, EPAM-Veg Sprint 23
-
3
-
Vega
Description
1. Change loan time-based notices processing to support multiple-item notices.
2. Set userId and triggeringEvent property at the time of creating scheduled notice.
Approach:
- Use the endpoint implemented in
CIRCSTORE-140to fetch grouped notices. Fetch scheduled notices of the previous day (nextRunTime property). - Collect necessary context for each notice (item, holdings, loan etc.);
- Convert context to json format to match template for multiple items (
UICIRC-304)
Example of multiple-items notice context:
{ "user": { "firstName": "Alex" }, "loans": [ { "item": { "title": "Age of TV heroes" }, "loan": { "dueDate": "07/30/2019 10:00", "numberOfRenewalsRemaining": "3" } }, { "item": { "title": "Interesting Times" }, "loan": { "dueDate": "08/30/2019 23:59", "numberOfRenewalsRemaining": "unlimited" } }, { "item": { "title": "14 cows for America" }, "loan": { "dueDate": "08/15/2019 15:00", "numberOfRenewalsRemaining": "2" } } ] }
TestRail: Results
Attachments
Issue Links
- has to be finished together with
-
CIRCSTORE-146 Add userId property to scheduled notice schema
-
- Closed
-
-
UICIRC-304 Change "Edit patron notice template page" to support multiple-item templates
-
- Closed
-
-
CIRCSTORE-140 Implement an endpoint for searching scheduled notices in groups
-
- Closed
-
-
MODTEMPENG-21 Process template endpoint responds with Internal server error
-
- Closed
-
- is required by
-
UICIRC-238 Ability to include multiple items on a single patron notice - courtesy and overdue only
-
- Closed
-
- relates to
-
CIRC-385 [SPIKE] Define technical approach for sending a time-based patron loan notice with multiple items
-
- Closed
-