juicewcode opened a new pull request, #7048:
URL: https://github.com/apache/shenyu/pull/7048

   Fixes #6708
   ## Summary
   
     - Add transactional boundaries to 
`MetaDataServiceImpl.deleteByIdsAndNamespaceId`.
     - Add transactional boundaries to 
`MetaDataServiceImpl.enabledByIdsAndNamespaceId`.
     - Preserve the existing update-count guard so enable events are only 
published after a successful database update.
   
   ## Test
   
     - Added coverage for the `ID_NOT_EXIST` path.
     - Added coverage verifying no enable event is published when the update 
count is zero.
     - Added coverage verifying the enable event is published after a 
successful update.
     - Existing metadata deletion tests remain unchanged.
   
   <!-- Describe your PR here; e.g. Fixes #issueNo -->
   
   <!--
   Thank you for proposing a pull request. This template will guide you through 
the essential steps necessary for a pull request.
   -->
   Make sure that:
   
   - [x] You have read the [contribution 
guidelines](https://shenyu.apache.org/community/contributor-guide).
   - [x] You submit test cases (unit or integration tests) that back your 
changes.
   - [x] Your local test passed `./mvnw clean install 
-Dmaven.javadoc.skip=true`.
   


-- 
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