Sentinel
Sentinel copied to clipboard
Add global fallback support for AspectJ annotation extension
Describe what this PR does / why we need it
Add global fallback support for AspectJ annotation extension
Does this pull request fix one issue?
Fixes #3110
Describe how you did it
add global fallback interface and let it as the member of @SentinelResource, cache and call the global fallback instance in the aspect when origin method throws Throwable
Describe how to verify it
Use unit test to verify the correctness
Special notes for reviews
NONE
Could you please re-sync with the master branch? We fixed a CI problem in the master branch.
Could you please re-sync with the master branch? We fixed a CI problem in the master branch.
auto build failed because sentinel-datasource-consul module unable to collect dependences