Eric Zhao
c70565167f
refactor: Get the max allowed RT directly from SentinelConfig.statisticMaxRt() ( #1173 )
- to avoid the dependency chain: Constants -> SentinelConfig
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
于玉桔
24f8d75601
Fix the incorrect logic of handling the end separator of the log directory in LogBase ( #1172 )
5 years ago
Eric Zhao
72a58f7ea7
Add Consumer functional interface in sentinel-core utils
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
agensi
c03de043af
dashboard: fix "notZero" param typo of "clusterNode" command in SentinelApiClient ( #1155 )
5 years ago
Eric Zhao
9705f54611
Bump version to 1.7.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
d45ceb06dc
Update README.md
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
8cdf1de854
Bump version to 1.7.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
275041403d
Update resource classification in SentinelWebFluxFilter and improve reactor EntryConfig
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
9c268bd89a
Add Docker/k8s sample for Sentinel RLS token server and update document
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
tao.zhang
73188b46b7
Fix the bug that the Zuul adapter does not exit the entry with parameters ( #1148 )
5 years ago
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