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

@eamansour eamansour force-pushed the iss1921-runs-get-performance branch from 9c36b41 to 4738170 Compare August 21, 2024 15:25
@eamansour eamansour requested a review from techcobweb August 21, 2024 15:32
@galasa-team
Copy link

Build successful

@eamansour eamansour force-pushed the iss1921-runs-get-performance branch from 4738170 to 9389e26 Compare September 9, 2024 10:15
@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