Commit Graph

254 Commits

Author SHA1 Message Date
spring-builds
0d1cf2774c Going back to snapshots 2025-05-01 13:17:24 +00:00
spring-builds
a57533e373 Update SNAPSHOT to 4.3.0-RC1 2025-05-01 13:14:07 +00:00
spring-builds
e116c07287 Going back to snapshots 2025-04-07 11:54:43 +00:00
spring-builds
7951cef77f Update SNAPSHOT to 4.3.0-M3 2025-04-07 11:52:16 +00:00
spring-builds
0affb76a1a Going back to snapshots 2025-02-27 20:17:12 +00:00
spring-builds
3832179678 Update SNAPSHOT to 4.3.0-M2 2025-02-27 20:14:50 +00:00
spring-builds
7f638fbcae Going back to snapshots 2025-01-30 11:59:00 +00:00
spring-builds
cf958b361b Update SNAPSHOT to 4.3.0-M1 2025-01-30 11:56:23 +00:00
Spencer Gibb
037abaeb26 New module names (#3645)
* New naming convention using webflux and webmvc

The new suffixes are gateway-server-web{flux|mvc} and gateway-proxyexchange-web{flux|mvc}.

This commit updates the starters to use gateway-server-web{flux|mvc} suffixes.

* Adds new spring-cloud-gateway-server-web{flux|mvc} modules.

These simply depend on the old ones. A warning is logged if not using the new module.

* Adds s-c-g-proxyexchange-{webflux|webmvc} modules

* Updates docs for  s-c-g-{proxyexchange|server}-{webflux|webmvc} modules
2025-01-16 21:26:10 -05:00
spencergibb
d5f0f5cff7 Updates to version 4.3.0-SNAPSHOT 2025-01-16 15:10:39 -05:00
spencergibb
92046f3fc4 Revert "Bumping versions"
This reverts commit 3da857d51a.
2025-01-16 15:07:27 -05:00
spring-builds
3da857d51a Bumping versions 2025-01-16 18:46:56 +00:00
spring-builds
d5ee2b11ab Bumping dependency versions after release 2024-12-03 01:53:01 +00:00
spring-builds
acd63bb27c Bumping versions to 4.2.1-SNAPSHOT after release 2024-12-03 01:52:00 +00:00
spring-builds
593e64ab1c Going back to snapshots 2024-12-03 01:51:59 +00:00
spring-builds
00b862ce44 Update SNAPSHOT to 4.2.0 2024-12-03 01:49:15 +00:00
spring-builds
031e249477 Going back to snapshots 2024-11-08 03:06:06 +00:00
spring-builds
383f50be76 Update SNAPSHOT to 4.2.0-RC1 2024-11-08 03:03:50 +00:00
buildmaster
9d9fac23c7 Going back to snapshots 2024-10-08 13:32:22 +00:00
buildmaster
2b9629bd2e Update SNAPSHOT to 4.2.0-M2 2024-10-08 13:30:25 +00:00
buildmaster
6359ccadb2 Going back to snapshots 2024-08-19 19:34:21 +00:00
buildmaster
bd07fee24c Update SNAPSHOT to 4.2.0-M1 2024-08-19 19:31:59 +00:00
buildmaster
c919240b9d Bumping versions 2024-08-07 17:50:59 +00:00
buildmaster
4a2c6d836f Bumping versions to 4.1.6-SNAPSHOT after release 2024-07-10 17:24:54 +00:00
buildmaster
fa41264ea7 Going back to snapshots 2024-07-10 17:24:53 +00:00
buildmaster
6191539046 Update SNAPSHOT to 4.1.5 2024-07-10 17:22:34 +00:00
buildmaster
4159464c14 Bumping versions to 4.1.5-SNAPSHOT after release 2024-05-30 12:10:11 +00:00
buildmaster
6e857c31d0 Going back to snapshots 2024-05-30 12:10:10 +00:00
buildmaster
ede1673184 Update SNAPSHOT to 4.1.4 2024-05-30 12:06:02 +00:00
buildmaster
58c84413f7 Bumping versions 2024-04-18 12:11:15 +00:00
buildmaster
dbf4ec936e Bumping versions to 4.1.4-SNAPSHOT after release 2024-04-17 22:39:26 +00:00
buildmaster
e3d45e3558 Going back to snapshots 2024-04-17 22:39:25 +00:00
buildmaster
10120b4a1d Update SNAPSHOT to 4.1.3 2024-04-17 22:36:15 +00:00
buildmaster
ed99e408e5 Bumping versions to 4.1.3-SNAPSHOT after release 2024-03-27 14:28:07 +00:00
buildmaster
7f1155e203 Going back to snapshots 2024-03-27 14:28:06 +00:00
buildmaster
66004e31e6 Update SNAPSHOT to 4.1.2 2024-03-27 14:24:52 +00:00
buildmaster
fb3b782afc Bumping versions to 4.1.2-SNAPSHOT after release 2023-12-22 17:52:14 +00:00
buildmaster
6025c51aa6 Going back to snapshots 2023-12-22 17:52:13 +00:00
buildmaster
5544dd387c Update SNAPSHOT to 4.1.1 2023-12-22 17:48:46 +00:00
buildmaster
6163200d30 Bumping versions to 4.1.1-SNAPSHOT after release 2023-12-06 16:27:53 +00:00
buildmaster
b9eaf979fd Going back to snapshots 2023-12-06 16:27:53 +00:00
buildmaster
a9ab11ed89 Update SNAPSHOT to 4.1.0 2023-12-06 16:25:01 +00:00
buildmaster
6d2055ac05 Going back to snapshots 2023-10-31 14:39:58 +00:00
buildmaster
fb325a5216 Update SNAPSHOT to 4.1.0-RC1 2023-10-31 14:36:58 +00:00
buildmaster
b1d5ccd472 Going back to snapshots 2023-09-27 12:03:39 +00:00
buildmaster
da064b990f Update SNAPSHOT to 4.1.0-M2 2023-09-27 12:00:13 +00:00
buildmaster
eb098a7596 Going back to snapshots 2023-08-10 03:01:55 +00:00
buildmaster
c17804888c Update SNAPSHOT to 4.1.0-M1 2023-08-10 02:58:23 +00:00
sgibb
fed2898db3 Adds spring-cloud-starter-gateway-mvc 2023-08-01 17:52:46 -04:00
Spencer Gibb
ad34a9689a MVC Gateway Server (#2949)
* Initial support for Gateway Server MVC

Includes:
- FilterFunctions
- HandlerFunctions
- TestRestClient

Fixes gh-36

* Adds ProxyExchange abstraction and RestTemplate impl.

Also formatting and polish

* Migrates from RestTemplateProxyExchange to ClientHttpRequestFactoryProxyExchange

Also implements GatewayServerResponse that is mutable.

* Removes RestTemplateProxyExchange.javaˆ

* Allows resolving uri by request attribute

* formattingˆ

* Moved beans to GatewayServerMvcAutoConfiguration

* Removes unneeded GatewayServerRequestBuilder.javaˆ

* Adds addRequestParameter filter

* Adds FilterFunctions.setPath()

* Moves FilterFunctions.addResponseHeader()

* Adds FilterFunctions.stripPrefix()

* Moves ProxyExchangeHandlerFunction to bean.

This allows easier autoconfiguration.

* Adds HttpHeadersFilter and RemoveHopByHopR*HeadersFilter

* removes unused imports

* Initial local configuration compatibility with webflux server.

Borrows Operation framework from Spring Boot Actuator.

Discoverable predicates and filters are found via spring.factories. Currently only static methods are supported.

Shortcut configuration is not yet supported.

* Organized classes into individual packages

* Copy request body to proxy exchange client request body

* Changes getApplicationContext() to user RequestContextUtils

rather than relying on the DispatcherServlet attribute.

* Moves content to MvcUtils.java

* Allows for multiple predicates and filters with the same name.

* a get only route is to0 broad and causes a request loop

* Save the anded predicate, whoops.

Adds some trace logging as well.

* Adds initial support for load balancing

* Moves TestRestClient to client package

* Moves handler related classes to handler package

* Creates HandlerDiscoverer to dynamically load HandlerFunctions

* polish

* polish

* Extracts findOperation()ˆ

* Extracts invokeOperation()

* Adds support for config uri type lb://serviceId

* Adds uri template variable support.

Adds supporting methods to MvcUtils.java.

Expands uri templates in existing filters.

* Adds support for host predicate

* Adds support for circuit breaker filter

* Adds initial support for retry filter

* Adds initial support for Bucket4j rateLimit filter

* Removes separate *Supplier classes if not needed.

* Adds header request predicate

* Fixes accept() methods to better values.

* Adds support for cookie predicate

* Adds support for after, before and between time predicates

* Adds support for FilterFunctions.rewritePath()

* Adds support for shortcut configuration.

Adds Shortcut annotation to provide hints.

Extracts OperationMethod into an interface with DefaultOperationMethod the impl.

Adds NormalizedOperationMethod which uses the Shortcut annotation to normalize the arguments and give them the right keys. All Shortcut logic is here.

* Format comments

* Adds support for Forwarded and X-Forwarded-* Headers

* Moves TestLoadBalancerConfig to top level to shareˆ

* Uses JdkClientHttpRequestFactory.

* Adds routeId to RouterFunction.withAttribute()

* Adds toString()ˆ

* Shows sample of combining java dsl

* Implements refresh of config based routes.

* Adds support for proxying multipart form data.

* removes unneeded multipart propertyˆ

* Adds support for RestClientProxyExchange

Not yet the default. Waiting for a change that will eliminate reflection in RestClientProxyExchange

Created ProxyExchange.DefaultRequestBuilder as the code was duplicated in the two implementations.

* polishes ProxyExchangeHandlerFunction

* Adds ProxyExchange.ResponseConsumer

Adds ProxyExchange.Response and migrates away from ResponseHeadersFilter on the request to something more generic.

* Closes clientHttpResponse appropriately.

* Closes clientHttpResponse appropriately.

* Updates to use new WriteFunction interface

* Removes unused apache httpclient5 dependency

* Uses new RestClientCustomizer to add ClientHttpRequestFactory.

Changes constructor of RestClientProxyExchange to take a RestClient.
2023-07-05 19:05:30 -04:00