Details
-
Task
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
CP: sprint 62
-
5
-
Core: Platform
Description
We currently only have the scheduling capability in the storage modules as provided by RMB. There is a need to have a scheduling capability also in the BL modules (e.g mod-circulation, please link the appropriate stories).
Since BL modules have no persistence and may run in multiple instance we need a solution that will ensure the scheduling is coordinated (the scheduled event happens only once).
Also, any scheduled activities needed to be granted permissions to interact with other module endpoints.
DRAFT PROPOSAL
One option is to do scheduling in Okapi;
- extend the module descriptor with a a new "handler" type that would also include a property that would indicate to Okapi that the handler should be called periodically (e.g "tick" = minute,quarter,hour) (should this really be part of the tenant API?)
- have Okapi elect a designated scheduling instance that will call the "handler" and ensure the handler is called only once
- have the scheduling Okapi instance call the "handler" with a token that include permission reported though modulePermissions.
TestRail: Results
Attachments
Issue Links
- blocks
-
FOLIO-1786 SPIKE: evaluate "init" tokens as a way to trigger system tasks
-
- Draft
-
-
UXPROD-1586 Send patron notices for time based loan events, such as due date/time (i.e., courtesy notices and overdue notices) via email
-
- Closed
-
-
UXPROD-1587 Send patron notices for time based request events, such as hold expiration or request expiration via email
-
- Closed
-
-
UXPROD-1636 Make Hold Shelf Expiration Date Respect Closed Library Days/Hours
-
- Closed
-
- has to be done before
-
CIRC-292 Set Item Status to "Pickup expired" when "Awaiting pickup" Item Expires or is Cancelled
-
- Closed
-
-
CIRCSTORE-133 Request Expiration Job Takes Too Long for Short Term Expiry Periods
-
- Closed
-
-
UIREQ-246 Hold Shelf Expiration Date Should Respect Closed Library Dates
-
- Closed
-
-
UXPROD-82 Automated Patron Blocks
-
- Closed
-
-
UXPROD-87 Loan: Aged to Lost using SET COST
-
- Closed
-
-
UXPROD-105 Future Fees/Fines: Update current automated transfer process for fees/fines to bursar or other account that works for all sites
-
- Closed
-
-
UXPROD-499 Future Fees/Fines: Collections agency interactions: when patron still pays library
-
- Draft
-
-
UXPROD-527 Loans: Recently returned
-
- Draft
-
-
UXPROD-1085 Automatically Anonymizing/Scrubbing Loan Data (through Settings)
-
- Closed
-
-
UXPROD-1858 Future Fees/Fines: Collections agency interactions - when patron pays agency
-
- Draft
-
- relates to
-
CIRC-272 [SPIKE] Investigate scope of work for sending time-based patron notices
-
- Closed
-
-
FOLIO-889 Develop a strategy to implement scheduled (cron-like) events
-
- Closed
-
-
FOLIO-2010 Alternative Scheduling Approaches
-
- Closed
-
-
MODSENDER-8 [SPIKE] Investigate sending multiple messages at the same time.
-
- Closed
-
-
OKAPI-730 system call timer
-
- Closed
-
- requires
-
CIRC-272 [SPIKE] Investigate scope of work for sending time-based patron notices
-
- Closed
-