yx9o opened a new pull request, #718: URL: https://github.com/apache/rocketmq-dashboard/pull/718
## What is the purpose of the change Prevent data source update and delete operations from returning incorrect responses when the data source key is missing or does not exist. ## Brief changelog - Validate and normalize data source keys before update and deletion. - Return HTTP 400 for missing or blank keys. - Return HTTP 404 when deleting an unknown data source. - Make data source deletion atomic and add regression tests. ## Verifying this change - `cd server && mvn -q -Dtest=SettingsControllerTest,SettingsServiceTest,InMemorySettingsRepositoryTest test` - `cd server && mvn -q test` - `cd server && mvn -q clean package -DskipTests` -- 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]
