WangzJi opened a new pull request, #7443:
URL: https://github.com/apache/incubator-seata/pull/7443

   <!--
       Licensed to the Apache Software Foundation (ASF) under one or more
       contributor license agreements.  See the NOTICE file distributed with
       this work for additional information regarding copyright ownership.
       The ASF licenses this file to You under the Apache License, Version 2.0
       (the "License"); you may not use this file except in compliance with
       the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICENSE-2.0
       
       Unless required by applicable law or agreed to in writing, software
       distributed under the License is distributed on an "AS IS" BASIS,
       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       See the License for the specific language governing permissions and
       limitations under the License.
   -->
   <!-- Please make sure you have read and understood the contributing 
guidelines -->
   
   - [ ] I have registered the PR [changes](../changes).
   
   ### Ⅰ. Describe what this PR did
   
   This PR removes the dependency of Saga annotation on @LocalTCC by 
introducing a new @TransactionParticipant annotation. The changes include:
   
   1. Core Changes:
      - Enhanced LocalTCCRemotingParser to support both @LocalTCC and 
@TransactionParticipant annotations
      - Fixed isService(Class<?>) method implementation in both tcc and 
compatible modules
   
   2. Test Coverage:
      - LocalTCCRemotingParserTest: Add unit tests for dual annotation support
      - TransactionParticipantIntegrationTest: Add integration tests for 
runtime behavior
      - AnnotationConflictTest: Add boundary tests for edge cases and conflicts
   
   ### Ⅱ. Does this pull request fix one issue?
   Closes #7439
   
   ### Ⅲ. Why don't you add test cases (unit test/integration test)? 
   
   ### Ⅳ. Describe how to verify it
   
   1. Run the test suite:
   ```bash
   ./mvnw test 
-Dtest=LocalTCCRemotingParserTest,TransactionParticipantIntegrationTest,AnnotationConflictTest
   ```
   
   2. Verify backward compatibility:
   - All existing @LocalTCC annotated services continue to work
   - New services can use either @LocalTCC or @TransactionParticipant
   - No breaking changes in existing functionality
   
   ### Ⅴ. Special notes for reviews
   
   1. Backward Compatibility:
      - Maintains 100% compatibility with existing @LocalTCC usage
      - No breaking changes to existing services
   
   2. Code Quality:
      - All tests pass
      - Follows project coding standards
    
   3. Documentation:
      - Added clear documentation for @TransactionParticipant usage
      - Updated migration guide for existing users
   


-- 
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: notifications-unsubscr...@seata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to