tju-yxq opened a new pull request, #3770:
URL: https://github.com/apache/rocketmq-dashboard/pull/3770

   ## What changed
   
   Other operational inventories can be exported from the dashboard, but 
notification deliveries could not. Operators had to copy rows manually when 
sharing a delivery failure or building an incident report.
   
   This change adds CSV export for the notification delivery feed:
   
   - add `GET /api/system-alerts/deliveries/export`;
   - reuse the channel, status, and instance filters from the delivery page;
   - bound the export to 10,000 rows ordered by delivery ID;
   - export delivery ID, alert ID/title/domain/transition, instance, channel, 
status, attempts, creation/delivery/retry timestamps, and last error;
   - do not export full message content;
   - use the shared CSV writer so cells are quoted and spreadsheet formula 
injection is prevented;
   - add typed frontend API and service wrappers;
   - add an export button that downloads the currently filtered deliveries as 
CSV.
   
   Closes #3559
   
   ## Validation
   
   - `mvn -q '-Dtest=NotificationOutboxServiceTest,SystemAlertControllerTest' 
test` — 38 tests passed
   - `mvn -q checkstyle:check` — passed
   - `npm test -- NotificationDeliveriesPage.test.tsx --run` — 4 tests passed
   - `npm run lint -- --quiet` — 0 errors; 10 existing warnings remain 
elsewhere in the tree
   - `npm run build` — passed
   - `git diff --check` — passed
   
   The GitHub Actions status is not being described as green here; the checks 
above are local validation on this branch.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to