Eric Zhao
fca70646ad
Bump version to 1.8.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
3 лет назад
Eric Zhao
ae214b5244
Bump version to 1.8.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
3 лет назад
Eric Zhao
be2715d814
Update source/target JDK version to 1.8 and update documents
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
3 лет назад
叶枫
a1eed7032f
Remove unused code ( #1991 )
Remove unused code in DefaultBlockExceptionHandler#handle
3 лет назад
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 лет назад
zhangxn
6719ceef65
Add Motan RPC adapter implementation ( #1825 )
4 лет назад
odidev
8c4f251922
CI: Polish dependencies for ARM64 and add ARM64 job to Travis CI ( #1765 )
1. Added ARM64 architecture in .travis.yml
2. Updated 'embedded-consul' version to 2.2.0, 'consul-api' version to 1.4.5 for ARM64 support.
3. Updated grpc.version for 'io.grpc:protoc-gen-grpc-java' to 1.30.2, for ARM64 support.
Signed-off-by: odidev <odidev@puresoftware.com>
4 лет назад
王振广
9936b4da60
Improve default block fallback logic in Dubbo 2.6.x adapter to avoid serialization problem ( #1794 )
- convert BlockException to a simple RuntimeException (with necessary message)
4 лет назад
nickChenyx
cc2d1a69a9
Optimize logging statements using placeholder ( #1736 )
* Optimize logging statements using placeholder to avoid unnecessary concatenation (issue #1735 )
4 лет назад
dani3lWong
b7b54034cc
Fix NPE bug when updating gateway flow rules before the route/API has been requested once ( #1729 )
4 лет назад
M4Y
b50ce662bd
Solve the URI fetching bug in sentinel-zuul-adapter #1109 ( #1605 )
Use `getRequestURI` instead of `getServletPath` to get URI of current request(Both in prefix and regex matching).
4 лет назад
Eric Zhao
e58267012d
Bump version to 1.8.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
Eric Zhao
d17bf8c7cc
Bump version to 1.8.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
Jason Joo
656e3de2f9
Improve compatibility for dispatched servlet request in Spring Web adapter ( #1681 )
4 лет назад
Eric Zhao
5905874dd8
Fix NPE bug and improve default fallback in Dubbo 2.7.x adapter
- Fix NPE bug in consumer filter (when non-biz error occurred)
- Improve default fallback in Dubbo 2.7.x adapter: convert the BlockException to a simple RuntimeException (with necessary message)
- Polish code and comments
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
liqiangz
113afab380
adapter: Add test cases for Spring WebFlux HandlerFunction ( #1678 )
4 лет назад
cdfive
a1ce97677c
webmvc-adapter: improve to avoid ErrorEntryFreeException ( #1533 )
If entry already exists in request just skip creation.
4 лет назад
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 лет назад
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 лет назад
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 лет назад
HupJ
ccd029ed0a
doc: Fix mistakes in README.md of sentinel-zuul-adapter ( #1593 )
4 лет назад
于玉桔
38911c5ec1
Adapter: Support Apache HttpClient ( #1455 )
Introduce support through a customized client builder `SentinelApacheHttpClientBuilder`.
4 лет назад
iron_city
d8714caceb
Support customized origin parser in legacy Dubbo 2.6.x adapter ( #1555 )
4 лет назад
Eric Zhao
07df2818fe
Polish document and rearrange package for Quarkus and JAX-RS adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
seasidesky
fda21de748
Add Sentinel annotation and JAX-RS plugins for Quarkus ( #1542 )
* Add sentinel-quarkus-adapter module, which provides sentinel-annotation-quarkus-adapter and sentinel-jax-rs-quarkus-adapter to adapt sentinel-annotation-cdi-interceptor and sentinel-jax-rs-adapter for Quarkus. It also provides sentinel-native-image-quarkus-adapter to support running Sentinel with Quarkus in native image mode.
4 лет назад
wavesZh
f1b63315c1
Improve consumer filter of Dubbo 2.6.x and 2.7.x adapter ( #1532 )
* entry and exit with params in consumer filter
4 лет назад
Lin.Liang
5d439adf60
Fix sentinel-apache-dubbo-adapter full GC bug ( #1431 )
4 лет назад
于玉桔
2b68a6c062
Add OkHttp integration ( #1456 )
4 лет назад
wavesZh
096a9ebf7d
Improve deprecated ParameterMetric purge mechanism ( #1372 )
* Clear useless data in ParameterMetric for all removed rules
4 лет назад
seasidesky
cfea7ae338
Add JAX-RS adapter ( #1396 )
4 лет назад
Eric Zhao
a0196b6b00
Bump version to 1.8.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
Zhiguo.Chen
7c361aab13
Fix the bug of extracting request cookie in Spring Cloud Gateway adapter ( #1400 )
4 лет назад
Eric Zhao
6a7ec708bc
Bump version to 1.7.2
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
cdfive
be4d058bf8
refactor: Make the ProcessorSlot itself as SPI and deprecate legacy slot chain builder ( #411 )
* Make slots loaded by SPI, mark all slots with @SpiOrder from -10000 to -1000, improve comment
* Reserve gateway and param slot chain builder (just extends DefaultSlotChainBuilder) and mark them as @Deprecated
4 лет назад
cdfive
43b5e65ab3
Fix the bug that context was not released when blocked in Spring Web adapter ( #1353 )
4 лет назад
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 лет назад
Eric Zhao
eed77cafc2
Polish placeholders in logging content to slf4j convention ( #1342 )
* Polish placeholders in logging content to "{}"
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
Eric Zhao
0536fb6846
Polish code and demo of Sentinel Zuul 2.x adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
tao.zhang
5b9865db1c
Add gateway adapter for Zuul 2.x ( #1138 )
- also add demo for Zuul 2.x adapter
4 лет назад
cdfive
2c2f60cf58
Add "web-context-unify" config in Spring WebMVC adapter to support "chain" relation flow strategy ( #1328 )
4 лет назад
Eric Zhao
d07d17b4ca
Polish code and document of sentinel-sofa-rpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
cdfive
18acb1d154
Add Sentinel SOFARPC adapter module ( #1307 )
4 лет назад
于玉桔
2bdeccf723
Fix Dubbo 2.7.5 compatibility problem of sentinel-apache-dubbo-adapter ( #1296 )
4 лет назад
echooymxq
9cc52706f5
Polish code in Dubbo adapter and use Dubbo common constants ( #1245 )
4 лет назад
Eric Zhao
fe23d5c11f
test: Improve test cases in sentinel-apache-dubbo-adapter module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
Eric Zhao
87142ce512
Bump version to 1.7.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 лет назад
Eric Zhao
9c909e3631
Bump version to 1.7.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 лет назад
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)
5 лет назад
Eric Zhao
20ad3c8f79
Improve code and demo for sentinel-spring-webmvc-adapter module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 лет назад
kaizi2009
b14534fb35
Add Sentinel Spring Web MVC adapter module ( #1104 )
- Add sentinel-spring-webmvc-adapter module and demo
5 лет назад