Consul repository not working with URL_PATTERN
Mohamedfawzy1993 opened this issue · comments
When configuring consul repository with URL_PATTEN rate-limiting, ConsulRateLimiter fail to save the rate value to the consul, because the URL contains slashes that are treated as part of the path, consul respond with 404
To Reproduce
Steps to reproduce the behavior:
- Configure consul repo with URL_PATTERN
- Pattern in my cause is like "/api/xxx/*/yyy/zzz
- Try rate-limting
Expected behavior
Values to be stored normally in Consul KV
- Spring Boot Version 2.0.7.RELEASE
- Spring Cloud Version Finchley.SR1
- Spring Cloud Rate Limit Version 2.4.1.RELEASE
Hello @Mohamedfawzy1993, thanks for getting in touch, we will get back to you asap! If you have issues in the 1.x.x.RELEASE
line we recommend you to update to the latest version, unfortunately this line is not supported anymore.
Fixed at #466