于玉桔
2b68a6c062
Add OkHttp integration ( #1456 )
pirms 4 gadiem
wavesZh
096a9ebf7d
Improve deprecated ParameterMetric purge mechanism ( #1372 )
* Clear useless data in ParameterMetric for all removed rules
pirms 4 gadiem
seasidesky
cfea7ae338
Add JAX-RS adapter ( #1396 )
pirms 4 gadiem
Eric Zhao
a0196b6b00
Bump version to 1.8.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 4 gadiem
Zhiguo.Chen
7c361aab13
Fix the bug of extracting request cookie in Spring Cloud Gateway adapter ( #1400 )
pirms 4 gadiem
Eric Zhao
6a7ec708bc
Bump version to 1.7.2
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 4 gadiem
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
pirms 4 gadiem
cdfive
43b5e65ab3
Fix the bug that context was not released when blocked in Spring Web adapter ( #1353 )
pirms 4 gadiem
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)
pirms 4 gadiem
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>
pirms 4 gadiem
Eric Zhao
0536fb6846
Polish code and demo of Sentinel Zuul 2.x adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 4 gadiem
tao.zhang
5b9865db1c
Add gateway adapter for Zuul 2.x ( #1138 )
- also add demo for Zuul 2.x adapter
pirms 4 gadiem
cdfive
2c2f60cf58
Add "web-context-unify" config in Spring WebMVC adapter to support "chain" relation flow strategy ( #1328 )
pirms 4 gadiem
Eric Zhao
d07d17b4ca
Polish code and document of sentinel-sofa-rpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 4 gadiem
cdfive
18acb1d154
Add Sentinel SOFARPC adapter module ( #1307 )
pirms 4 gadiem
于玉桔
2bdeccf723
Fix Dubbo 2.7.5 compatibility problem of sentinel-apache-dubbo-adapter ( #1296 )
pirms 4 gadiem
echooymxq
9cc52706f5
Polish code in Dubbo adapter and use Dubbo common constants ( #1245 )
pirms 4 gadiem
Eric Zhao
fe23d5c11f
test: Improve test cases in sentinel-apache-dubbo-adapter module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Eric Zhao
87142ce512
Bump version to 1.7.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Eric Zhao
9c909e3631
Bump version to 1.7.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
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)
pirms 5 gadiem
Eric Zhao
20ad3c8f79
Improve code and demo for sentinel-spring-webmvc-adapter module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
kaizi2009
b14534fb35
Add Sentinel Spring Web MVC adapter module ( #1104 )
- Add sentinel-spring-webmvc-adapter module and demo
pirms 5 gadiem
Eric Zhao
9705f54611
Bump version to 1.7.1-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Eric Zhao
8cdf1de854
Bump version to 1.7.0
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Eric Zhao
275041403d
Update resource classification in SentinelWebFluxFilter and improve reactor EntryConfig
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
tao.zhang
73188b46b7
Fix the bug that the Zuul adapter does not exit the entry with parameters ( #1148 )
pirms 5 gadiem
Eric Zhao
d38d5484ef
Remove redundant entry in Web servlet CommonFilter and update entry classification
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Eric Zhao
800f6b9d65
Update adapter modules to update corresponding resource classification
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Eric Zhao
086a6b0370
Support resource classification in Reactor adapter module and polish SC Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Eric Zhao
9d514d5036
Improve CommonFilter and WebServletConfig in Sentinel Web Servlet adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
于玉桔
b6c2979cee
Update doc for the `HTTP_METHOD_SPECIFY` property item ( #1091 )
pirms 5 gadiem
于玉桔
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.
pirms 5 gadiem
于玉桔
f0e3348caf
Add init parameter to support unifying web context name in Sentinel Web CommonFilter ( #1111 )
pirms 5 gadiem
Eric Zhao
b05502f8c2
Fix hookOnCancel handing logic in SentinelReactorSubscriber ( #1089 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
于玉桔
cdd8d6ff6c
Support URL exclusion using UrlCleaner in Spring WebFlux adapter ( #1049 )
pirms 5 gadiem
jingnan
c505ca8aa5
Support registering writable data-source for GatewayFlowRule and customized ApiDefinition ( #1057 )
pirms 5 gadiem
于玉桔
c33ed81e5b
doc: update UrlCleaner description in sentinel-web-servlet README.md ( #1051 )
pirms 5 gadiem
chenledong
c8df7e7456
Improve RT statistic and exception tracing in Sentinel gRPC adapter ( #995 )
pirms 5 gadiem
Lin.Liang
39293c118b
Support adding prefix to Dubbo service resource name in Sentinel Dubbo Adapter ( #859 )
pirms 5 gadiem
Eric Zhao
e71d036794
Fix test failure in sentinel-grpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Mr.Z
b2ff4b719b
Fix the bug of wrong RT and exception tracing in sentinel-grpc-adapter ( #291 )
pirms 5 gadiem
Eric Zhao
37e78e511d
Use the unified context name instead in Web Servlet filter and code improvement ( #944 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Eric Zhao
103fa307e5
Add Ordered support for Spring Cloud Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Eric Zhao
fb31bb8d4d
Fix the empty value matching bug in GatewayParamParser of API gateway adapter common module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
lym-ifae
7dd20dd202
Add support for excluding some URLs in Web Servlet CommonFilter ( #914 )
pirms 5 gadiem
cdfive
eda7fdc5c8
Add parse method for parse ApiPredicateItem from json string in UpdateGatewayApiDefinitionGroupCommandHandler
pirms 5 gadiem
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>
pirms 5 gadiem
Eric Zhao
08676c4f6e
Support parsing cookie as request items in gateway flow control ( #814 )
- Add `getCookieValue` method in RequestItemParser interface and update GatewayParamParser
- Add cookie parsing logic for Spring Cloud Gateway and Zuul
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem
Eric Zhao
f8ebbbccf4
Bump version to 1.7.0-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
pirms 5 gadiem