Uploaded image for project: 'mod-feesfines'
  1. mod-feesfines
  2. MODFEE-23

Create Overdue Fine Policy and Lost Item Policy - Test data for snapshot/testing environments

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 15.7.0
    • None
    • Core: F - Sprint 81
    • Prokopovych

    Description

      As a devOp or SysOp I want to install the FOLIO with working circulation rules out of the box.

      These reference circulation rules https://github.com/folio-org/mod-circulation-storage/blob/master/reference-data/circulation-rules-storage/single-rule.json are installed out of the box:

      {
        "rulesAsText": "priority: t, s, c, b, a, m, g
        fallback-policy: l d9cd0bed-1b49-4b5e-a7bd-064b8d177231 r 334e5a9e-94f9-4673-8d1d-ab552863886b n 122b3d2b-4788-4f1e-9117-56daa91cb75c o fallback-overdue-fine-policy i fallback-lost-item-fee-policy
        m 1a54b431-2e4f-452d-9cae-9cee66c9a892: l 43198de5-f56a-4a53-a0bd-5a324418967a r 334e5a9e-94f9-4673-8d1d-ab552863886b n 122b3d2b-4788-4f1e-9117-56daa91cb75c o overdue-fine-policy i lost-item-fee-policy"
      }
      

      As a user I want to check out an item and create a Loan with Overdue Fine Policy and Lost Item Policy.

      Expected: Can checkout an item.
      Actual: Error message when trying to check-out an item: "Overdue fine policy overdue-test could not be found, please check circulation rules"
      devOp/sysOp or staff first need to create Overdue Fine Policy and Lost Item Policy manually in
      Settings > Circulation > Fee/fine > Overdue fine policies/Lost item policies

      Useful links:
      https://github.com/folio-org/mod-feesfines/tree/master/data
      https://github.com/folio-org/mod-feesfines/blob/master/ramls/lost-item-fee-policy.json
      https://github.com/folio-org/mod-feesfines/blob/master/ramls/overdue-fine-policy.json
      https://github.com/folio-org/mod-circulation-storage/blob/v10.0.1/src/main/java/org/folio/rest/impl/TenantRefAPI.java

      Task:

      • Add a default overdue fine policy and a default lost item policy as reference data. Use a hard-coded UUID for the id so that mod-circulation-storage can put this UUID into the reference data circulation rules.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                bohdan-suprun Bohdan Suprun
                Zmiivska Svitlana Zmiivska
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases