Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-407

Sending patron loan notices, make number of emails to be processed in a given timeframe configurable

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 16.6.0
    • None
    • EPAM-Veg Sprint 21, EPAM-Veg Sprint 22
    • 2
    • Vega

    Description

      Currently scheduled notices processor processes fixed number of notices - 100 in one run.
      The purpose of this story is to make this parameter configurable and set 100 as default value.
      Value should be stored in mod-configuration.

      Developer note
      By default, we use a fixed number of notices - 100 in one run.
      To use the configured values for the number of notices, the following values should be set in the `mod-conifguration`:

      • module name: "NOTIFICATION_SCHEDULER"
      • configuration name: "noticesLimit"
      • value: configurable value 10, 200 or 500

      Module configuration example:

      curl -X POST \
       http://localhost:9130/configurations/entries \
       -H 'Content-Type: application/json' \
       -H 'X-Okapi-Tenant: <tenant>' \
       -H 'x-okapi-token: <token>' \
       -d
         '{
           "module": "NOTIFICATION_SCHEDULER",
           "configName": "noticesLimit",
           "description": "scheduled notices processor",
           "default": true,
           "enabled": true,
           "value": "200"
         }'
      

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                OleksiiMaksymov Oleksii Maksymov
                kostyantyn-kh Kostyantyn Khodarev
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases