yx9o opened a new pull request, #575: URL: https://github.com/apache/rocketmq-dashboard/pull/575
## What is the purpose of the change Fixes #574 . Prevent `/api/alert-rules/update` from returning an internal server error for missing IDs or creating new rules for blank and unknown IDs. This complements #549, which validates alert rule toggle and delete request bodies; this change covers update semantics. ## Brief changelog - Reject null and blank alert rule IDs with HTTP 400. - Reject unknown alert rule IDs with HTTP 404. - Atomically replace existing rules so update cannot create a missing rule. - Add service and repository regression tests. -- 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]
