Uploaded image for project: 'FOLIO'
  1. FOLIO
  2. FOLIO-3013

Schedule execution of age to lost processes in hosted reference environments (and vagrant boxes)

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Component/s: None
    • Labels:
      None
    • Template:
    • Sprint:
      DevOps Sprint 108, DevOps Sprint 109
    • Development Team:
      FOLIO DevOps

      Description

      Context
      Implementing organisations need to be able to schedule age to lost and and aged to lost billing processes to run when they choose.They will often choose to run these overnight in order to avoid reduce the load on systems and impact on day to day activities.This capability is needed for the 2021 R1 release.
       
      The current implementation of these processes uses the okapi _timer interface. They are scheduled to run approximately every 30 minutes.The Okapi _timer interface only allows endpoints to be invoked periodically (e.g. every 2 hours) not according to a specific schedule (e.g. 2am every Tuesday).There are less than 3 weeks of development time remaining for the 2021 R1 release (for platform core modules) and the Core Functional team does not have capacity to make significant changes to this implementation.
       
      Proposed Short Term Approach
       It is believed that many organisations already have the ability to schedule processes in their operational infrastructure already.

      Hence it has been suggested we use the organisations chosen mechanism for doing this outside of FOLIO. I think this would involve the following development:

      • Removal of the timer interface definition that runs these processes
      • Provision of a new interface that defines endpoints for each of these processes

      Configuration by the hosting provider (including the hosted reference environments) of:

      • a user that has permissions to invoke these processes
      • a scheduled task that logs in as the user and invokes the relevant process

      Organisations will likely need to schedule these processes separately meaning two separate tasks and schedules are likely to be needed.

      New External Endpoints

      • /circulation/scheduled-age-to-lost
      • /circulation/scheduled-age-to-lost-fee-charging

      A preview of the module changes can be found here

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                wayne Wayne Schneider
                Reporter:
                marcjohnson Marc Johnson
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases