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

Implement functions to get the cursor for queries to CouchDB #264

Merged
merged 4 commits into from
Aug 21, 2024

Conversation

eamansour
Copy link
Member

Why?

See galasa-dev/projectmanagement#1921
Related to changes in galasa-dev/framework#623

Changes

  • Implemented getRunsPage method to retrieve an individual page of runs stored in CouchDB and the associated cursor/bookmark pointing to the next page of runs
  • Passed sort value into CouchDB page queries to maintain result sorting between pages
  • Added indexes for startTime and endTime run result fields

Note: Builds for this PR will fail until galasa-dev/framework#623 is reviewed and merged

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 failed, see http://localhost:8001/api/v1/namespaces/tekton-pipelines/services/tekton-dashboard:http/proxy/#/namespaces/galasa-build/pipelineruns/repo-extensions-pr-264-f88xm for details. If you are unable to do so, please contact a member of the Galasa team.

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

Build successful

@eamansour eamansour merged commit 6817c33 into main Aug 21, 2024
5 of 6 checks passed
@eamansour eamansour deleted the iss1921-runs-get-performance branch August 21, 2024 10:34
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