Commit Graph

77 Commits

Author SHA1 Message Date
sgibb
b9f7bcb002 Formatting 2024-03-08 16:10:56 -05:00
Krishna
e40b78c26d gh-2846 Migrated all the Junit 4 test cases to Junit 5 (#2847)
* gh-2846 Migrated all the Junit 4 test cases to Junit 5

Removed the dependency on Junit vintage engine.

* Added junit platform engine dependency and replace junit 4 imports
2024-03-08 15:07:26 -05:00
jiangyuan
1abf678ab0 Fix ThrottleGatewayFilter in sample app to create TokenBucket only once (#2900)
* Fix ThrottleGatewayFilter obtain TokenBucket problem
2024-03-08 15:04:02 -05:00
Junho, Kim
e007e6fa30 Enable kotlin route DSL (#2825)
* Add kotlin-maven-plugin to server module

* Add reactor-kotlin-extensions dependency

* Enable RouteDslTests.kt

* Enable kotlin compile and test case of kotlin route
2023-01-11 14:51:14 -05:00
spencergibb
9db7b5e605 Uses TestSocketUtils from spring-framework 2022-11-28 21:41:57 -05:00
buildmaster
63e731c4ab Bumping versions 2022-11-04 02:15:29 +00:00
Marcin Grzejszczak
64987caca3 Micrometer-Observation is a mandatory dependency for webflux 2022-11-03 12:00:04 +01:00
spencergibb
3a78e666cb Moves to new LocalServerPort location 2022-05-18 12:40:10 -04:00
spencergibb
b1c34a1521 Migrates to TestSocketUtils from spring-cloud-test-support 2022-03-09 12:16:55 -05:00
spencergibb
3b5aedbbf3 enables gateway actuator for test
See gh-2525
2022-02-17 17:49:43 -05:00
spencergibb
96804e8d5d formatting 2021-10-06 23:19:54 -04:00
spencergibb
347b476eb0 formatting 2021-10-06 23:19:43 -04:00
Abel Salgado Romero
9361833f18 Fix timer metric name in docs 2021-06-24 00:12:58 +02:00
spencergibb
dbd998d5cd Supports compiling and testing for java 16.
Moves kotlin compile to profile that is only activated on a jdk less than 16. This should change once kotlin supports java 16.

Deals with samples that use kotlin moving import to a selector only if the class exists and disabling a new test that tests the kotlin route.

Fixes gh-2186
2021-03-19 11:35:25 -04:00
Olga Maciaszek-Sharma
200281e9dc Adjust to changes in commons. 2020-12-10 13:48:11 +01:00
spencergibb
6f9a7a8288 Combines two metrics properties classes into one.
Updates GatewaySampleApplicationTests.java to use configured metrics prefix.
2020-10-16 15:57:18 -04:00
buildmaster
38030d33be Bumping versions 2020-09-17 18:06:17 +00:00
Spencer Gibb
76c2222d00 Merge branch '2.2.x' 2020-02-28 01:35:19 -05:00
Stefan_Stus
7eaecedd5e Calls RewriteFunction even if body is empty.
fixes gh-1219
fixes gh-1220
2020-02-28 01:03:56 -05:00
buildmaster
d57c97f6d6 Bumping versions 2020-01-22 05:21:50 +00:00
Spencer Gibb
014528285c Migrates from ribbon to spring cloud loadbalancer 2020-01-21 23:40:05 -05:00
Spencer Gibb
7d57ec259e Removes maintenance mode bits of ribbon and hystrix 2020-01-21 21:54:28 -05:00
Spencer Gibb
5786283774 Replaces deprecations 2020-01-21 19:43:14 -05:00
Ryan Baxter
0eb5727733 Adding proxyBeanMethods = false to configuration. Fixes #1362 2019-11-14 16:31:37 -05:00
Spencer Gibb
9a1fb207d5 Updates to use ReactiveStringRedisTemplate 2019-05-01 17:39:58 -04:00
Spring Operator
ac5037d0a9 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 2 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 300 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:51:50 -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
Ryan Baxter
e2b19d664a Remove transfer-encoding from exchange response if not present in proxied response 2018-11-08 20:50:11 -05:00
Spencer Gibb
6fd0c80c84 Updates management port tests 2018-10-01 10:46:53 -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
6d9c42028c Updates for boot 2.1.0 and reactory-netty 0.8.x 2018-08-08 20:52:21 -04:00
Spencer Gibb
532872b635 Adds additional actuator exclusions from test. 2018-07-30 15:31:28 -04:00
Spencer Gibb
84ddb0050b Moves Metrics Filter to separate auto-config
fixes gh-457
2018-07-30 14:04:46 -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
Spencer Gibb
dacd641335 Updates rewrite filters to use framework web function classes. (#329)
This avoids any blocking operations.

fixes gh-316
2018-06-15 20:35:54 -04:00
Spencer Gibb
123327bfd2 Moves GatewaySampleApplicationTests to use local httpbin 2018-04-27 16:14:09 -04:00
Spencer Gibb
e85bbff274 Read write body filters and predicate (#278) 2018-04-23 13:16:36 -04:00
Spencer Gibb
589ed9c4f3 Binds configuration to Configurable factory beans directly using Boot Binder.
Deprecates the use of Tuple.

Depracates ArgumentHints in favor of ShortcutConfigurable.

Creates Configurable interface to allow factories to create a
configuration object that can be bound to properties.

Creates StatefulConfigurable interface that extends Configurable and
allows singlton beans (like RedisRateLimiter) to store a map of
configuration keyed on route id. These beans use events like
FilterArgsEvent and PredicateArgsEvent to gather configuration as it is
read for each route.
2018-03-08 00:37:12 -05:00
Biju Kunjummen
16c8a07d7c Derive kotlin version from parent (#212) 2018-02-28 22:15:11 -05:00
Spencer Gibb
cf0e4ad67d polish 2018-02-15 14:38:06 -05:00
Spencer Gibb
062b6bc526 update to new web endpoint property 2018-02-12 12:20:16 -05:00
Spencer Gibb
da2f28e25b Add filters() method to Java DSL.
Deprecates direct filter methods after predicates.

Thanks @joshlong
2018-02-02 16:22:31 -05:00
Spencer Gibb
d13f305264 Uses new @ControllerEndpoint for gateway endpoint.
fixes gh-153
2018-01-22 13:03:21 -05:00
Spencer Gibb
e1a061a833 Adds a test to make sure gateway actuator is on management.server.port
Currently ignored until boot fix.

See gh-153
2018-01-18 13:58:23 -05:00
Spencer Gibb
4b89ac1c69 Remove deprecated classes. 2017-12-19 12:46:51 -05:00
Spencer Gibb
43d47e6ccc Updated routes dsl to deal with new routes java api. 2017-12-01 15:37:02 -05:00
Spencer Gibb
473c8fa77d Updates to RouteLocatorBuild API 2017-11-29 18:40:35 -05:00