234 Commits

Author SHA1 Message Date
giger85
acc88afe0d Fix typo in Custom Route Predicate 2021-08-16 10:16:09 -04:00
buildmaster
de8546a106 Bumping versions 2021-04-19 22:59:13 +00:00
Tony Clarke
7d7888d4da Update Grafana dashboard to use new metric prefix (#2179) 2021-03-31 11:31:45 -04:00
swapy
cd59c650e9 Fixes broken GatewayFilter link in documentation
Fixes gh-1880
Fixes gh-1881
2021-02-17 15:12:15 -05:00
Mete Alpaslan Katırcıoğlu
15db93cca9 Enable compression support via configuration
Fixes gh-361
Fixes gh-2146
2021-02-17 09:17:56 -05:00
buildmaster
973c458a70 Going back to snapshots 2021-02-11 14:28:54 +00:00
buildmaster
00a1f5b771 Update SNAPSHOT to 2.2.7.RELEASE 2021-02-11 14:27:32 +00:00
buildmaster
fb290c4a86 Going back to snapshots 2020-11-09 10:54:01 +00:00
buildmaster
2f1f1e73e9 Update SNAPSHOT to 2.2.6.RELEASE 2020-11-09 10:52:18 +00:00
Olivier Lechevalier
0027c5f6d1 Fix the SetRequestHostHeader filter documentation. 2020-11-03 13:34:53 -05:00
Guillaume Berche
8d6973c876 Refine documentation on body rewrite filters for the case of missing body
Null will be passed. Mono.empty() should be returned to assign an empty body.

Fixes gh-2000
2020-11-02 16:32:14 -05:00
Idan Gadot
0056beff25 Fix broken link to filters unit tests
A note about GatewayFilter factories contained a broken link to unit tests.

fixes gh-1960
2020-09-25 14:22:46 -04:00
Artem Yakshin
e13db63e58 Fixes grafana dashboard panels datasource
fixes gh-1664
2020-07-28 13:37:37 -04:00
Mihhail Verhovtsov
8c1a3b6777 Document that is SCGW is built on top of WebFlux rather than MVC.
The statement on spring.io that "This project provides a library for building an API Gateway on top of Spring MVC." seems to be misleading. Despite there being a subproject that uses Spring MVC, the gateway part that is widely known (e.g. via Spring Cloud Starter Gateway) uses WebFlux.

Fixes gh-1841
2020-07-28 13:27:56 -04:00
spencergibb
93a87dc507 Fixes hop by hop filter property name.
Fixes gh-1709
2020-07-28 12:51:07 -04:00
Been24
04433c50d6 Update spring-cloud-gateway.adoc
')' expected

Fixes gh-1768
2020-07-28 12:51:07 -04:00
Ryan Baxter
87e8892fe4 Add the ability to trip the circuit breaker based on returned status code. 2020-07-14 10:53:00 -04:00
Marcin Grzejszczak
d165617d92 Migrated to docs.spring.io & updated sc-build 2020-06-04 13:51:55 +02:00
Andrew Fitzgerald
16944d61d0 Adds a filter to replace the host header
fixes gh-530
fixes gh-1344
2020-05-19 16:12:51 -04:00
dveamer
dea0da5633 Corrects a typo about RewritePath GatewayFilter
fixes gh-1700
2020-05-04 12:15:15 -04:00
Mikhail Tatyushev
7875ba5fff Fix typos in docs
fixes gh-1638
fixes gh-1639
2020-04-08 16:36:18 -04:00
SpaceFox
d585f51557 Adds filter naming convention documentation
fixes gh-1859
fixes gh-1636
2020-04-08 16:10:35 -04:00
Ryan Baxter
863a82ec94 Fixing forwarded for properties. Fixes #1603 2020-03-17 16:06:16 -04:00
buildmaster
4404a22ca7 Going back to snapshots 2020-03-04 16:47:25 +00:00
buildmaster
a5e3cb7eb9 Update SNAPSHOT to 2.2.2.RELEASE 2020-03-04 16:45:55 +00:00
dcutic
8ba1c06183 Adds support for rate limits bellow 1 req/s
Adds requestedTokens configuration option. Previously, this was
hardcoded to 1.

Make the 'requested tokens' redis template argument configurable in
order to allow defining rate limits lower than 1 req/s, e.g. 1 req/m.

This is accomplished by setting:
- replenishRate = requestRate
- burstRate = requestRate * timeSpanInSeconds
- requestedTokens = timeSpanInSeconds

For 1 req/m this would be accomplished by:
- replenishRate = 1
- burstRate = 60
- requestedTokens = 60

fixes gh-1327
2020-02-28 14:33:34 -05:00
Alexander Holbreich
356c003260 fixing copy paste error on path_route
fixes gh-1581
2020-02-27 17:00:10 -05:00
Young Jun Seo
67241a3e6f Fixed typo
fateway -> gateway

fixes gh-1565
2020-02-27 16:43:19 -05:00
Spencer Gibb
d4f2b6860d Merge branch '2.1.x' into 2.2.x 2020-01-31 12:08:10 -05:00
Spencer Gibb
4243621d2f Adds documentation of a custom route predicate.
fixes gh-400
2020-01-30 15:21:37 -05:00
Spencer Gibb
6c9ca19887 Updates documentation of configuration and shortcut types.
Adds documentation for HeaderFilters

fixes gh-799
2020-01-29 20:34:20 -05:00
Mahendra Patel
8c21563c51 Document Weight predicate #1072 2020-01-29 19:21:09 -05:00
Spencer Gibb
4e67364b49 Updates retry filter factory to document support for other HTTP methods.
fixes gh-1302
2020-01-29 19:18:14 -05:00
Tim Peeters
01f314a475 Adds configurable maxLifeTime in HttpClientProperties.
fixes gh-1542
2020-01-27 11:43:24 -05:00
buildmaster
86b0455e59 Bumping versions 2020-01-14 18:07:49 +00:00
Ugnius Rumsevicius
4a33f1bfd2 Update appendix globalcors config property (#1348)
* Add missing config property to metadata json

* Update test config to dash-case
2020-01-13 16:00:57 -05:00
Derek OKeeffe
85df9b463f update redirect filter doc to describe no://op (#1332)
Co-authored-by: Spencer Gibb <sgibb@pivotal.io>
2020-01-13 15:54:22 -05:00
Jay Bryant
a721b36e4a Editing pass (#1456)
I edited for spelling, punctuation, usage, corporate voice, and consistencey. I also added .DS_Store to .gitignore.
2019-12-14 11:15:54 -05:00
Spencer Gibb
4272e45cc2 Merge branch '2.1.x' 2019-12-14 11:06:02 -05:00
Denis Zavedeev
ff054309ec Fix some typos in documentation
In particular:

- add missing `new` operator
- ensure that `RouteDefinitionLocators` is properly formatted in the "Configuration" section
- "Normwal" -> "Normal"
- remove extra "`"
2019-12-14 11:01:48 -05:00
Gsealy
ce5ee75c6b document SecureHeadersGatewayFilterFactory (#1437)
Documents how to disable specific headers.

Fixes gh-1417
2019-12-14 10:55:47 -05:00
Spencer Gibb
9649a54f3d Merge branch '2.1.x' 2019-12-13 14:19:04 -05:00
Dennis Menge
73bebc9962 Adds support for multiple HTTP methods in MethodRoutePredicate
Fixes gh-1473
2019-12-13 14:16:50 -05:00
Spencer Gibb
65ee46e1ef Merge branch '2.1.x' 2019-12-12 16:00:38 -05:00
Spencer Gibb
1e263bbc86 Revert "Moves random uuid back to constructor, but only if config is set."
This reverts commit 0997dc6f
2019-12-12 15:59:46 -05:00
Spencer Gibb
94134d2d03 Merge branch '2.1.x' 2019-12-12 13:17:17 -05:00
Spencer Gibb
0997dc6fd7 Moves random uuid back to constructor, but only if config is set.
By default, no random ids will be generated.
2019-12-12 12:15:41 -05:00
Stefan_Stus
096646f87c add possibility to override response and connect timeouts per route #1112 2019-12-11 09:36:03 +02:00
Ziemowit
069f24d568 Allow to configure maxIdleTime property for HttpClient (#1411)
* Allow to configure maxIdleTime property for HttpClient

Since 0.9.0.RELEASE of reactor netty there is a possibility
to configure the pooled connection max idle time.

This commit gives the possibility to set it via spring configuration.

* Changes after review
2019-11-29 11:33:46 +01:00
Olga Maciaszek-Sharma
64879c32f7 Gh 1300 backport sc loadbalancer support (#1414)
* Gh 1294 add reactive sc loadbalancer support (#1295)

* Initial ReactiveLoadBalancer support

# Conflicts:
#	spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/filter/LoadBalancerClientFilter.java

* Optimise imports. Minor refactoring.

* Use `LoadBalancerUriTools` for reconstructing uris.
Handle 404 exceptions. Add more tests and javadocs.

* Finish autoConfiguration and dependencies setup.

* Rename to `ReactorLoadBalancerClientFilter`. Fix test. Add docs.

* Fix after review.

* Fix dependencies, docs and formatting after backporting changes.
2019-11-15 20:53:03 +01:00