Commit Graph

603 Commits

Author SHA1 Message Date
Thirunavukkarasu Ravichandran
c8a693b50a Adds remove request param filter.
This removes a request parameter before sending downstream request.

Fixes gh-1137
2019-07-23 16:51:00 -04:00
Spencer Gibb
0501c7a1c8 formatting 2019-07-23 16:35:40 -04:00
venkatesh010
0e8ce22d29 Adds KeyStore support in HttpClient
fixes gh-852
2019-07-23 16:33:56 -04:00
Spencer Gibb
a666c27e8c Merge branch '2.1.x' 2019-07-23 15:56:14 -04:00
Spencer Gibb
807509abfe Runs test with verbose mode 2019-07-23 15:54:12 -04:00
Dennis Menge
61f2a96c19 Adds test case for route specific actuator endpoint 2019-07-23 15:48:33 -04:00
Spencer Gibb
3fe682a2c1 Merge branch '2.1.x' 2019-07-23 13:33:20 -04:00
Spencer Gibb
9fc302ec72 Adds support for netty wiretap on server and client.
fixes gh-1194
2019-07-23 13:31:41 -04:00
Spencer Gibb
cff697b497 Merge branch '2.1.x' 2019-07-23 12:49:31 -04:00
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
2019-07-23 12:48:25 -04:00
Spencer Gibb
d5c81e5920 Enable verbose actuator format by default.
fixes gh-1192
2019-07-23 11:47:45 -04:00
Spencer Gibb
837cbadc1d Merge branch '2.1.x' 2019-07-23 11:37:06 -04:00
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
2019-07-23 11:31:00 -04:00
Spencer Gibb
fde48889bf Merge branch '2.1.x' 2019-07-22 13:57:07 -04:00
Tim Ysewyn
19494b2c7d Don't mark the request as routed when we need to forward (#1184)
Fixes gh-1125
2019-07-22 13:55:33 -04:00
Spencer Gibb
608891bbb0 Merge branch '2.1.x' 2019-07-10 18:09:12 -04:00
Spencer Gibb
dc4ed76b57 Set routeId on configurations from route definitions.
fixes gh-1160
2019-07-10 17:06:34 -05:00
Spencer Gibb
9fbcf86480 Verify body is still sent during post retry 2019-07-10 15:04:35 -04:00
Spencer Gibb
d17630f4f2 Verify body is still sent during post retry 2019-07-03 15:23:03 -04:00
Spencer Gibb
751c4e8156 Merge branch '2.1.x' 2019-07-03 13:42:15 -04:00
Spencer Gibb
7471a41fde Renames httpClient bean to gatewayHttpClient.
fixes gh-1134
2019-07-03 13:41:55 -04:00
Ryan Baxter
e655cb15bd Merge remote-tracking branch 'origin/2.1.x' 2019-06-24 11:32:34 -04:00
Ryan Baxter
9eea694f9f Get ASCII string in netty routing filter. Fixes #1132. 2019-06-24 11:27:02 -04:00
buildmaster
89420c3318 Update SNAPSHOT to 2.1.2.RELEASE 2019-06-21 12:38:18 -04:00
Spencer Gibb
e4f3fcefa7 Merge branch '2.1.x' 2019-06-19 14:41:11 -04:00
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
2019-06-19 14:40:06 -04:00
Spencer Gibb
c46543b356 Only add headers if response is not committed. 2019-06-19 13:32:37 -04:00
Spencer Gibb
f11d6a5088 Only add headers if response is not committed. 2019-06-13 16:36:14 -04:00
Spencer Gibb
563cfb7479 Formatting 2019-06-13 16:16:27 -04:00
Spencer Gibb
71c45bdab8 Merge branch '2.1.x' 2019-06-13 16:07:44 -04:00
Spencer Gibb
e632221d28 Increases test timeout 2019-06-13 16:00:30 -04:00
Spencer Gibb
e8ddcd6453 Formatting 2019-06-13 15:34:12 -04:00
Spencer Gibb
a73138df53 Formatting 2019-06-13 15:34:12 -04:00
Spencer Gibb
a1bb8520bf Move array from stream and use a for loop.
See #1073
2019-06-13 15:34:12 -04:00
Spencer Gibb
71780c27b4 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
2019-06-13 15:34:12 -04:00
Spencer Gibb
bda561c34d Formatting 2019-06-13 15:13:23 -04:00
Spencer Gibb
3b67c1e576 Move array from stream and use a for loop.
See #1073
2019-06-13 15:13:23 -04:00
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
2019-06-13 15:08:51 -04:00
Ryan Baxter
bb1efb658e Merge remote-tracking branch 'origin/2.1.x' 2019-06-13 07:31:18 -04:00
Ingyu Hwang
5af2bb5529 Fixes spring-cloudgh-1108 Fix wrong defaultValue in metadata 2019-06-13 20:15:26 +09:00
Ryan Baxter
32d7966c19 Merge remote-tracking branch 'origin/2.1.x' 2019-06-04 20:00:28 -04:00
Ryan Baxter
968953cfe2 Merge remote-tracking branch 'origin/2.0.x' into 2.1.x 2019-06-04 19:59:55 -04:00
Ryan Baxter
474787b028 Merge remote-tracking branch 'origin/2.1.x' 2019-06-04 19:42:45 -04:00
Ryan Baxter
56eda5080d Merge pull request #1042 from thirunar/2.1.x
Fixes gh-878 - secure headers can be disabled #1041
2019-06-04 19:41:15 -04:00
re6exp
a64a6e3bf5 PR 1014 - moved from master to 2.0.x 2019-06-04 11:27:36 +03:00
Thirunavukkarasu Ravichandran
dbcd9bac5d renaming the method 2019-06-04 06:59:38 +02:00
Thirunavukkarasu Ravichandran
ee6f7d01c4 Fixes gh-878 - secure headers can be disabled 2019-06-04 06:58:50 +02:00
Rohan Suri
45934a4823 Allow creation of HystrixCommandKey on basis of request context (fixes #1023) (#1043)
Fixes #1023
2019-06-03 10:22:35 -04:00
Spencer Gibb
8dc4c41cad Re-enables WebfluxNotIncludedTests
https://github.com/spring-projects/spring-boot/issues/16934 added a
guard for webflux classes.

fixes gh-1070
2019-05-22 12:43:53 -04:00
Spencer Gibb
94b098bcf8 polish 2019-05-22 12:30:17 -04:00