-
Notifications
You must be signed in to change notification settings - Fork 83
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
New API endpoint for bulk/refresh all ACSs #1086
Conversation
e5f66db
to
2fe87a7
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1086 +/- ##
==========================================
- Coverage 92.15% 92.03% -0.12%
==========================================
Files 6 6
Lines 3047 3052 +5
==========================================
+ Hits 2808 2809 +1
- Misses 239 243 +4 ☔ View full report in Codecov by Sentry. |
@damoore044 is this ready for review? |
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.
Looks good to me, just add some test in nailgun/tests/test_entities.py
.
2fe87a7
to
f6cfc49
Compare
cover new endpoint in test_entities.py
f6cfc49
to
84b6666
Compare
cover new endpoint in test_entities.py (cherry picked from commit 68976fe)
Description of addition
bulk/refresh_all
with method namedbulk_refresh_all()
Fixes #36589 - Added ability to refresh all alternate content sources… Katello/katello#10646
.bulk_refresh(data={'ids': acs_id_list})
to refresh only a specific set of ACSsids
being passed.Functional demonstration
Refreshed ACSs:
Tasks found:
BulkAction main task (the Action Name is long):
BulkAction Task Name is just "Refresh Alternate Content Source refresh alternate content source refresh alternate ... "
A long string of the subtask(s) names appended to each other.
BulkAction sub-tasks: