feat(publishing): Implement DELETE /v1/publishing/purge endpoint - #34322#34415
Open
hassandotcms wants to merge 3 commits intomainfrom
Open
feat(publishing): Implement DELETE /v1/publishing/purge endpoint - #34322#34415hassandotcms wants to merge 3 commits intomainfrom
hassandotcms wants to merge 3 commits intomainfrom
Conversation
…4322 Add bulk delete publishing jobs by status endpoint with async execution and socket notifications for completion feedback. Changes: - Add IN_PROGRESS_STATUSES and SAFE_PURGE_STATUSES constants to helper - Add isInProgressStatus() and getInProgressStatuses() validation methods - Add purgePublishingJobs() endpoint with async DotSubmitter execution - Add ResponseEntityPurgeView for Swagger documentation - Add 7 integration tests for purge endpoint validation
…ement-purge-publishing-jobs-by-status
…ement-purge-publishing-jobs-by-status
nollymar
reviewed
Feb 4, 2026
| @Test | ||
| public void test_purgeWithoutStatus_usesDefaults() throws Exception { | ||
| final String successBundle = createBundleWithStatus("purge-default-success", Status.SUCCESS); | ||
| final String failedBundle = createBundleWithStatus("purge-default-failed", Status.FAILED_TO_PUBLISH); |
Contributor
There was a problem hiding this comment.
what happens if a bundle with an InProgress status is created before invoking the callPurgeEndpoint(null)? Is that scenario covered in a test?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add bulk delete publishing jobs by status endpoint
Changes:
Checklist
Additional Info
** any additional useful context or info **
Screenshots
This PR fixes: #34322