李火亮
7c2c137f6f
Improve empty parentId handling logic in FetchJsonTreeCommandHandler ( #1140 )
- Treat as root node when parentId is empty string in FetchJsonTreeCommandHandler
5 anni fa
于玉桔
a451d4bbac
Support customized block page HTTP status in sentinel-web-servlet-adapter ( #1112 )
* Return canonical status 429 in the default block handler of sentinel-web-servlet-adapter.
* Add a `csp.sentinel.web.servlet.block.page.http.status` property to support customized block status configuration.
5 anni fa
Eric Zhao
cf5b955f12
Improve AssertUtil for collection checking
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
ballenwen
f6dff5a859
Fix typo in the README.md of sentinel-annotation-aspectj ( #1136 )
5 anni fa
Eric Zhao
fc6ad47438
Update awesome-sentinel.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
dependabot[bot]
3b5823987c
Bump netty-all version in sentinel-demo-dubbo to fix vulnerability ( #1130 )
Bumps [netty-all](https://github.com/netty/netty ) from 4.1.31.Final to 4.1.42.Final.
Signed-off-by: dependabot[bot] <support@github.com>
5 anni fa
format
6cf0945b86
Upgrade nacos-client to 1.1.4 in sentinel-datasource-nacos module ( #1129 )
5 anni fa
Eric Zhao
74a40aa285
Improve Node and Metric interface to support conditional metric retrieval ( #1115 )
* Add detailsOnCondition method in Metric interface to filter MetricNode within the time condition.
* Add rawMetricsInMin method in Node interface, which will retrieve and generate metric items from the min-level sliding window on condition.
* Add test cases for detailsOnCondition.
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
于玉桔
f0e3348caf
Add init parameter to support unifying web context name in Sentinel Web CommonFilter ( #1111 )
5 anni fa
Eric Zhao
b05502f8c2
Fix hookOnCancel handing logic in SentinelReactorSubscriber ( #1089 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Eric Zhao
b0905547ff
Use ServiceLoaderUtil to create SPI ServiceLoader
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Eric Zhao
8d5654f727
Add ServiceLoaderUtil to improve SPI classloader mechanism and update SpiLoader
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
wangyb
dbf1f97dde
Fix the cluster rule checking logic in FlowRuleUtil#checkClusterField() ( #1105 )
5 anni fa
Neptune
b1c8c43bbe
Upgrade Apollo client version to 1.5.0 in sentinel-datasource-apollo module ( #1098 )
5 anni fa
Eric Zhao
826447bc82
Fix the bug that resource name displayed in ClusterNode-related command APIs for SphU.entry(method) is incorrect ( #1078 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Eric Zhao
94026399bf
Improve code and document of sentinel-datasource-etcd module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Lin.Liang
aeae6cfe37
Add Etcd data-source extension ( #1018 )
5 anni fa
于玉桔
cdd8d6ff6c
Support URL exclusion using UrlCleaner in Spring WebFlux adapter ( #1049 )
5 anni fa
jingnan
c505ca8aa5
Support registering writable data-source for GatewayFlowRule and customized ApiDefinition ( #1057 )
5 anni fa
windWheel
4e55a6a749
Optimize the slot order in DefaultSlotChainBuilder ( #1056 )
5 anni fa
Neptune
582f32c35b
Update Apollo client dependency to 1.4.0 in sentinel-datasource-apollo module ( #1061 )
5 anni fa
于玉桔
c33ed81e5b
doc: update UrlCleaner description in sentinel-web-servlet README.md ( #1051 )
5 anni fa
tao.zhang
77932701b6
Add volatile for the stop flag of watcher in ConsulDataSource ( #1054 )
5 anni fa
Eric Zhao
8b40981fca
Improve SystemRuleManager and refactor checking logic of maxCpuUsage strategy ( #1050 )
- The BBR period for maxCpuUsage strategy is deprecated. Now Sentinel will just check the CPU usage value, which could avert surge of CPU usage quickly
- Improve SystemRuleManager and SystemStatusListener
- Add some test cases
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Eric Zhao
9ff6e47bb0
Add concrete exception message in AsyncEntry#cleanCurrentEntryInLocal ( #1047 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Roshi
4d9a5ef7f9
Update fastjson version to 1.2.60 ( #1045 )
5 anni fa
Eric Zhao
6f5ede80ae
dashboard: fix vulnerability of bypassing AuthFilter ACL control
- credit to anonymous reporter :)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
于玉桔
4c0e35fddd
dashboard: Add version info in the left top of dashboard
5 anni fa
huangxfchn
4916ec35ee
Improve annotation aspect to support throwing original exception in fallback and blockHandler ( #986 )
- extract the original exception from InvocationTargetException
5 anni fa
于玉桔
1253471078
Code refinement for JDK-picked classes ( #1014 )
5 anni fa
于玉桔
820ff9233a
dashboard: Support configuration for disabling login ( #997 )
5 anni fa
cookiejoo
6d0bffbed2
doc: Update awesome-sentinel.md ( #1009 )
- Add a blog post of dashboard integration with Apollo
5 anni fa
Eric Zhao
976ddf8c48
Refine the document and javadoc for Spring Cloud Config data-source module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Lin.Liang
30158bcac0
Add Spring Cloud Config data source extension ( #899 )
5 anni fa
chenledong
c8df7e7456
Improve RT statistic and exception tracing in Sentinel gRPC adapter ( #995 )
5 anni fa
Lin.Liang
39293c118b
Support adding prefix to Dubbo service resource name in Sentinel Dubbo Adapter ( #859 )
5 anni fa
Eric Zhao
e71d036794
Fix test failure in sentinel-grpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Eric Zhao
2682bd1aae
Improve ConsulDataSource and add README.md for the module
- Change the unit of waitTimeout from ms to s (the previous implementation lay suffer the bug that ms/1000=0 when ms<=1000)
- Improve the error handling when parsing the value
- Add README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Mr.Z
b2ff4b719b
Fix the bug of wrong RT and exception tracing in sentinel-grpc-adapter ( #291 )
5 anni fa
tao.zhang
ec30e897dc
Add Consul DataSource integration module ( #979 )
5 anni fa
changxing.yu
17365f3d5f
Fix the bug of getting the wrong current flow QPS in ClusterFlowChecker ( #972 )
5 anni fa
aq0706
56c73698cb
Support reading files with customized charset in ConfigUtil ( #961 )
5 anni fa
0704681032
ebcf89024c
Remove duplicate "exceptionBelongsTo" check in SentinelResourceAspect ( #964 )
5 anni fa
Eric Zhao
a0f13bad38
dashboard: update dependencies in package.json to fix frontend vulnerabilities
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Lin.Liang
88b5631d1f
dashboard: fix AuthorityRuleEntity and ParamFlowRuleEntity fastjson serialize problem ( #889 )
* Add @JsonIgnore annotation
5 anni fa
coco
78f69bbce3
Upgrade fastjson dependency to 1.2.58 ( #950 )
5 anni fa
Eric Zhao
253a992cb8
Update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Eric Zhao
37e78e511d
Use the unified context name instead in Web Servlet filter and code improvement ( #944 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Eric Zhao
103fa307e5
Add Ordered support for Spring Cloud Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa
Eric Zhao
fb31bb8d4d
Fix the empty value matching bug in GatewayParamParser of API gateway adapter common module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 anni fa