Fixes #38042 - Pass LCE ID in Refresh Counts action from WebUI #11235
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What are the changes introduced in this pull request?
Added the missing LCE ID to the parameters passed in the Refresh Counts action triggered from the WebUI.
Considerations taken when implementing this change?
Ensured that the LCE ID is correctly included without affecting existing functionality or breaking other API calls.
What are the testing steps for this pull request?
Setup:
1. Satellite with registered external Smart Proxy.
2. Disabled automatic content counts update.
Steps:
1. Create two LCEs, assign them to the Smart Proxy.
2. Create and sync a repo, publish it in two CVs, promote both CVs to both LCEs.
3. Ensure no counts were calculated yet for both CVs, both LCEs.
4. Refresh counts for the first CV in the first LCE, check entity IDs in the Update task.
5. Ensure the counts were updated for the first CV and the second CV stayed untouched, as well as the second LCE.