Commit Graph

1185 Commits

Author SHA1 Message Date
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
buildmaster
e5628b5b53 Bumping versions 2019-07-23 10:51:02 +00:00
Ryan Baxter
e6464e5546 Merge pull request #1180 from callingmahendra/2.1x
Document Weight predicate #1072
2019-07-22 19:57:14 -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
Mahendra Patel
ab9afe6c85 Document Weight predicate #1072 2019-07-19 13:45:31 +05:30
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
buildmaster
b9df1199a2 Going back to snapshots 2019-07-03 18:19:18 +00:00
buildmaster
1283756da1 Update SNAPSHOT to 2.2.0.M1 2019-07-03 18:18:18 +00: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
Spencer Gibb
e61028a8b7 Updates for boot RSocket changes
removes pinned reactor version

fixes gh-1114
2019-06-28 12:26:59 -04:00
Spencer Gibb
b687f49201 Fixes scm url 2019-06-24 13:34:11 -04:00
Spencer Gibb
c14a749e84 Fixes scm url 2019-06-24 13:30:19 -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
Spencer Gibb
b14de727eb Bumping versions to 2.1.3.BUILD-SNAPSHOT after release 2019-06-21 12:42:10 -04:00
buildmaster
89420c3318 Update SNAPSHOT to 2.1.2.RELEASE 2019-06-21 12:38:18 -04:00
dlsrb6342
4df198cd37 Change TagProvider bean return type 2019-06-21 10:31:15 +09:00
dlsrb6342
6646e4a93d Divide httpTags and routeTags provider 2019-06-20 23:06:00 +09: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
dlsrb6342
dcc425a109 Provide default tags always 2019-06-16 14:49:48 +09:00
dlsrb6342
350f7c0f4a Support metrics tags with composition of provider 2019-06-15 23:50:49 +09:00
dlsrb6342
0313117900 Fixes gh-1110 Add GatewayTagsProvider interface 2019-06-15 00:36:49 +09: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
fdd55a5cfc Ignores test, see gh-1114 2019-06-13 15:37:21 -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
Ryan Baxter
0c9732bdc6 Merge pull request #1113 from dlsrb6342/2.1.x
Fix wrong defaultValue in metadata
2019-06-13 07:29:46 -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