Sentinel/sentinel-demo/sentinel-demo-spring-cloud-.../src/main
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>
2019-06-18 14:08:54 +08:00
..
java/com/alibaba/csp/sentinel/demo/spring/sc/gateway Add support for request item pattern matching in API gateway flow control (#842) 2019-06-18 14:08:54 +08:00
resources Add demo for Sentinel Spring Cloud Gateway adapter 2019-04-23 14:32:29 +08:00