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

Reduce default page size limit.maximum to 1000 in traits/pageable.raml

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      DevOps: Sprint 95
    • Development Team:
      Core: Platform

      Description

      Modules fail with out of memory error if a pageable GET endpoint is used for downloading a large recordset at once (for example by using limit=2147483647).

      Modules can restrict the maximum page size (limit) on a per API endpoint basis. However, most use the pageable trait from https://github.com/folio-org/raml/blob/raml1.0/traits/pageable.raml where limit.maximum=2147483647; this trait contains the de-facto default that should be changed.

      Tasks:

      Note: This does not affect streaming APIs. Those don't have this memory problem, don't use paging and don't use the pageable trait.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases