sgibb
254e95ec4d
Adds initial support for Bucket4j rateLimit filter
2 years ago
sgibb
cef29cc291
Adds initial support for retry filter
2 years ago
sgibb
27227b933f
Adds support for circuit breaker filter
2 years ago
sgibb
7b2010a21c
Adds support for host predicate
2 years ago
sgibb
7930d757a0
Adds uri template variable support.
...
Adds supporting methods to MvcUtils.java.
Expands uri templates in existing filters.
2 years ago
sgibb
7e15b3815a
Adds support for config uri type lb://serviceId
2 years ago
sgibb
f7faa71ab3
Extracts invokeOperation()
2 years ago
sgibb
56ac22bf41
Extracts findOperation()ˆ
2 years ago
sgibb
74a9a92e8a
polish
2 years ago
sgibb
41c9903e9a
polish
2 years ago
sgibb
4624823490
Creates HandlerDiscoverer to dynamically load HandlerFunctions
2 years ago
sgibb
6b1b0ed1e3
Moves handler related classes to handler package
2 years ago
sgibb
fdf17348f6
Moves TestRestClient to client package
2 years ago
sgibb
e6bd159a41
Adds initial support for load balancing
2 years ago
sgibb
87edcc0c7c
Save the anded predicate, whoops.
...
Adds some trace logging as well.
2 years ago
sgibb
93ac492e70
a get only route is to0 broad and causes a request loop
2 years ago
sgibb
3b78b65f2f
Allows for multiple predicates and filters with the same name.
2 years ago
sgibb
9f8513ab90
Moves content to MvcUtils.java
2 years ago
sgibb
953298221a
Changes getApplicationContext() to user RequestContextUtils
...
rather than relying on the DispatcherServlet attribute.
2 years ago
sgibb
2001e60e71
Copy request body to proxy exchange client request body
2 years ago
sgibb
f97e4758a4
Organized classes into individual packages
2 years ago
sgibb
660d1c3944
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.
2 years ago
spencergibb
496258fb17
removes unused imports
2 years ago
spencergibb
ac44549820
Adds HttpHeadersFilter and RemoveHopByHopR*HeadersFilter
2 years ago
spencergibb
44a31ac6c3
Moves ProxyExchangeHandlerFunction to bean.
...
This allows easier autoconfiguration.
2 years ago
spencergibb
bed9dd8fd6
Adds FilterFunctions.stripPrefix()
2 years ago
spencergibb
827f214ebd
Moves FilterFunctions.addResponseHeader()
2 years ago
spencergibb
640dca3872
Adds FilterFunctions.setPath()
2 years ago
spencergibb
5d9aae39a0
Adds addRequestParameter filter
2 years ago
spencergibb
32b0a5271e
Removes unneeded GatewayServerRequestBuilder.javaˆ
2 years ago
spencergibb
6dbab9c9c9
Moved beans to GatewayServerMvcAutoConfiguration
2 years ago
spencergibb
1d964e9f9e
formattingˆ
2 years ago
spencergibb
5e6dc23224
Allows resolving uri by request attribute
2 years ago
spencergibb
a5780d5db5
Removes RestTemplateProxyExchange.javaˆ
2 years ago
spencergibb
86ee7ca1ba
Migrates from RestTemplateProxyExchange to ClientHttpRequestFactoryProxyExchange
...
Also implements GatewayServerResponse that is mutable.
2 years ago
spencergibb
394f43014b
Adds ProxyExchange abstraction and RestTemplate impl.
...
Also formatting and polish
2 years ago
spencergibb
adda25b1e7
Initial support for Gateway Server MVC
...
Includes:
- FilterFunctions
- HandlerFunctions
- TestRestClient
Fixes gh-36
2 years ago
sgibb
98ccd635e0
Merge branch '4.0.x'
2 years ago
sgibb
fba558aade
Updates WeightCalculatorWebFilter to be more testable.
...
Since Random can't be mocked in jdk17+, replace the settable Random with Supplier<Double>. Production should still use ThreadLoacalRandom unless the supplier is set.
2 years ago
sgibb
e17509648f
Disables test for jdk 17+
2 years ago
sgibb
28baf1d381
Disable blockhound junit integration for jdk > 17
2 years ago
sgibb
d8c6eb2641
Merge branch '4.0.x'
2 years ago
sgibb
5df34a7e08
Small regex refactor
2 years ago
sgibb
05dca9dfaf
Removed TracingProperties bean as it is no longer needed.
...
It is now created somewhere in another auto-configuration.
2 years ago
sgibb
f98aa6d47b
removes method removed in framework 6.1
2 years ago
sgibb
f7587bc688
Updates version to 4.1.0-SNAPSHOT
2 years ago
sgibb
4e8da33734
Merge branch '4.0.x'
2 years ago
sgibb
38e2d07d1c
Merge branch '3.1.x' into 4.0.x
2 years ago
sgibb
d8d5bc071b
Removes predicate path exchange attr for forwards.
...
This moves the removal of GATEWAY_PREDICATE_PATH_CONTAINER_ATTR to ServerWebExchangeUtils.handle() which is now used in SpringCloudCircuitBreakerFilterFactory and ForwardRoutingFilter.
Fixes gh-2950
2 years ago
sgibb
7f1b1927ab
Run test with random port
2 years ago