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

Use Request Batch API when modifying item request queue

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 17.0.0
    • Core: F - Sprint 76
    • 5
    • Prokopovych

    Description

      The purpose of this story is to modify existing logic, which deals with request position updates (the main candidate is org.folio.circulation.domain.RequestQueueRepository#updateRequestsWithChangedPositions method, seems this is the only place), to use Request Batch API (see CIRCSTORE-164) instead of sending separate update for each request.

      It has already implemented for CIRC-446, decide whether we can use a single method for both cases.

      Acceptance Criteria:

      • The updateRequestsWithChangedPositions method is refactored;
      • Related unit tests refactored and passed;
      • Since the method is used in the various cases, it should be good to verify it manually on the env, following cases will be affected:
        • Check out (with request fulfillment);
        • Request creation;
        • Request cancellation;
        • Request removal; (seems UI does not use this endpoint, tested via API)
        • Request move.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                bohdan-suprun Bohdan Suprun
                bohdan-suprun Bohdan Suprun
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases