Ryan Baxter
59df61380d
Merge pull request #966 from spring-operator/polish-urls-xml-reactive-load-balancer
...
URL Cleanup
2019-03-27 19:29:27 -04:00
Ryan Baxter
f02b896359
Merge pull request #978 from spring-operator/polish-urls-remaining-reactive-load-balancer
...
URL Cleanup
2019-03-27 19:26:10 -04:00
Spring Operator
808ba08fd5
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* [ ] http://httpbin.org:80 (200) with 12 occurrences could not be migrated:
([https](https://httpbin.org:80 ) result NotSslRecordException).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://acme.com:8080 (ConnectTimeoutException) with 1 occurrences migrated to:
https://acme.com:8080 ([https](https://acme.com:8080 ) result ConnectTimeoutException).
* [ ] http://acme.org (ConnectTimeoutException) with 2 occurrences migrated to:
https://acme.org ([https](https://acme.org ) result ConnectTimeoutException).
* [ ] http://compose.docker.io/ (UnknownHostException) with 1 occurrences migrated to:
https://compose.docker.io/ ([https](https://compose.docker.io/ ) result UnknownHostException).
* [ ] http://foo.example.com (UnknownHostException) with 1 occurrences migrated to:
https://foo.example.com ([https](https://foo.example.com ) result UnknownHostException).
* [ ] http://docs.spring.io/spring/docs/5.0.x/javadoc-api/org/springframework/web/server/GatewayFilter.html (301) with 1 occurrences migrated to:
https://docs.spring.io/spring/docs/5.0.x/javadoc-api/org/springframework/web/server/GatewayFilter.html ([https](https://docs.spring.io/spring/docs/5.0.x/javadoc-api/org/springframework/web/server/GatewayFilter.html ) result 404).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://acme.com with 1 occurrences migrated to:
https://acme.com ([https](https://acme.com ) result 200).
* [ ] http://cloud.spring.io/spring-cloud-netflix/ with 3 occurrences migrated to:
https://cloud.spring.io/spring-cloud-netflix/ ([https](https://cloud.spring.io/spring-cloud-netflix/ ) result 200).
* [ ] http://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html ([https](https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html ) result 200).
* [ ] http://docs.spring.io/spring/docs/5.0.x/javadoc-api/org/springframework/web/server/ServerWebExchange.html with 1 occurrences migrated to:
https://docs.spring.io/spring/docs/5.0.x/javadoc-api/org/springframework/web/server/ServerWebExchange.html ([https](https://docs.spring.io/spring/docs/5.0.x/javadoc-api/org/springframework/web/server/ServerWebExchange.html ) result 200).
* [ ] http://example.com with 8 occurrences migrated to:
https://example.com ([https](https://example.com ) result 200).
* [ ] http://example.org with 32 occurrences migrated to:
https://example.org ([https](https://example.org ) result 200).
* [ ] http://httpbin.org with 1 occurrences migrated to:
https://httpbin.org ([https](https://httpbin.org ) result 200).
* [ ] http://projects.spring.io/spring-cloud/ with 1 occurrences migrated to:
https://projects.spring.io/spring-cloud/ ([https](https://projects.spring.io/spring-cloud/ ) result 200).
* [ ] http://projects.spring.io/spring-security/ with 2 occurrences migrated to:
https://projects.spring.io/spring-security/ ([https](https://projects.spring.io/spring-security/ ) result 200).
* [ ] http://projects.spring.io/spring-session/ with 2 occurrences migrated to:
https://projects.spring.io/spring-session/ ([https](https://projects.spring.io/spring-session/ ) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 2 occurrences migrated to:
https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ) result 200).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 2 occurrences migrated to:
https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546 ) result 301).
* [ ] http://projectlombok.org/features/index.html with 1 occurrences migrated to:
https://projectlombok.org/features/index.html ([https](https://projectlombok.org/features/index.html ) result 301).
* [ ] http://eclipse.org with 1 occurrences migrated to:
https://eclipse.org ([https](https://eclipse.org ) result 302).
* [ ] http://eclipse.org/m2e/ with 2 occurrences migrated to:
https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/ ) result 302).
* [ ] http://www.springsource.com/developer/sts with 1 occurrences migrated to:
https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://endpoint with 1 occurrences
* http://localhost with 46 occurrences
* http://localhost/ with 2 occurrences
* http://localhost/abc with 1 occurrences
* http://localhost/get with 12 occurrences
* http://localhost/get?a=b with 3 occurrences
* http://localhost/get?a=b&c=d with 6 occurrences
* http://localhost/getb with 1 occurrences
* http://localhost:3001 with 1 occurrences
* http://localhost:8008/configserver/foo/default with 1 occurrences
* http://localhost:8080/flakey with 1 occurrences
* http://localhost:8080/get with 6 occurrences
* http://localhost:8080/upload with 1 occurrences
* http://localhost:9000/foos/ with 4 occurrences
* http://localhost:9080 with 1 occurrences
* http://myhost with 6 occurrences
* http://myservice with 4 occurrences
* http://nameservice with 1 occurrences
* http://nameservice/foo with 1 occurrences
* http://originalhost:8080/get with 2 occurrences
* http://originalhost:8080/get/ with 1 occurrences
* http://originalhost:8080/one/two/three with 1 occurrences
* http://originalhost:8080/prefix/get with 1 occurrences
* http://originalhost:8080/prefix/get/ with 1 occurrences
* http://override-url with 1 occurrences
* http://override-url:80 with 1 occurrences
* http://routedservice:8090/get with 2 occurrences
* http://routedservice:8090/two with 1 occurrences
* http://someuri with 1 occurrences
* http://someuri:80 with 1 occurrences
* http://someurl with 1 occurrences
2019-03-26 03:39:37 -05:00
Spring Operator
5b33a4d8f7
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://maven.apache.org/xsd/maven-4.0.0.xsd with 8 occurrences migrated to:
https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd ) result 200).
* [ ] http://www.spring.io with 1 occurrences migrated to:
https://www.spring.io ([https](https://www.spring.io ) result 301).
* [ ] http://repo.spring.io/libs-milestone-local with 2 occurrences migrated to:
https://repo.spring.io/libs-milestone-local ([https](https://repo.spring.io/libs-milestone-local ) result 302).
* [ ] http://repo.spring.io/libs-snapshot-local with 2 occurrences migrated to:
https://repo.spring.io/libs-snapshot-local ([https](https://repo.spring.io/libs-snapshot-local ) result 302).
* [ ] http://repo.spring.io/release with 1 occurrences migrated to:
https://repo.spring.io/release ([https](https://repo.spring.io/release ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://maven.apache.org/POM/4.0.0 with 16 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 8 occurrences
2019-03-26 00:10:32 -05:00
Ryan Baxter
c1d124f0aa
Merge pull request #938 from spring-operator/polish-urls-apache-license-reactive-load-balancer
...
URL Cleanup
2019-03-21 15:19:14 -04:00
Spring Operator
7482a780fd
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 211 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-21 12:52:19 -05:00
Spencer Gibb
da84bb2ed5
Initial ReactiveLoadBalancer support
2018-08-24 12:09:46 -04:00
Spencer Gibb
86489b6d77
renames constant
2018-08-23 14:35:17 -04:00
Spencer Gibb
bbe41158b9
Pin reactor-extra to 3.2.0.M2 temporarily.
2018-08-23 10:38:34 -04:00
Spencer Gibb
2a7df6ef95
Moves to ApplicationListener away from @EventListener
2018-08-22 12:21:00 -04:00
Spencer Gibb
a31f4ca1b7
Pin reactor-extra to 3.2.0.M2 temporarily.
2018-08-22 12:16:41 -04:00
Spencer Gibb
8ecc912584
Removes commented out code
2018-08-17 01:27:12 -04:00
Spencer Gibb
7b6ec3cef9
Removes unused variable
2018-08-17 01:13:20 -04:00
Spencer Gibb
d271824187
Merge branch '2.0.x'
2018-08-15 14:08:57 -04:00
Kerwin Bryant
cf28327eeb
Allows LoadBalancerClientFilter to be extended ( #448 )
...
Makes `LoadBalancerClient` protected and creates protected `choose(ServerWebExchange)` method.
2018-08-15 14:06:56 -04:00
Arpan Das
83a32a087c
Adds RequestSizeFilter
...
Request Size Limit filter with test case and review comments
2018-08-14 13:08:16 -04:00
Spencer Gibb
112a35de52
Merge branch '2.0.x'
2018-08-14 13:04:23 -04:00
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
2018-08-14 13:03:58 -04:00
Spencer Gibb
64189af8bb
Merge branch '2.0.x'
2018-08-14 12:59:59 -04:00
Spencer Gibb
eea9510716
Adds option for setting custom content type for modify request body.
...
fixes gh-492
2018-08-14 12:58:01 -04:00
Spencer Gibb
de86661ca6
Modify request body now uses recalculated content-length header.
2018-08-14 12:05:44 -04:00
Spencer Gibb
03df59da56
Unignore read body test
2018-08-09 10:50:40 -04:00
Spencer Gibb
bf7015cb55
Merge branch 'boot-2-1'
2018-08-08 20:53:52 -04:00
Spencer Gibb
6d9c42028c
Updates for boot 2.1.0 and reactory-netty 0.8.x
2018-08-08 20:52:21 -04:00
Spencer Gibb
63fb4bfb57
removes appuser
2018-08-08 15:58:45 -04:00
Spencer Gibb
e15ce1b8a0
removes sudo
2018-08-08 15:53:35 -04:00
Spencer Gibb
a5d2b24eb0
Attempt to migrate to circleci 2.0
2018-08-08 15:47:50 -04:00
Spencer Gibb
2bbf748fcd
Calls to filter(collection) will now transform non-Ordered filters to Ordered filters.
...
fixes gh-445
2018-08-07 13:20:16 -04:00
Spencer Gibb
9aac4cb9c8
Rejects requests made on the management server port.
...
fixes gh-477
2018-08-07 12:33:56 -04:00
Spencer Gibb
2c49d49f36
Renames to Tests
2018-08-07 12:23:08 -04:00
Spencer Gibb
b08f8917d2
removes unused imports
2018-08-03 17:53:59 -04:00
Spencer Gibb
8cc6c3b840
Supports relative uri in RedirectTo filter
...
fixes gh-468
2018-08-03 17:38:21 -04:00
buildmaster
fb05818c85
Bumping versions to 2.0.2.BUILD-SNAPSHOT after release
2018-07-31 19:12:24 +00:00
buildmaster
5e6f06b720
Going back to snapshots
2018-07-31 19:12:24 +00:00
buildmaster
fe773fa4df
Update SNAPSHOT to 2.0.1.RELEASE
2018-07-31 19:09:58 +00:00
Spencer Gibb
532872b635
Adds additional actuator exclusions from test.
2018-07-30 15:31:28 -04:00
Ryan Baxter
6c7168df89
Merge pull request #439 from ryanjbaxter/readbody-cachebody
...
Caches body object in ReadBodyPredicate
2018-07-30 15:10:11 -04:00
Ryan Baxter
94832d9817
Adding comment clarifying why we are caching the request body
2018-07-30 14:28:23 -04:00
Spencer Gibb
84ddb0050b
Moves Metrics Filter to separate auto-config
...
fixes gh-457
2018-07-30 14:04:46 -04:00
Ryan Baxter
a25e408398
Autoconfigure GatewayDiscoveryClientAutoConfiguration after CompositeDiscoveryClientAutoConfiguration. Fixes #450 .
2018-07-30 11:19:13 -04:00
Spencer Gibb
277958ed65
polish
2018-07-30 11:01:33 -04:00
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
2018-07-29 19:39:01 -04:00
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
2018-07-28 21:46:36 -04:00
Ryan Baxter
67de4c3cfa
Add logging statement for ClassCastException
2018-07-28 10:58:04 -04:00
Tony Clarke
0b8a84e1b7
Fix bug where metrics fail if actuator is not added as a project dependency
2018-07-27 17:42:42 -04:00
Ryan Baxter
831008f42d
Handle ClassCastException
2018-07-27 16:08:29 -04:00
Ryan Baxter
1b9f5eea6a
Merge pull request #437 from tony-clarke-amdocs/ssl-trust
...
Create a trust manager backed by known trusted X509 certificates
2018-07-26 10:22:50 -04:00
Ryan Baxter
972c3710ee
Merge pull request #432 from tony-clarke-amdocs/metrics-issue-12
...
Add support for api gateway metrics
2018-07-26 07:12:19 -04:00
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.
2018-07-25 15:57:38 -04:00
Tony Clarke
22312fb2c1
Add license text and remove commented out test code
2018-07-23 16:15:34 -04:00