Spike: Create API Pagination Pattern

Description

Pick a pattern—don't reinvent the wheel.

Acceptance Criteria

  • Document of a proposed pattern for pagination, including how the API returns it

  • Sample RAML for pagination

  • Check into how our automated RAML checker tools will test this (this could be applied to one example endpoint and back-end code to illustrate the changes; or explained in the document)

  • Talk with Nick/UI component lead about how pagination may or may not impact the UI offline mode.

UPDATE:

  • Update requisitions/search endpoint such that it includes pagination. (This will require changes to the custom repository's implementation.)

  • Tell the UI team that the requisition search endpoint has been updated, and that they need to update the UI accordingly.

  • Update the above endpoint's RAML and make sure tests pass with it.

  • Choose an obscure, unused, endpoint that uses a Spring repository, and add pagination support to it. (Don't choose an endpoint used by the UI.)

Status

Assignee

Ben Leibert

Reporter

Mary Jo Kochendorfer

Labels

None

Story Points

8

Components

Sprint

None

Fix versions

Priority

Blocker
Configure