Eric Zhao
d07d17b4ca
Polish code and document of sentinel-sofa-rpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
cdfive
18acb1d154
Add Sentinel SOFARPC adapter module ( #1307 )
4 years ago
xue8
5f203aa79f
Flexible loggers' support through SPI mechanism with name `com.alibaba.csp.sentinel.log.Logger` ( #1265 )
* There are two types of logger for command center and common modules specified by annotation of `LogTarget`
* Add implementing examples in `sentinel-demo/sentinel-demo-log-logback`
* All implementations should support placeholder '{}'
4 years ago
xue8
70b66046a9
demo: Avoid hard-coded file separator in sentinel-demo-dynamic-file-rule module ( #1247 )
4 years ago
Eric Zhao
87142ce512
Bump version to 1.7.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
Eric Zhao
9c909e3631
Bump version to 1.7.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
Mr.Z
47100e64ba
Improve async invocation support in sentinel-apache-dubbo-adapter ( #1124 )
* Improve async support for Dubbo 2.7.2 and above (not compatible with 2.7.0 and 2.7.1 due to the bad compatibility design of Dubbo Filter)
4 years ago
Eric Zhao
20ad3c8f79
Improve code and demo for sentinel-spring-webmvc-adapter module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
kaizi2009
b14534fb35
Add Sentinel Spring Web MVC adapter module ( #1104 )
- Add sentinel-spring-webmvc-adapter module and demo
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
8cdf1de854
Bump version to 1.7.0
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
Lin.Liang
aeae6cfe37
Add Etcd data-source extension ( #1018 )
5 years ago
Eric Zhao
58a83b42aa
Update ZooKeeper client in data-source module to 3.4.14 to fix vulnerability
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
56e463e1fe
Add support for request item pattern matching in API gateway flow control ( #842 )
- Update the `GatewayParamParser` to support matching the request item.
- Update the internal logic of converting gateway rules to parameter flow rules. The unified mismatched parameters (`SentinelGatewayConstants.GATEWAY_NOT_MATCH_PARAM`) will be configured as an exception item with a large threshold (indicating always pass).
- Add a `GatewayRegexCache` to cache the compiled regex for performance.
- Constant rename: separate URL matching strategy from parameter matching strategy
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Lin.Liang
2eecd3ac6a
Make the value of RT_MAX_EXCEED_N in DegradeRule configurable ( #789 )
- Add two attributes in DegradeRule: rtSlowRequestAmount and minRequestAmount
5 years ago
Eric Zhao
f8ebbbccf4
Bump version to 1.7.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
3d2c33ef1d
Bump version to 1.6.1 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
尹吉欢
274ecb51c3
Fix the bug that Chinese characters are malformed in response body of ZuulBlockFallbackProvider ( #737 )
5 years ago
Eric Zhao
346e9b274e
Bump version to 1.6.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
b1345f751f
Bump version to 1.6.0 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
7546bcc83b
Add basic demo for Sentinel Zuul adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
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 years ago
Eric Zhao
845b258b61
Add demo for Sentinel Spring Cloud Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
e9719d32ec
Refactor flow algorithm for parameter flow control and support more traffic shaping mode ( #677 )
* support burst count, statistic interval per rule and throttling mode.
* Add fields in ParamFlowRule to support burst count, throttle, statistic interval per rule.
* Deprecate HotParamLeapArray and use token bucket algorithm directly.
5 years ago
Eric Zhao
df27e3ef9d
Code refactor and refinement for FileInJarReadableDataSource
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
nick.ding
882a06007d
Add FileInJarReadableDataSource to support reading config file in jar ( #646 )
5 years ago
Eric Zhao
015c87cfe1
Update demo for parameter flow control
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
0c3bf96678
Bump version to 1.6.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
48286e0ff8
Bump version to 1.5.1 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
f59b134b3c
Add demo module for integration with Apache Dubbo 2.7.x and above version
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
7f29773a34
Update Dubbo version to 2.6.x in sentinel-dubbo-adapter and demo ( #617 )
because Dubbo 2.5.x will be deprecated soon
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Bo Zhang
a3369378ad
Apply Alibaba p3c pmd plugin/rules and fix/ignore all violations of priority 1 ( #574 )
5 years ago
Eric Zhao
0d4c47b23e
Bump version to 1.5.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
053f7172a3
Bump version to 1.5.0 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
0b8f1c5838
Add basic demo for Sentinel Spring WebFlux adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Carpenter Lee
5279895581
Add highestCpuUsage in system rule.
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
5 years ago
cdfive
33fc154d64
Fix Dubbo-related dependencies in sentinel-dubbo-demo ( #534 )
* Add spring-context-support 1.0.2 and netty-all 4.1.31.Final dependency, and remove spring-context 5.0.7.RELEASE dependency
* Add comment for dependency
5 years ago
Eric Zhao
ed5ecd8580
Update command handler demo and code refinement
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
逅弈
59d923ebc1
Add an ApiCommandHandler to list all available commands and description ( #491 )
* Add a ApiCommandHandler which fetch all registered CommandHandlers so that user can get all available CommandHandlers by request /api
* Add a customized CommandHandler demo
5 years ago
Eric Zhao
59c721691b
Improve demo for Sentinel cluster flow control
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
5b260a9f75
Bump version to 1.5.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
2e0fe23384
Bump version to 1.4.2 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
yanlinly
1368154000
Update Nacos SDK version to 0.8 and update Nacos namespace demo ( #474 )
5 years ago
giegie
6d61fd0538
Add logback dependency in sentinel-demo-nacos-datasource to avoid log ClassNotFoundException thrown by Nacos client ( #438 )
5 years ago
huaifeng
70a3144cee
Upgrade Dubbo version in sentinel-demo-dubbo ( #436 )
5 years ago
wangjunwei87
d8a522590c
doc: fix typo in README of Sentinel Dubbo Demo ( #425 )
5 years ago
Eric Zhao
0969113710
Improve cluster embedded demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
a5e95b7b24
Update cluster demo README and remove unused demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
d4d85dbc7c
Bump version to 1.4.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago