Sentinel/sentinel-demo/sentinel-demo-zuul-gateway/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/zuul/gateway Add support for request item pattern matching in API gateway flow control (#842) 2019-06-18 14:08:54 +08:00
resources Add basic demo for Sentinel Zuul adapter 2019-04-24 17:55:40 +08:00