Ryan Baxter
76e4187484
Initial set of changes to add a circuit breaker filter using Spring Cloud CircuitBreaker
2019-11-05 15:40:33 -05:00
Spencer Gibb
dee0516e87
Splits gateway RSocket support in to Common, Client and Broker Modules
...
Metadata moved to common module. Auto config sets up metadata parsing.
Client module created with properties and helper classes for ease
of using RouteSetup and Forwarding metadata.
2019-09-11 15:21:47 -04:00
Spencer Gibb
1c4a8518bc
Adds support for RSocket composite metadata.
...
Renames Registry to RoutingTable implemented as an inverted
index as TagsMetadata. Inverted index uses RoaringBitmaps to save
memory and to make lookup very fast.
Implements RoutingTableRoutes as a view over RoutingTable.
Route is now an interface. The Route objects returned by
RoutingTableRoutes are backed by a predicate that uses the RoutingTable
rather than custom matching.
GatewayRSockectFactory moved to a top level class.
PendingRequestRSocket also has a top level Factory.
Load balancing is now handled by a Factory. Allows requests to ask
for specific types of load balancers in the future.
Implements proposed RouteSetup and Forwarding metadata types in
the Gateway. These should eventually be replaced by primitives in
rsocket-java. Also adds support to be encoded/decoded using
Frameworks Encoder/Decoder classes.
fixes gh-1236
2019-09-06 19:10:56 -04:00
Spring Operator
43ba27af27
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 9 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 18 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 9 occurrences
2019-03-19 21:21:56 -05:00
Spencer Gibb
fff66902df
Updates for checkstyle.
2019-02-21 22:42:39 -05:00
Olga Maciaszek-Sharma
a6f48b0f65
Checkstyle ( #833 )
...
Fixes gh-832
* Add formatting and checkstyle fixes.
* Fix checkstyle setup. Add more checkstyle fixes and suppressions.
* Fix license dates.
2019-02-12 14:48:31 +01:00
Spencer Gibb
ee588eb66d
Move to standard spring cloud project structure.
...
fixes gh-25
2017-03-01 20:45:33 -07:00
Spencer Gibb
7dd6af4ffd
Add license header
2017-03-01 19:57:12 -07:00
Spencer Gibb
c6bf2759f1
Remove hacks needed for experimental webflux
2017-02-24 11:05:14 -07:00
Spencer Gibb
c909f2c552
Add license header
2017-02-17 20:18:55 -07:00
Spencer Gibb
e6faa31c48
Use RefreshRoutesEvent to trigger code to clear route caches
2017-02-17 17:55:48 -07:00
Spencer Gibb
db3c0d1211
don't use httpbin local for now
2017-02-17 17:50:10 -07:00
Spencer Gibb
e357939942
make httpbin configurable
2017-02-17 15:48:40 -07:00
Spencer Gibb
3a5de768e5
polish
2017-02-17 15:48:16 -07:00
Spencer Gibb
10ce1a8c81
polish
2017-02-17 14:22:35 -07:00
Spencer Gibb
c4ae1065da
Update to require /gateway/refresh for route changes to be affected.
...
fixes gh-5
2017-02-17 13:33:42 -07:00
Spencer Gibb
c47a31a94a
Add Netty prefix
2017-02-17 13:27:32 -07:00
Spencer Gibb
ed4435018c
bump to reactor-netty 0.6.1
2017-02-16 09:17:17 -07:00
Spencer Gibb
d776617dbc
add TODO
2017-02-14 21:23:12 -07:00
Spencer Gibb
4e2f546004
polish
2017-02-14 21:19:17 -07:00
Spencer Gibb
a93932c5e7
Break out many tests from GatewayIntegrationTests
2017-02-14 21:14:51 -07:00
Spencer Gibb
594e80618a
add RemoveNonProxyHeaders filter
2017-02-14 21:13:57 -07:00
Spencer Gibb
2995005162
add RemoveNonProxyHeaders filter
2017-02-14 21:13:39 -07:00
Spencer Gibb
e967d23755
Add support for default filters.
...
fixes gh-23
2017-02-14 17:07:58 -07:00
Spencer Gibb
72f2fa9df5
polish
2017-02-14 15:39:32 -07:00
Spencer Gibb
29f1f0a7e9
polish
2017-02-09 20:25:47 -07:00
Spencer Gibb
63db4a7700
polish
2017-02-08 21:15:11 -07:00
Spencer Gibb
66407482e2
multipart-formdata with RestTemplate
...
fixes gh-18
2017-02-08 21:13:46 -07:00
Spencer Gibb
d1211012c6
form/urlencoded support
2017-02-07 17:46:34 -07:00
Spencer Gibb
7a8d76dd27
polish
2017-02-06 20:49:30 -07:00
Spencer Gibb
7458db74e3
Verify that complex content-types work
2017-02-06 16:56:10 -07:00
Spencer Gibb
c8cb56ecdf
polish
2017-02-06 14:00:29 -07:00
Spencer Gibb
38e51bdb79
Adds SecureHeaders filter
...
see gh-15
2017-02-02 20:54:41 -07:00
Spencer Gibb
360e215590
Continue migration to reactive
2017-02-02 10:47:06 -07:00
Spencer Gibb
17b8197fe6
polish
2017-02-02 10:46:36 -07:00
Spencer Gibb
89d4c07e20
Update to use new response().isCommitted()
2017-02-01 19:20:26 -07:00
Spencer Gibb
47b68ea717
Update to new WebClient interface
2017-02-01 13:53:15 -07:00
Spencer Gibb
01bb526fa9
Initial RouteWriter support
2017-01-31 20:49:07 -07:00
Spencer Gibb
a9ce9e061c
upgrade to reactor-netty 0.6.1
2017-01-31 19:16:29 -07:00
Spencer Gibb
1d626f9452
add todo
2017-01-27 21:33:46 -07:00
Spencer Gibb
7dce9c2378
Move RouteLocator impls to support
2017-01-27 21:31:43 -07:00
Spencer Gibb
9d32fec00e
Move Route and deps to api.
...
Rename RouteReader to RouteLocator
2017-01-27 21:30:43 -07:00
Spencer Gibb
d2ed8cc7c0
polish
2017-01-27 21:24:23 -07:00
Spencer Gibb
65e439635d
Change Predicate from (value, args[]) to (args...)
2017-01-27 21:22:52 -07:00
Spencer Gibb
06b5211a39
Change Filter from (value, args[]) to (args...)
2017-01-27 21:04:02 -07:00
Spencer Gibb
c31e92a2b5
Adds RemoteAddrRoutePredicate
...
RemoteAddr=127.0.0.1/24
2017-01-27 20:34:50 -07:00
Spencer Gibb
82b229ef1d
Updated to use new WebClientOperations
2017-01-27 19:20:24 -07:00
Spencer Gibb
98b1cd574e
Adds CachingRouteReader
...
This allows an atomic refresh of routes.
2017-01-27 18:38:53 -07:00
Spencer Gibb
d0a7c39e9d
Added todo
2017-01-27 17:22:46 -07:00
Spencer Gibb
f7f1a9f472
Wire CompositeRouteReader
2017-01-27 17:15:57 -07:00