buildmaster
2f39ba705d
Bumping versions
1 year ago
Vahid Ramezani
bec2f5310b
increase code readability ( #3096 )
...
* increase code readability
* fix syntax error
* remove unused imports
1 year ago
buildmaster
6d2055ac05
Going back to snapshots
1 year ago
buildmaster
fb325a5216
Update SNAPSHOT to 4.1.0-RC1
1 year ago
sgibb
9d6ab543fd
Correctly proxy form urlencoded posts.
...
Turns out, gateway mvc was never sending the body of form urlencoded posts, but as query parameters (something servlet containers do). Then, on the other side framework was recreating the body until recently which caused the test to fail and expose the bug.
Fixes gh-3094
1 year ago
sgibb
ec69691133
Formatting
1 year ago
sgibb
3db2b35c90
Implements new methods
1 year ago
sgibb
5a9b234b7d
Disables ServerMvcIntegrationTests.formUrlencodedWorks()
...
See gh-3094
1 year ago
sgibb
e9cfe1df35
Asserts headers are not null.
1 year ago
sgibb
0321c64c85
Makes ArgumentSupplierBeanPostProcessor bean method static
...
Fixes warning in logs
1 year ago
sgibb
d533ae7583
More basic mvc documentation
1 year ago
buildmaster
b1d5ccd472
Going back to snapshots
1 year ago
buildmaster
da064b990f
Update SNAPSHOT to 4.1.0-M2
1 year ago
sgibb
6f95267317
Adds HandlerFunctions.forward()
...
See gh-2949
2 years ago
buildmaster
eb098a7596
Going back to snapshots
2 years ago
buildmaster
c17804888c
Update SNAPSHOT to 4.1.0-M1
2 years ago
sgibb
a8dc202edf
One RetryTemplate be route.
...
If not, it causes an IllegalArgumentException
2 years ago
sgibb
4cffb2d4d2
Use blocking circuit breaker starter
2 years ago
sgibb
8becfeee75
Converts class to record
2 years ago
sgibb
34f65539d3
Updates javadoc comment
2 years ago
sgibb
fb1fdbabc2
Adds BodyFilterFunctions.modifyRequestBody()
...
Adds MvcUtils.cacheAndReadBody(), MvcUtils.readBody() and MvcUtils.cacheAndReadBody(). This is generalized from GatewayRequestPredicates.readBody().
See gh-2949
2 years ago
sgibb
f94521e294
Removes old comment
2 years ago
sgibb
ad216211b5
Add toString() for never routeˆ
2 years ago
sgibb
aef79a3507
polish for loggingˆ
2 years ago
sgibb
2796d39a2c
Adds GatewayDelegatingRouterFunction.toString()ˆ
2 years ago
sgibb
79807d1ddd
Adds GatewayRequestPredicates.readBody()
...
Sets up a gateway attributes map in request attributes because request attributes are cleared between predicates.
Added MvcUtils.getAttribute() and MvcUtils.putAttribute() to use the gateway attribute map for attributes that live across predicates.
Adds BodyFilterFunctions.adaptCachedBody(). This needs to be used in conjunction with readBody(), otherwise no body will be sent downstream.
See gh-2949
2 years ago
sgibb
b3df870623
Adds GatewayRequestPredicates.weight()
...
Includes and ArgumentSupplier interface that, currently, predicates can implement that will, when accessed by the ArgumentSupplierBeanPostProcessor, send an ArgumentSupplier.ArgumentSuppliedEvent() that components can listen for.
In this case, the WeightCalculatorFilter needs the arguments for defined weight RequestPredicates.
Also GatewayRouterFunctions.route(routeId) was enhanced to add the routeId to requests via a custom Builder and delegating RouterFunction.
See gh-2949
2 years ago
sgibb
b393452869
Adds assertions for httpbin properties
2 years ago
sgibb
9f39a02b6b
Uses MvcUtils.setRouteId() rather than set attr by hand.
...
See gh-2949
2 years ago
sgibb
afa110ad55
Uses GatewayRouterFunctions.route()
...
This sets up the routeId filter and adds the routeId as metadata and puts the routeId in a request attribute on route()
See gh-2949
2 years ago
sgibb
0655bdcbda
Adds RemoveContentLengthRequestHeadersFilter
...
Removes workaround in RestClientProxyExchange and ClientHttpRequestFactoryProxyExchange
See gh-2949
2 years ago
sgibb
b7d9662195
Adds TransferEncodingNormalizationRequestHeadersFilter
...
See gh-2949
2 years ago
sgibb
4178c046ef
formats comment
2 years ago
sgibb
eb0b641c81
Adds GatewayRequestPredicates.cloudFoundryRouteService()
...
See gh-2949
2 years ago
sgibb
7b0184ec97
Adds BeforeFilterFunctions.fallbackHeaders()
...
Adds request attribute in CircuitBreakerFilterFunctions.circuitBreaker()
for use in fallbackHeaders().
See gh-2949
2 years ago
sgibb
a953d3897e
Adds AfterFilterFunctions.rewriteLocationResponseHeader()
...
See gh-2949
2 years ago
sgibb
9fecca67be
Adds TokenRelayFilterFunctions.tokenRelay()
...
See gh-2949
2 years ago
sgibb
11ef20d6f2
Adds AfterFilterFunctions.dedupeResponseHeader()
...
See gh-2949
2 years ago
sgibb
cf39b20ae2
Adds BeforeFilterFunctions.addRequestHeadersIfNotPresent()
...
See gh-2949
2 years ago
sgibb
335394b6cc
Adds BeforeFilterFunctions.mapRequestHeader()
...
See gh-2949
2 years ago
sgibb
528915b4c3
Changes AfterFilterFunctions to an abstract class.
2 years ago
sgibb
58f6a28866
Adds BeforeFilterFunctions.requestHeaderToRequestUri()
...
See gh-2949
2 years ago
sgibb
05cffd6ed6
Adds BeforeFilterFunctions.requestHeaderSize()
...
See gh-2949
2 years ago
sgibb
accd097560
Adds BeforeFilterFunctions.requestSize()
...
See gh-2949
2 years ago
sgibb
52aec742be
Adds AfterFilterFunctions.rewriteResponseHeader()
...
See gh-2949
2 years ago
sgibb
40580ccf0f
Simplifies response header assertions.
2 years ago
sgibb
89ef7dfd7c
Adds AfterFilterFunctions.removeResponseHeader()
...
See gh-2949
2 years ago
sgibb
1863ade599
removes unneeded cast to GatewayServerResponse for header manipulation.
2 years ago
sgibb
dfec3130b8
Adds BeforeFilterFunctions.removeRequestParameter()
...
See gh-2949
2 years ago
sgibb
27fe6e050f
Adds more configuration to Bucket4jFilterFunctions.RateLimitConfig
...
See gh-2949
2 years ago