-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
optimize: add support for configuring exposeProxy in GlobalTransactionScanner #6566
Conversation
...ent/src/main/java/org/apache/seata/spring/boot/autoconfigure/properties/SeataProperties.java
Show resolved
Hide resolved
/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 |
Co-authored-by: funkye <[email protected]>
Co-authored-by: funkye <[email protected]>
…u/incubator-seata into feature-expose-proxy-support
Resolved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ⅰ. 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:
exposeProxy
attribute.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 theexposeProxy
setting is correctly applied in the context of theGlobalTransactionScanner
to facilitate the proper functioning of annotations like@GlobalTransactional
. TheexposeProxy
attribute allows obtaining the proxy object, enabling annotations to function correctly in scenarios where method calls within the same class are involved.