yunan.zhang
aef00c48ed
demo: Improve remoteAddress and groupId of sentinel-demo-nacos-datasource ( #2134 )
* Update NacosConfigSender.java
* Update NacosDataSourceDemo.java
* fix(Nacos Demo): remoteAddress error
3 vuotta sitten
cdfive
a79ef35847
example: Add separate demo for slot/slot chain SPI ( #2085 )
3 vuotta sitten
shenbaoyong
8025ef5934
Add sentinel-transport-spring-mvc module ( #1957 )
3 vuotta sitten
Eric Zhao
fca70646ad
Bump version to 1.8.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
3 vuotta sitten
Eric Zhao
ae214b5244
Bump version to 1.8.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
3 vuotta sitten
Eric Zhao
be2715d814
Update source/target JDK version to 1.8 and update documents
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
3 vuotta sitten
Peine
fe59485fa9
Improve RocketMQ integration example ( #1757 )
- The demo was unable to run and stop because of missing namesrv configuration, and now fixed.
3 vuotta sitten
cdfive
62efb78d4e
Refactor SpiLoader and enhance SPI mechanism ( #1383 )
* Add `@Spi` annotation as the general annotation for SPI definition.
* Add isDefault in @Spi , add loadDefaultInstance and improve loadFirstInstanceOrDefault method, improve test cases
* Add SpiLoaderException class for thrown when something goes wrong while loading Provider
* Rearrange packages of base SPI mechanism
NOTE: this PR contains breaking changes regarding API.
3 vuotta sitten
zhangxn
6719ceef65
Add Motan RPC adapter implementation ( #1825 )
4 vuotta sitten
Eric Zhao
e58267012d
Bump version to 1.8.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
Eric Zhao
d17bf8c7cc
Bump version to 1.8.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
Jason Joo
656e3de2f9
Improve compatibility for dispatched servlet request in Spring Web adapter ( #1681 )
4 vuotta sitten
M4Y
197b7db440
Support customized origin parser in Apache Dubbo 2.7.x adapter and unify config ( #1617 )
* Support customized origin parser in Apache Dubbo 2.7.x adapter
* Unify Dubbo callback registry (for fallback and origin parser) into DubboAdapterGlobalConfig
* Polish default fallback implementation (wrap exception with RpcResult rather than directly throw it out)
4 vuotta sitten
Eric Zhao
58ff01e39b
Polish Dubbo 2.6.x adapter and unify callback registry into DubboAdapterGlobalConfig ( #1572 )
* Unify Dubbo callback registry (for fallback and origin parser) into DubboAdapterGlobalConfig
* Polish default fallback implementation (wrap exception with RpcResult rather than directly throw it out)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
ZhiQiang Gu
b9b1e8a481
Polish cluster flow control demo: add port in Nacos address ( #1655 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 vuotta sitten
Eric Zhao
a5fe23ad63
test: Update test cases with new degrade mechanism in sentinel-demo-quarkus
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
Eric Zhao
19db20f00d
Update demo for circuit breaking (DegradeRule)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
Eric Zhao
86f8bb7b38
Refactor config mechanism for OkHttp adapter and polish related code
- One config per interceptor instead of the global config
- Polish document and demo
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
于玉桔
38911c5ec1
Adapter: Support Apache HttpClient ( #1455 )
Introduce support through a customized client builder `SentinelApacheHttpClientBuilder`.
4 vuotta sitten
ZhiQiang Gu
5e1a443663
demo: Update slot chain SPI demo ( #1581 )
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
4 vuotta sitten
seasidesky
d59d2d3071
Add annotation CDI demo and Quarkus adapter demo ( #1543 )
4 vuotta sitten
yangy
1a97226851
Polish RocketMQ PullConsumerDemo to make code clear ( #1528 )
4 vuotta sitten
于玉桔
2b68a6c062
Add OkHttp integration ( #1456 )
4 vuotta sitten
seasidesky
cfea7ae338
Add JAX-RS adapter ( #1396 )
4 vuotta sitten
Eric Zhao
a0196b6b00
Bump version to 1.8.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
Eric Zhao
6a7ec708bc
Bump version to 1.7.2
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
Jason Joo
b715ceacf0
Fix CI failure in JDK 11 environment ( #1360 )
* Supplement missing javax.annotation-api to sentinel-cluster-server-envoy-rls and sentinel-demo-zuul2-gateway
* Upgrade mockito-core to 2.28.2 (up to date)
4 vuotta sitten
Eric Zhao
e4769293dc
Move CommandCenterLog to sentinel-transport-common and polish related code ( #1341 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
Eric Zhao
624d19d4ce
Polish logging SPI related code and add general JUL adapter for Logger SPI ( #1338 )
* Move the legacy JUL methods from LogBase to BaseJulLogger.
* Add a JavaLoggingAdapter as the general JUL adapter for the Logger SPI, which makes it convenient to use (as the default logger).
* Add LoggerSpiProvider to resolve Logger SPI.
* Polish the logback demo.
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
Eric Zhao
0536fb6846
Polish code and demo of Sentinel Zuul 2.x adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
tao.zhang
5b9865db1c
Add gateway adapter for Zuul 2.x ( #1138 )
- also add demo for Zuul 2.x adapter
4 vuotta sitten
cdfive
2c2f60cf58
Add "web-context-unify" config in Spring WebMVC adapter to support "chain" relation flow strategy ( #1328 )
4 vuotta sitten
Eric Zhao
d07d17b4ca
Polish code and document of sentinel-sofa-rpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
cdfive
18acb1d154
Add Sentinel SOFARPC adapter module ( #1307 )
4 vuotta sitten
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 vuotta sitten
xue8
70b66046a9
demo: Avoid hard-coded file separator in sentinel-demo-dynamic-file-rule module ( #1247 )
4 vuotta sitten
Eric Zhao
87142ce512
Bump version to 1.7.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
Eric Zhao
9c909e3631
Bump version to 1.7.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 vuotta sitten
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 vuotta sitten
Eric Zhao
20ad3c8f79
Improve code and demo for sentinel-spring-webmvc-adapter module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 vuotta sitten
kaizi2009
b14534fb35
Add Sentinel Spring Web MVC adapter module ( #1104 )
- Add sentinel-spring-webmvc-adapter module and demo
5 vuotta sitten
Eric Zhao
9705f54611
Bump version to 1.7.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 vuotta sitten
Eric Zhao
8cdf1de854
Bump version to 1.7.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 vuotta sitten
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 vuotta sitten
Lin.Liang
aeae6cfe37
Add Etcd data-source extension ( #1018 )
5 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Lin.Liang
2eecd3ac6a
Make the value of RT_MAX_EXCEED_N in DegradeRule configurable ( #789 )
- Add two attributes in DegradeRule: rtSlowRequestAmount and minRequestAmount
5 vuotta sitten
Eric Zhao
f8ebbbccf4
Bump version to 1.7.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 vuotta sitten
Eric Zhao
3d2c33ef1d
Bump version to 1.6.1 (release)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 vuotta sitten