dani3lWong
b7b54034cc
Fix NPE bug when updating gateway flow rules before the route/API has been requested once ( #1729 )
4 years ago
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 years ago
Eric Zhao
e58267012d
Bump version to 1.8.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
Eric Zhao
d17bf8c7cc
Bump version to 1.8.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
Jason Joo
656e3de2f9
Improve compatibility for dispatched servlet request in Spring Web adapter ( #1681 )
4 years ago
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 years ago
liqiangz
113afab380
adapter: Add test cases for Spring WebFlux HandlerFunction ( #1678 )
4 years ago
cdfive
a1ce97677c
webmvc-adapter: improve to avoid ErrorEntryFreeException ( #1533 )
If entry already exists in request just skip creation.
4 years ago
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 years ago
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 years ago
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 years ago
HupJ
ccd029ed0a
doc: Fix mistakes in README.md of sentinel-zuul-adapter ( #1593 )
4 years ago
于玉桔
38911c5ec1
Adapter: Support Apache HttpClient ( #1455 )
Introduce support through a customized client builder `SentinelApacheHttpClientBuilder`.
4 years ago
iron_city
d8714caceb
Support customized origin parser in legacy Dubbo 2.6.x adapter ( #1555 )
4 years ago
Eric Zhao
07df2818fe
Polish document and rearrange package for Quarkus and JAX-RS adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
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 years ago
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 years ago
Lin.Liang
5d439adf60
Fix sentinel-apache-dubbo-adapter full GC bug ( #1431 )
4 years ago
于玉桔
2b68a6c062
Add OkHttp integration ( #1456 )
4 years ago
wavesZh
096a9ebf7d
Improve deprecated ParameterMetric purge mechanism ( #1372 )
* Clear useless data in ParameterMetric for all removed rules
4 years ago
seasidesky
cfea7ae338
Add JAX-RS adapter ( #1396 )
4 years ago
Eric Zhao
a0196b6b00
Bump version to 1.8.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
Zhiguo.Chen
7c361aab13
Fix the bug of extracting request cookie in Spring Cloud Gateway adapter ( #1400 )
4 years ago
Eric Zhao
6a7ec708bc
Bump version to 1.7.2
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
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 years ago
cdfive
43b5e65ab3
Fix the bug that context was not released when blocked in Spring Web adapter ( #1353 )
4 years ago
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 years ago
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 years ago
Eric Zhao
0536fb6846
Polish code and demo of Sentinel Zuul 2.x adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
4 years ago
tao.zhang
5b9865db1c
Add gateway adapter for Zuul 2.x ( #1138 )
- also add demo for Zuul 2.x adapter
4 years ago
cdfive
2c2f60cf58
Add "web-context-unify" config in Spring WebMVC adapter to support "chain" relation flow strategy ( #1328 )
4 years ago
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
于玉桔
2bdeccf723
Fix Dubbo 2.7.5 compatibility problem of sentinel-apache-dubbo-adapter ( #1296 )
4 years ago
echooymxq
9cc52706f5
Polish code in Dubbo adapter and use Dubbo common constants ( #1245 )
4 years ago
Eric Zhao
fe23d5c11f
test: Improve test cases in sentinel-apache-dubbo-adapter module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
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
Eric Zhao
275041403d
Update resource classification in SentinelWebFluxFilter and improve reactor EntryConfig
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
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
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