Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-2888

Do not load Agreement lines as part of agreement when viewing the agreement

    XMLWordPrintable

Details

    • ERM Sprint 162
    • Bienenvolk
    • Orchid (R1 2023) Bug Fix
    • TBD

    Description

      Purpose:

      When an agreement is viewed in the Folio UI, we currently load the agreement lines through a call to /entitlements.  The number of entitlements retrieved is based off the pageSize.agreements setting (in configuration). This was intended to enable tenants to control how many agreement lines were loaded and so ensure good performance even when an agreement had a large number of agreement lines

      However, currently the entitlements are also included in the Agreements JSON returned by the call to /erm/sas/<agreement UUID> - and this includes all the agreement lines

      So the work being done by the system has not changed - when a user views an agreement the system still ends up loading all agreement lines for that agreement, including fetches to eHoldings in cases of remote resources.

      We should avoid loading the full set of agreement lines for an agreement unless we explicitly need to.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ethan Ethan Freestone
                ostephens Owen Stephens
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases