Dennis Menge
61f2a96c19
Adds test case for route specific actuator endpoint
5 years ago
Spencer Gibb
9fc302ec72
Adds support for netty wiretap on server and client.
...
fixes gh-1194
5 years ago
Spencer Gibb
f1dbcdc0fe
Adds ability to expand uri variables for other filters. ( #711 )
...
Currently only SetPath can use the uri variables from the path and host
predicates. Now, other filters can use them thru the
ServerWebExchangeUtils.expand() method.
fixes gh-704
5 years ago
Spencer Gibb
1cf449c870
Adds toString() to filter factories and predicate factories. ( #785 )
...
This allows for easier debugging and visibility into configuration.
Predicates needed custom implementations of and() or() and not() so
that toString() could function.
Actuator endpoint was updated to use the new toString(). To enable
set `spring.cloud.gateway.actuator.verbose.enabled=true`.
fixes gh-784
5 years ago
Tim Ysewyn
19494b2c7d
Don't mark the request as routed when we need to forward ( #1184 )
...
Fixes gh-1125
5 years ago
Spencer Gibb
dc4ed76b57
Set routeId on configurations from route definitions.
...
fixes gh-1160
5 years ago
Spencer Gibb
d17630f4f2
Verify body is still sent during post retry
5 years ago
Spencer Gibb
7471a41fde
Renames httpClient bean to gatewayHttpClient.
...
fixes gh-1134
5 years ago
Spencer Gibb
c14a749e84
Fixes scm url
5 years ago
Ryan Baxter
9eea694f9f
Get ASCII string in netty routing filter. Fixes #1132 .
5 years ago
Spencer Gibb
b14de727eb
Bumping versions to 2.1.3.BUILD-SNAPSHOT after release
5 years ago
buildmaster
89420c3318
Update SNAPSHOT to 2.1.2.RELEASE
5 years ago
Spencer Gibb
ec0d906ff3
Adds ServerWebExchangeUtils methods for caching the request body.
...
Adapts the methods from AlwaysRetainBodyGlobalFilter to a generic
way to cache the request body. That filter was removed and
AdaptCachedBodyGlobalFilter and ReadBodyPredicateFactory were updated
to use the new methods.
fixes gh-946
5 years ago
Spencer Gibb
c46543b356
Only add headers if response is not committed.
5 years ago
Spencer Gibb
e632221d28
Increases test timeout
6 years ago
Spencer Gibb
bda561c34d
Formatting
6 years ago
Spencer Gibb
3b67c1e576
Move array from stream and use a for loop.
...
See #1073
6 years ago
Spencer Gibb
76d138fb40
Adds ability to cache body without converting to bytes ( #1095 )
...
Creates new Cache filter that is activated with retry filter is used.
Other filters can opt into caching if needed.
Uses netty factory and retainedSlice() for retry.
Only cache if retry filter is enabled
Fixes gh-982
Fixes gh-1064
6 years ago
Ryan Baxter
0c9732bdc6
Merge pull request #1113 from dlsrb6342/2.1.x
...
Fix wrong defaultValue in metadata
6 years ago
Ingyu Hwang
5af2bb5529
Fixes spring-cloudgh-1108 Fix wrong defaultValue in metadata
6 years ago
Ryan Baxter
968953cfe2
Merge remote-tracking branch 'origin/2.0.x' into 2.1.x
6 years ago
Ryan Baxter
9e2c7fedf4
Merge pull request #1093 from re6exp/2.0.x
...
Add methods using custom spec to GatewayFilterSpec::modifyResponseBody() and GatewayFilterSpec::modifyRequestBody()
6 years ago
Ryan Baxter
56eda5080d
Merge pull request #1042 from thirunar/2.1.x
...
Fixes gh-878 - secure headers can be disabled #1041
6 years ago
re6exp
a64a6e3bf5
PR 1014 - moved from master to 2.0.x
6 years ago
Thirunavukkarasu Ravichandran
dbcd9bac5d
renaming the method
6 years ago
Thirunavukkarasu Ravichandran
ee6f7d01c4
Fixes gh-878 - secure headers can be disabled
6 years ago
Olga Maciaszek-Sharma
1d86bb51f6
Formatting fixes with updated spring java-format plugin.
6 years ago
Olga Maciaszek-Sharma
73bf24a27d
Do not pass `forward` URI scheme along.
6 years ago
Olga Maciaszek-Sharma
917f565a54
Do not pass `forward` URI scheme along. ( #1061 )
6 years ago
Spencer Gibb
6b13f8c1b3
WebClient cleanup response
6 years ago
Spencer Gibb
659313816b
polish
6 years ago
Spencer Gibb
dc4181bbb0
Updates to properly dispose of DataBuffers and cleanup connections.
6 years ago
Spencer Gibb
9337d992cb
Updates metrics filter to use int status first.
6 years ago
Olga Maciaszek-Sharma
7194719c3e
Rename test.
6 years ago
Olga Maciaszek-Sharma
80e5e5f3fc
Fix checkstyle. Rename test.
6 years ago
Olga Maciaszek-Sharma
a0a980e884
Fix checkstyle.
6 years ago
Olga Maciaszek-Sharma
063a87cc19
Fix tests after URL cleanup.
6 years ago
Olga Maciaszek-Sharma
53ca3aef2f
Merge remote-tracking branch 'spring-operator/polish-urls-remaining-2.0.x' into 2.0.x
6 years ago
Olga Maciaszek-Sharma
4b267b358d
Merge remote-tracking branch 'origin/2.1.x' into 2.1.x
6 years ago
Olga Maciaszek-Sharma
853d442dc6
Fix tests after URL cleanup.
6 years ago
Ryan Baxter
949611d896
Merge remote-tracking branch 'origin/2.0.x' into 2.1.x
6 years ago
Ryan Baxter
1a7df11108
Merge pull request #880 from tony-clarke-amdocs/2.0.x
...
Update GW metrics filter to include two new tags; the http Method and…
6 years ago
Olga Maciaszek-Sharma
a4cc1ac834
Merge remote-tracking branch 'spring-operator/polish-urls-remaining-2.1.x' into 2.1.x
6 years ago
Ryan Baxter
8506756833
Merge pull request #930 from spring-operator/polish-urls-apache-license-2.0.x
...
URL Cleanup
6 years ago
Ryan Baxter
1695ea03d9
Merge pull request #958 from spring-operator/polish-urls-xml-2.0.x
...
URL Cleanup
6 years ago
Ryan Baxter
0ed058eb38
Merge pull request #959 from spring-operator/polish-urls-xml-2.1.x
...
URL Cleanup
6 years ago
Spring Operator
baebc551f5
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 11 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://www.uri-destination.org (UnknownHostException) with 1 occurrences migrated to:
https://www.uri-destination.org ([https](https://www.uri-destination.org ) 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).
* [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ) 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 5 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 34 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://docs.spring.io with 1 occurrences migrated to:
https://docs.spring.io ([https](https://docs.spring.io ) result 301).
* [ ] 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://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 51 occurrences
* http://localhost/ with 2 occurrences
* http://localhost/abc with 1 occurrences
* http://localhost/get with 10 occurrences
* http://localhost/get?a=b with 2 occurrences
* http://localhost/get?a=b&c=d with 4 occurrences
* http://localhost/get?key with 1 occurrences
* http://localhost/getb with 3 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://localhost:9994 with 3 occurrences
* http://myhost with 5 occurrences
* http://myhost/abc%20def/get with 1 occurrences
* http://myhost/mypath with 1 occurrences
* http://myservice with 2 occurrences
* http://nameservice with 1 occurrences
* http://nameservice/foo with 1 occurrences
* http://originalhost:8080/foo/bar with 2 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/ with 1 occurrences
* http://routedservice:8090/get with 2 occurrences
* http://routedservice:8090/two with 1 occurrences
* http://service1 with 1 occurrences
* http://someuri with 1 occurrences
* http://someuri:80 with 1 occurrences
* http://someurl with 1 occurrences
6 years ago
Spring Operator
50020fe390
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://www.uri-destination.org (UnknownHostException) with 1 occurrences migrated to:
https://www.uri-destination.org ([https](https://www.uri-destination.org ) 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).
* [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ) 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 34 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://docs.spring.io with 1 occurrences migrated to:
https://docs.spring.io ([https](https://docs.spring.io ) result 301).
* [ ] 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://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 51 occurrences
* http://localhost/ with 2 occurrences
* http://localhost/abc with 1 occurrences
* http://localhost/get with 10 occurrences
* http://localhost/get?a=b with 2 occurrences
* http://localhost/get?a=b&c=d with 4 occurrences
* http://localhost/getb with 3 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:9000/foos/ with 4 occurrences
* http://localhost:9080 with 1 occurrences
* http://myhost with 4 occurrences
* http://myhost/abc%20def/get with 1 occurrences
* http://myhost/mypath with 1 occurrences
* http://myservice with 2 occurrences
* http://nameservice with 1 occurrences
* http://nameservice/foo with 1 occurrences
* http://originalhost:8080/foo/bar with 2 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/ with 1 occurrences
* http://routedservice:8090/get with 2 occurrences
* http://routedservice:8090/two with 1 occurrences
* http://service1 with 1 occurrences
* http://someuri with 1 occurrences
* http://someuri:80 with 1 occurrences
* http://someurl with 1 occurrences
6 years ago
Spring Operator
c5963ffa87
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 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://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ) 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://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).
# 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
6 years ago
Spring Operator
3ac930b21c
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://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
6 years ago