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

Support private blockHandler/fallback method for @SentinelResource annotation #2163

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

wuwen5
Copy link
Contributor

@wuwen5 wuwen5 commented Apr 26, 2021

Describe what this PR does / why we need it

fallback method should be private

Does this pull request fix one issue?

NONE

Describe how you did it

Refer to Resilience4j and Hystrix.

Describe how to verify it

SentinelAnnotationIntegrationTest#testFallBackPrivateMethod

@CLAassistant
Copy link

CLAassistant commented Apr 26, 2021

CLA assistant check
All committers have signed the CLA.

@sczyh30 sczyh30 added area/annotation Issues or PRs related to annotation support kind/enhancement Category issues or prs related to enhancement. labels Apr 26, 2021
@sczyh30 sczyh30 changed the title Support private fallback method. Support private blockHandler/fallback method for @SentinelResource annotation Apr 26, 2021
@wuwen5 wuwen5 force-pushed the fallback-support-private-method branch from bb3a025 to 579c2f4 Compare April 26, 2021 06:21
@sczyh30
Copy link
Member

sczyh30 commented Jun 2, 2021

cc for review @jasonjoo2010 @cdfive @brotherlu-xcq

@wuwen5 wuwen5 force-pushed the fallback-support-private-method branch from 579c2f4 to 088a9e8 Compare June 3, 2021 06:06
@wuwen5 wuwen5 force-pushed the fallback-support-private-method branch from 088a9e8 to 9ee2c8f Compare June 3, 2021 07:46
Copy link
Collaborator

@brotherlu-xcq brotherlu-xcq left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@sczyh30 sczyh30 left a comment

Choose a reason for hiding this comment

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

LGTM

@sczyh30 sczyh30 added this to the 1.8.2 milestone Jun 7, 2021
@sczyh30 sczyh30 merged commit f972b10 into alibaba:master Jun 7, 2021
@sczyh30
Copy link
Member

sczyh30 commented Jun 7, 2021

Nice work. Thanks for contributing and look forward to more!

linkolen pushed a commit to shivagowda/Sentinel that referenced this pull request Aug 14, 2021
linkolen pushed a commit to shivagowda/Sentinel that referenced this pull request Aug 16, 2021
CST11021 pushed a commit to CST11021/Sentinel that referenced this pull request Nov 3, 2021
Zhang-0952 pushed a commit to Zhang-0952/Sentinel that referenced this pull request Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/annotation Issues or PRs related to annotation support kind/enhancement Category issues or prs related to enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants