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
于玉桔
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.
5 years ago
于玉桔
f0e3348caf
Add init parameter to support unifying web context name in Sentinel Web CommonFilter ( #1111 )
5 years ago
Eric Zhao
b05502f8c2
Fix hookOnCancel handing logic in SentinelReactorSubscriber ( #1089 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
于玉桔
cdd8d6ff6c
Support URL exclusion using UrlCleaner in Spring WebFlux adapter ( #1049 )
5 years ago
jingnan
c505ca8aa5
Support registering writable data-source for GatewayFlowRule and customized ApiDefinition ( #1057 )
5 years ago
于玉桔
c33ed81e5b
doc: update UrlCleaner description in sentinel-web-servlet README.md ( #1051 )
5 years ago
chenledong
c8df7e7456
Improve RT statistic and exception tracing in Sentinel gRPC adapter ( #995 )
5 years ago
Lin.Liang
39293c118b
Support adding prefix to Dubbo service resource name in Sentinel Dubbo Adapter ( #859 )
5 years ago
Eric Zhao
e71d036794
Fix test failure in sentinel-grpc-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Mr.Z
b2ff4b719b
Fix the bug of wrong RT and exception tracing in sentinel-grpc-adapter ( #291 )
5 years ago
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>
5 years ago
Eric Zhao
103fa307e5
Add Ordered support for Spring Cloud Gateway adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
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>
5 years ago
lym-ifae
7dd20dd202
Add support for excluding some URLs in Web Servlet CommonFilter ( #914 )
5 years ago
cdfive
eda7fdc5c8
Add parse method for parse ApiPredicateItem from json string in UpdateGatewayApiDefinitionGroupCommandHandler
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
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>
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
Eric Zhao
8d0bb691b3
Fix the bug for parsing with only non-param gateway rules
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
ae0b8a5c74
Refactor API gateway common module to separate converted rules from other rule managers
- Separate converted parameter rules from ParamFlowManager. Now the converted rules will be kept in GatewayRuleManager directly.
- Add a GatewayFlowSlot to do separate flow checking for generated rules.
- Refactor rule converting mechanism: now gateway rules in normal mode (without parameter) will also be converted to a parameter flow rule. The index will be the last (the last position). In GatewayParamParser we put a constant value to the last position.
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
0508c92665
Fix the bug that parameters are not carried when exiting entries in SentinelReactorSubscriber
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
1baac7783d
Refactor and improve Sentinel Zuul Adapter
- Now the adapter is based-on sentinel-api-gateway-adapter-common and supports both proxyId and customized APIs
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
540428bae0
Support getting and updating gateway rules and API groups via transport command
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
0f875d89f3
Add Sentinel Spring Cloud Gateway adapter module and implementation
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
faceb5f419
Add sentinel-api-gateway-adapter-common module for universal gateway rule and API definition management
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
b02ef82c62
Add constructor for EntryConfig in sentinel-reactor-adapter
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
fc550343c7
Support passing parameters via SentinelReactorTransformer
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
afc77c2b3e
Fix the bug that entry in SentinelReactorSubscriber did not carry expected entry type
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
0389974d2d
Add adapter module for Apache Dubbo 2.7.x and above
- copied legacy code and adapts to new package
- also update document for legacy Dubbo adapter
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
cdfive
6d1e7bcb7a
Add some unit test for sentinel-dubbo-adapter module ( #569 )
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
1a482b1d9f
doc: Update README for new adapter modules
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago
Eric Zhao
4b1ccd93e2
Refactor Node interface: change return type of `xxxQps` method from long to double ( #564 )
- Update test cases (use assertEquals(e, a, delta) instead)
- Also add `totalPass` method in Node interface
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
5 years ago