Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Replace page-based pagination with cursor-based pagination in /ras/runs #627

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

eamansour
Copy link
Member

Why?

See galasa-dev/projectmanagement#1921

Changes

  • Removed the use of paged-based pagination in the /ras/runs API due to its poor performance and replaced it with cursor-based pagination that was temporarily made available using the includeCursor query parameter
  • Updated the OpenAPI docs to remove the page and includeCursor query parameters from /ras/runs

Note: Once this PR is delivered, clients using the old /ras/runs API will need to switch to using cursor-based pagination by retrieving the nextCursor value in responses and supplying that value in subsequent requests using the cursor query parameter (as described in the cursor query parameter's OpenAPI description).

@galasa-team
Copy link

Build successful

1 similar comment
@galasa-team
Copy link

Build successful

@galasa-team
Copy link

Build successful

Signed-off-by: Eamonn Mansour <47121388+eamansour@users.noreply.github.com>
Signed-off-by: Eamonn Mansour <47121388+eamansour@users.noreply.github.com>
Signed-off-by: Eamonn Mansour <47121388+eamansour@users.noreply.github.com>
@galasa-team
Copy link

Build successful

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants