Spencer Gibb
2a7df6ef95
Moves to ApplicationListener away from @EventListener
6 years ago
Spencer Gibb
a31f4ca1b7
Pin reactor-extra to 3.2.0.M2 temporarily.
6 years ago
Spencer Gibb
8ecc912584
Removes commented out code
6 years ago
Spencer Gibb
7b6ec3cef9
Removes unused variable
6 years ago
Spencer Gibb
d271824187
Merge branch '2.0.x'
6 years ago
Kerwin Bryant
cf28327eeb
Allows LoadBalancerClientFilter to be extended ( #448 )
...
Makes `LoadBalancerClient` protected and creates protected `choose(ServerWebExchange)` method.
6 years ago
Arpan Das
83a32a087c
Adds RequestSizeFilter
...
Request Size Limit filter with test case and review comments
6 years ago
Spencer Gibb
112a35de52
Merge branch '2.0.x'
6 years ago
Ryan Dawson
bc1e549dc8
add x-forwarded-prefix header ( #382 )
...
If the path of the url that the gw is routing to is a subset of the url that it is routing from then the difference is the prefix. Also applies if the path of the url being routed to is empty and the routed-from url path is non-empty.
Included quite a few null checks as it should allow for the various different route definition styles and types of request. I've been [using this](https://github.com/ryandawsonuk/activiti-cloud-gateway/tree/develop/src/main/java/org/springframework/cloud/gateway/filter/headers ) in k8s by overriding the class and found the null checks to be necessary.
Was thinking it could be disabled by default as that's how it is for [nginx ingress](https://github.com/kubernetes/ingress-nginx/pull/1805 ) but I haven't thought of any specific reason not to enable by default.
fixes gh-314
6 years ago
Spencer Gibb
64189af8bb
Merge branch '2.0.x'
6 years ago
Spencer Gibb
eea9510716
Adds option for setting custom content type for modify request body.
...
fixes gh-492
6 years ago
Spencer Gibb
de86661ca6
Modify request body now uses recalculated content-length header.
6 years ago
Spencer Gibb
03df59da56
Unignore read body test
6 years ago
Spencer Gibb
bf7015cb55
Merge branch 'boot-2-1'
6 years ago
Spencer Gibb
6d9c42028c
Updates for boot 2.1.0 and reactory-netty 0.8.x
6 years ago
Spencer Gibb
63fb4bfb57
removes appuser
6 years ago
Spencer Gibb
e15ce1b8a0
removes sudo
6 years ago
Spencer Gibb
a5d2b24eb0
Attempt to migrate to circleci 2.0
6 years ago
Spencer Gibb
2bbf748fcd
Calls to filter(collection) will now transform non-Ordered filters to Ordered filters.
...
fixes gh-445
6 years ago
Spencer Gibb
9aac4cb9c8
Rejects requests made on the management server port.
...
fixes gh-477
6 years ago
Spencer Gibb
2c49d49f36
Renames to Tests
6 years ago
Spencer Gibb
b08f8917d2
removes unused imports
6 years ago
Spencer Gibb
8cc6c3b840
Supports relative uri in RedirectTo filter
...
fixes gh-468
6 years ago
buildmaster
fb05818c85
Bumping versions to 2.0.2.BUILD-SNAPSHOT after release
6 years ago
buildmaster
5e6f06b720
Going back to snapshots
6 years ago
buildmaster
fe773fa4df
Update SNAPSHOT to 2.0.1.RELEASE
6 years ago
Spencer Gibb
532872b635
Adds additional actuator exclusions from test.
6 years ago
Ryan Baxter
6c7168df89
Merge pull request #439 from ryanjbaxter/readbody-cachebody
...
Caches body object in ReadBodyPredicate
6 years ago
Ryan Baxter
94832d9817
Adding comment clarifying why we are caching the request body
6 years ago
Spencer Gibb
84ddb0050b
Moves Metrics Filter to separate auto-config
...
fixes gh-457
6 years ago
Ryan Baxter
a25e408398
Autoconfigure GatewayDiscoveryClientAutoConfiguration after CompositeDiscoveryClientAutoConfiguration. Fixes #450 .
6 years ago
Spencer Gibb
277958ed65
polish
6 years ago
Ryan Baxter
1424968165
Merge pull request #457 from tony-clarke-amdocs/metrics-conditional
...
Fix bug where metrics fail if actuator is not added as a project depency
6 years ago
Tony Clarke
b0bc375fb2
Update gateway actuator metrics test to use @ClassPathExclusions to verify gateway doesn't fall over when actuator metrics are not added as project dependency
6 years ago
Ryan Baxter
67de4c3cfa
Add logging statement for ClassCastException
6 years ago
Tony Clarke
0b8a84e1b7
Fix bug where metrics fail if actuator is not added as a project dependency
6 years ago
Ryan Baxter
831008f42d
Handle ClassCastException
6 years ago
Ryan Baxter
1b9f5eea6a
Merge pull request #437 from tony-clarke-amdocs/ssl-trust
...
Create a trust manager backed by known trusted X509 certificates
6 years ago
Ryan Baxter
972c3710ee
Merge pull request #432 from tony-clarke-amdocs/metrics-issue-12
...
Add support for api gateway metrics
6 years ago
Tony Clarke
ca915c9b5a
Update metrics with feedback from Ryan and Jon. Metrics are now reported before we send the response back to the client. Hence no need for sleeps in the client side test.
6 years ago
Tony Clarke
22312fb2c1
Add license text and remove commented out test code
6 years ago
Tony Clarke
5f98cad301
Update metrics filter with feedback from ryanjbaxter and jkschneider
6 years ago
Tony Clarke
a849649356
Merge branch 'master' of https://github.com/spring-cloud/spring-cloud-gateway into metrics-issue-12
6 years ago
Ryan Baxter
cd48c2636d
Merge pull request #446 from tony-clarke-amdocs/fix-cors-test
...
Fix CORS test to only allow GET method
6 years ago
Tony Clarke
816761e21f
Fix CORS test to only allow GET method
6 years ago
Tony Clarke
7e12f233d0
Merge branch 'master' of https://github.com/spring-cloud/spring-cloud-gateway into metrics-issue-12
6 years ago
Ryan Baxter
6f8f0449ee
Merge pull request #401 from tony-clarke-amdocs/master
...
Support CORS configuration. Fixes #229
6 years ago
Tony Clarke
8f4a944ea2
Update documenation on how to configure CORS request/response
6 years ago
Ryan Baxter
04e36594e9
Merge pull request #441 from tillmannheigel/master
...
ForwardedHeadersFilter causes a broken http header (fixes #440 )
6 years ago
Tillmann Heigel
b54825766a
Use the correct code formatter as mentioned by @ryanjbaxter
6 years ago