ss-superman
dfce6ebba4
Remove redundant code in SentinelResourceAspect ( #2016 )
3 lat temu
于玉桔
6b86721b36
Support setting class-level defaultFallback for annotation extension ( #1493 )
4 lat temu
Eric Zhao
eed77cafc2
Polish placeholders in logging content to slf4j convention ( #1342 )
* Polish placeholders in logging content to "{}"
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 lat temu
Eric Zhao
800f6b9d65
Update adapter modules to update corresponding resource classification
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 lat temu
huangxfchn
4916ec35ee
Improve annotation aspect to support throwing original exception in fallback and blockHandler ( #986 )
- extract the original exception from InvocationTargetException
5 lat temu
0704681032
ebcf89024c
Remove duplicate "exceptionBelongsTo" check in SentinelResourceAspect ( #964 )
5 lat temu
Eric Zhao
82578e1fdf
Refactor and improve fallback support for @SentinelResource annotation ( #693 )
- Refactor the semantics and logic for blockHandler and fallback
- Add `fallbackClass` support for fallback in global classes
- Add `defaultFallback` support
- Update test cases and demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 lat temu
yikangfeng
08611fae0f
Add exceptionsToIgnore configuration support in @SentinelResource annotation ( #683 )
5 lat temu
Eric Zhao
53a4e16144
Fix bug for completing entry with parameters in SentinelResourceAspect
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 lat temu
Eric Zhao
61c525076f
Improve SentinelResourceAspect and update test cases / document of annotation support
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 lat temu
beston123
6e1dfb374c
Add exceptionsToTrace configuration support in @SentinelResource annotation ( #543 )
5 lat temu
Eric Zhao
f60394c651
Add test cases for sentinel-annotation-aspectj ( #581 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 lat temu
Eric Zhao
3109ac4bef
Remove slf4j dependency in sentinel-annotation-aspectj
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 lat temu
Eric Zhao
09ba7f081b
Resolves #256 : Support parameters in entry of Sentinel annotation support
- To enable parameter flow control in Sentinel annotation support
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 lat temu
Eric Zhao
61a75af379
Add exception count trace for Sentinel annotation aspectj support
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 lat temu
bitonly
8f85dc5643
Add overloaded handleBlockException method for customized extension ( #223 )
6 lat temu
Eric Zhao
e0328d412a
Remove logic of entering context when entering resource in annotation pointcut
- Rename AbstractSentinelAspect to AbstractSentinelAspectSupport
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 lat temu
bitonly
cb09304ee2
Add abstract Sentinel aspect class for extension ( #214 )
6 lat temu
Eric Zhao
5aad448191
Refactor logic of getting resource name in Sentinel annotation
- Enhance resolve name logic in MethodUtil
- Add test case for MethodUtil
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 lat temu
waveng
078df9db4f
Sentinel annotation supports method name as default resource name ( #187 )
6 lat temu
Eric Zhao
9164bb19fe
Fix the bug when resolving original method to get annotation ( #111 )
- The method from the signature will return the method of interface, so we need to resolve declared method in target class
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 lat temu
Eric Zhao
b1cf30fc24
Add support for shared block handler
- Update javadoc and document
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 lat temu
Eric Zhao
348b1c819b
Add Sentinel annotation definition and aspectj extension
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 lat temu