Skip to content

34324 implement api to retry bundles#34483

Draft
hassandotcms wants to merge 5 commits intomainfrom
34324-implement-api-to-retry-bundles
Draft

34324 implement api to retry bundles#34483
hassandotcms wants to merge 5 commits intomainfrom
34324-implement-api-to-retry-bundles

Conversation

@hassandotcms
Copy link
Contributor

@hassandotcms hassandotcms commented Feb 3, 2026

Proposed Changes

  • Add POST /v1/publishing/retry endpoint to replace legacy AJAX RemotePublishAjaxAction
  • Support bulk retry with configurable delivery strategy and force push option
  • Add integration tests for retry endpoint

Checklist

  • Tests
  • Translations
  • Security Implications Contemplated (add notes if applicable)

Additional Info

** any additional useful context or info **

Screenshots

Original Updated
** original screenshot ** ** updated screenshot **

This PR fixes: #34324

…34324

Add request/response DTOs for POST /v1/publishing/retry:
- AbstractRetryBundlesForm: request body with bundleIds, forcePush, deliveryStrategy
- AbstractRetryBundleResultView: per-bundle result with success/failure details
- ResponseEntityRetryBundlesView: typed wrapper for Swagger documentation
- RetryResultDTO: internal DTO for helper-to-resource communication
… logic #34324

Extract and modernize retry logic from RemotePublishAjaxAction.retry().

Supports:
- Push Publishing (remote dotCMS servers)
- Static Publishing (AWS S3 or file system)
- Delivery strategies: ALL_ENDPOINTS or FAILED_ENDPOINTS
- Force push for re-synchronization of successful bundles
Bulk retry endpoint to replace legacy AJAX RemotePublishAjaxAction.

- Retry multiple bundles in single request
- Per-bundle success/failure results
- Configurable delivery strategy
- Force push option for content re-synchronization


Coverage includes:
- Successful single and bulk retry operations
- Error cases: invalid bundleId, non-existent bundle, non-retryable status
- Delivery strategy validation
- Force push behavior
- Mixed results in bulk operations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[TASK] Implement POST /v1/publishing/retry - Retry failed/successful bundles

1 participant