-
Notifications
You must be signed in to change notification settings - Fork 31
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
chore(RHINENG-6147): Paginated requests #1163
chore(RHINENG-6147): Paginated requests #1163
Conversation
eef6939
to
92b1664
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1163 +/- ##
==========================================
+ Coverage 63.60% 63.69% +0.09%
==========================================
Files 126 126
Lines 3154 3173 +19
Branches 817 822 +5
==========================================
+ Hits 2006 2021 +15
- Misses 1148 1152 +4 ☔ View full report in Codecov by Sentry. |
/retest |
0c30dbb
to
e74861f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, it feels like RedHatInsights/frontend-components#1954 hasn't been released yet for some reason. Let's merge this PR if you feel ready.
@gkarat thank you for the review! |
🎉 This PR is included in version 1.67.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
Associated Jira ticket: # RHINENG-6147
Selection of all items was using API calls with limit=-1 across all pages where bulk selection is enabled. This PR converts it to use paginated requests.
remediation issues fetching also fetching 1000 items per request, now it is reduced to 100.
Unassigning/assigning templates had another usage of limit=-1. Now they are converted to use paginated requests.
How to test the PR
Please include steps to test your PR.
Before the change
After the change
Resolves: RHINENG
Dependent work link
Checklist: