Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize: add support for configuring exposeProxy in GlobalTransactionScanner #6566

Merged
merged 11 commits into from
Jul 2, 2024

Conversation

wanghongzhou
Copy link
Contributor

  • I have registered the PR changes.

Ⅰ. Description of this PR

This PR introduces changes related to the exposeProxy attribute handling.

Ⅱ. Does this pull request fix one issue?

Yes, this pull request addresses the issue reported in 6562

Ⅲ. Why don't you add test cases (unit test/integration test)?

As this PR is primarily about configuring the exposeProxy attribute, which is more of a configuration change rather than functional changes in the code logic, adding test cases does not apply directly.

Ⅳ. Describe how to verify it

To verify the changes introduced by this PR, follow these steps:

  1. Review the modifications made in the codebase, particularly the addition of the exposeProxy attribute.
  2. Ensure that the new attribute is properly configured and its value is correctly reflected in the relevant components.
  3. Validate the behavior of the application to confirm that the exposeProxy attribute is functioning as expected.

Ⅴ. Special notes for reviews

The changes made in this PR primarily focus on adding support for configuring the exposeProxy attribute. It ensures that the exposeProxy setting is correctly applied in the context of the GlobalTransactionScanner to facilitate the proper functioning of annotations like @GlobalTransactional. The exposeProxy attribute allows obtaining the proxy object, enabling annotations to function correctly in scenarios where method calls within the same class are involved.

@funky-eyes
Copy link
Contributor

/home/runner/work/incubator-seata/incubator-seata/compatible/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java:[97,46] incompatible types: int cannot be converted to boolean

@funky-eyes funky-eyes modified the milestones: 2.x Backlog, 2.2.0 May 21, 2024
@wanghongzhou
Copy link
Contributor Author

/home/runner/work/incubator-seata/incubator-seata/compatible/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java:[97,46] incompatible types: int cannot be converted to boolean

Resolved

Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@funky-eyes funky-eyes changed the title optimize: Add support for configuring exposeProxy in GlobalTransactionScanner optimize: add support for configuring exposeProxy in GlobalTransactionScanner Jul 2, 2024
@funky-eyes funky-eyes merged commit f21d0c4 into apache:2.x Jul 2, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants