Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants