Eric Zhao
ff5c010a51
Fix flowId offset bug in EnvoySentinelRuleConverter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
b66680be87
Add Sentinel Envoy RLS server implementation ( #1139 )
* Add the sentinel-cluster-server-envoy-rls module, a Envoy RLS server implementation using Sentinel token server.
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
d38d5484ef
Remove redundant entry in Web servlet CommonFilter and update entry classification
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
800f6b9d65
Update adapter modules to update corresponding resource classification
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
086a6b0370
Support resource classification in Reactor adapter module and polish SC Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
6bb2de8750
Support classification for Sentinel resources
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
9d514d5036
Improve CommonFilter and WebServletConfig in Sentinel Web Servlet adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
于玉桔
b6c2979cee
Update doc for the `HTTP_METHOD_SPECIFY` property item ( #1091 )
5 years ago
李火亮
7c2c137f6f
Improve empty parentId handling logic in FetchJsonTreeCommandHandler ( #1140 )
- Treat as root node when parentId is empty string in FetchJsonTreeCommandHandler
5 years ago
于玉桔
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 years ago
Eric Zhao
cf5b955f12
Improve AssertUtil for collection checking
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
ballenwen
f6dff5a859
Fix typo in the README.md of sentinel-annotation-aspectj ( #1136 )
5 years ago
Eric Zhao
fc6ad47438
Update awesome-sentinel.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
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 years ago
format
6cf0945b86
Upgrade nacos-client to 1.1.4 in sentinel-datasource-nacos module ( #1129 )
5 years ago
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 years ago
于玉桔
f0e3348caf
Add init parameter to support unifying web context name in Sentinel Web CommonFilter ( #1111 )
5 years ago
Eric Zhao
b05502f8c2
Fix hookOnCancel handing logic in SentinelReactorSubscriber ( #1089 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
b0905547ff
Use ServiceLoaderUtil to create SPI ServiceLoader
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
8d5654f727
Add ServiceLoaderUtil to improve SPI classloader mechanism and update SpiLoader
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
wangyb
dbf1f97dde
Fix the cluster rule checking logic in FlowRuleUtil#checkClusterField() ( #1105 )
5 years ago
Neptune
b1c8c43bbe
Upgrade Apollo client version to 1.5.0 in sentinel-datasource-apollo module ( #1098 )
5 years ago
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 years ago
Eric Zhao
94026399bf
Improve code and document of sentinel-datasource-etcd module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Lin.Liang
aeae6cfe37
Add Etcd data-source extension ( #1018 )
5 years ago
于玉桔
cdd8d6ff6c
Support URL exclusion using UrlCleaner in Spring WebFlux adapter ( #1049 )
5 years ago
jingnan
c505ca8aa5
Support registering writable data-source for GatewayFlowRule and customized ApiDefinition ( #1057 )
5 years ago
windWheel
4e55a6a749
Optimize the slot order in DefaultSlotChainBuilder ( #1056 )
5 years ago
Neptune
582f32c35b
Update Apollo client dependency to 1.4.0 in sentinel-datasource-apollo module ( #1061 )
5 years ago
于玉桔
c33ed81e5b
doc: update UrlCleaner description in sentinel-web-servlet README.md ( #1051 )
5 years ago
tao.zhang
77932701b6
Add volatile for the stop flag of watcher in ConsulDataSource ( #1054 )
5 years ago
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 years ago
Eric Zhao
9ff6e47bb0
Add concrete exception message in AsyncEntry#cleanCurrentEntryInLocal ( #1047 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Roshi
4d9a5ef7f9
Update fastjson version to 1.2.60 ( #1045 )
5 years ago
Eric Zhao
6f5ede80ae
dashboard: fix vulnerability of bypassing AuthFilter ACL control
- credit to anonymous reporter :)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
于玉桔
4c0e35fddd
dashboard: Add version info in the left top of dashboard
5 years ago
huangxfchn
4916ec35ee
Improve annotation aspect to support throwing original exception in fallback and blockHandler ( #986 )
- extract the original exception from InvocationTargetException
5 years ago
于玉桔
1253471078
Code refinement for JDK-picked classes ( #1014 )
5 years ago
于玉桔
820ff9233a
dashboard: Support configuration for disabling login ( #997 )
5 years ago
cookiejoo
6d0bffbed2
doc: Update awesome-sentinel.md ( #1009 )
- Add a blog post of dashboard integration with Apollo
5 years ago
Eric Zhao
976ddf8c48
Refine the document and javadoc for Spring Cloud Config data-source module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Lin.Liang
30158bcac0
Add Spring Cloud Config data source extension ( #899 )
5 years ago
chenledong
c8df7e7456
Improve RT statistic and exception tracing in Sentinel gRPC adapter ( #995 )
5 years ago
Lin.Liang
39293c118b
Support adding prefix to Dubbo service resource name in Sentinel Dubbo Adapter ( #859 )
5 years ago
Eric Zhao
e71d036794
Fix test failure in sentinel-grpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
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 years ago
Mr.Z
b2ff4b719b
Fix the bug of wrong RT and exception tracing in sentinel-grpc-adapter ( #291 )
5 years ago
tao.zhang
ec30e897dc
Add Consul DataSource integration module ( #979 )
5 years ago
changxing.yu
17365f3d5f
Fix the bug of getting the wrong current flow QPS in ClusterFlowChecker ( #972 )
5 years ago
aq0706
56c73698cb
Support reading files with customized charset in ConfigUtil ( #961 )
5 years ago