Commit Graph

344 Commits

Author SHA1 Message Date
dependabot[bot]
70d8b2989f Bump bucket4j.version from 8.5.0 to 8.6.0 (#3118)
Bumps `bucket4j.version` from 8.5.0 to 8.6.0.

Updates `com.bucket4j:bucket4j-core` from 8.5.0 to 8.6.0
- [Release notes](https://github.com/bucket4j/bucket4j/releases)
- [Commits](https://github.com/bucket4j/bucket4j/commits)

Updates `com.bucket4j:bucket4j-caffeine` from 8.5.0 to 8.6.0
- [Release notes](https://github.com/bucket4j/bucket4j/releases)
- [Commits](https://github.com/bucket4j/bucket4j/commits)

---
updated-dependencies:
- dependency-name: com.bucket4j:bucket4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.bucket4j:bucket4j-caffeine
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 11:37:06 -04:00
buildmaster
6d2055ac05 Going back to snapshots 2023-10-31 14:39:58 +00:00
buildmaster
fb325a5216 Update SNAPSHOT to 4.1.0-RC1 2023-10-31 14:36:58 +00:00
dependabot[bot]
faebdea9cd Bump org.testcontainers:testcontainers-bom from 1.17.3 to 1.19.1 (#3087)
Bumps [org.testcontainers:testcontainers-bom](https://github.com/testcontainers/testcontainers-java) from 1.17.3 to 1.19.1.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.3...1.19.1)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 16:33:58 -04:00
dependabot[bot]
9d664d9424 Bump org.junit-pioneer:junit-pioneer from 1.6.1 to 1.9.1 (#3090)
Bumps [org.junit-pioneer:junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.6.1 to 1.9.1.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.6.1...v1.9.1)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 16:33:28 -04:00
dependabot[bot]
fc1e120157 Bump bucket4j.version from 8.3.0 to 8.5.0 (#3089)
Bumps `bucket4j.version` from 8.3.0 to 8.5.0.

Updates `com.bucket4j:bucket4j-core` from 8.3.0 to 8.5.0
- [Release notes](https://github.com/bucket4j/bucket4j/releases)
- [Commits](https://github.com/bucket4j/bucket4j/compare/8.3.0...8.5.0)

Updates `com.bucket4j:bucket4j-caffeine` from 8.3.0 to 8.5.0
- [Release notes](https://github.com/bucket4j/bucket4j/releases)
- [Commits](https://github.com/bucket4j/bucket4j/compare/8.3.0...8.5.0)

---
updated-dependencies:
- dependency-name: com.bucket4j:bucket4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.bucket4j:bucket4j-caffeine
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 16:33:09 -04:00
buildmaster
b1d5ccd472 Going back to snapshots 2023-09-27 12:03:39 +00:00
buildmaster
da064b990f Update SNAPSHOT to 4.1.0-M2 2023-09-27 12:00:13 +00:00
buildmaster
eb098a7596 Going back to snapshots 2023-08-10 03:01:55 +00:00
buildmaster
c17804888c Update SNAPSHOT to 4.1.0-M1 2023-08-10 02:58:23 +00:00
sgibb
fed2898db3 Adds spring-cloud-starter-gateway-mvc 2023-08-01 17:52:46 -04:00
Spencer Gibb
ad34a9689a MVC Gateway Server (#2949)
* Initial support for Gateway Server MVC

Includes:
- FilterFunctions
- HandlerFunctions
- TestRestClient

Fixes gh-36

* Adds ProxyExchange abstraction and RestTemplate impl.

Also formatting and polish

* Migrates from RestTemplateProxyExchange to ClientHttpRequestFactoryProxyExchange

Also implements GatewayServerResponse that is mutable.

* Removes RestTemplateProxyExchange.javaˆ

* Allows resolving uri by request attribute

* formattingˆ

* Moved beans to GatewayServerMvcAutoConfiguration

* Removes unneeded GatewayServerRequestBuilder.javaˆ

* Adds addRequestParameter filter

* Adds FilterFunctions.setPath()

* Moves FilterFunctions.addResponseHeader()

* Adds FilterFunctions.stripPrefix()

* Moves ProxyExchangeHandlerFunction to bean.

This allows easier autoconfiguration.

* Adds HttpHeadersFilter and RemoveHopByHopR*HeadersFilter

* removes unused imports

* Initial local configuration compatibility with webflux server.

Borrows Operation framework from Spring Boot Actuator.

Discoverable predicates and filters are found via spring.factories. Currently only static methods are supported.

Shortcut configuration is not yet supported.

* Organized classes into individual packages

* Copy request body to proxy exchange client request body

* Changes getApplicationContext() to user RequestContextUtils

rather than relying on the DispatcherServlet attribute.

* Moves content to MvcUtils.java

* Allows for multiple predicates and filters with the same name.

* a get only route is to0 broad and causes a request loop

* Save the anded predicate, whoops.

Adds some trace logging as well.

* Adds initial support for load balancing

* Moves TestRestClient to client package

* Moves handler related classes to handler package

* Creates HandlerDiscoverer to dynamically load HandlerFunctions

* polish

* polish

* Extracts findOperation()ˆ

* Extracts invokeOperation()

* Adds support for config uri type lb://serviceId

* Adds uri template variable support.

Adds supporting methods to MvcUtils.java.

Expands uri templates in existing filters.

* Adds support for host predicate

* Adds support for circuit breaker filter

* Adds initial support for retry filter

* Adds initial support for Bucket4j rateLimit filter

* Removes separate *Supplier classes if not needed.

* Adds header request predicate

* Fixes accept() methods to better values.

* Adds support for cookie predicate

* Adds support for after, before and between time predicates

* Adds support for FilterFunctions.rewritePath()

* Adds support for shortcut configuration.

Adds Shortcut annotation to provide hints.

Extracts OperationMethod into an interface with DefaultOperationMethod the impl.

Adds NormalizedOperationMethod which uses the Shortcut annotation to normalize the arguments and give them the right keys. All Shortcut logic is here.

* Format comments

* Adds support for Forwarded and X-Forwarded-* Headers

* Moves TestLoadBalancerConfig to top level to shareˆ

* Uses JdkClientHttpRequestFactory.

* Adds routeId to RouterFunction.withAttribute()

* Adds toString()ˆ

* Shows sample of combining java dsl

* Implements refresh of config based routes.

* Adds support for proxying multipart form data.

* removes unneeded multipart propertyˆ

* Adds support for RestClientProxyExchange

Not yet the default. Waiting for a change that will eliminate reflection in RestClientProxyExchange

Created ProxyExchange.DefaultRequestBuilder as the code was duplicated in the two implementations.

* polishes ProxyExchangeHandlerFunction

* Adds ProxyExchange.ResponseConsumer

Adds ProxyExchange.Response and migrates away from ResponseHeadersFilter on the request to something more generic.

* Closes clientHttpResponse appropriately.

* Closes clientHttpResponse appropriately.

* Updates to use new WriteFunction interface

* Removes unused apache httpclient5 dependency

* Uses new RestClientCustomizer to add ClientHttpRequestFactory.

Changes constructor of RestClientProxyExchange to take a RestClient.
2023-07-05 19:05:30 -04:00
sgibb
f7587bc688 Updates version to 4.1.0-SNAPSHOT 2023-06-19 14:31:59 -04:00
buildmaster
9073d3ec35 Bumping versions 2023-06-15 12:05:57 +00:00
sgibb
0d876cab1b Updates version to 4.1.0-SNAPSHOT
Updates build and commons version to 4.1.0-SNAPSHOT
2023-06-14 15:11:21 -04:00
buildmaster
4aeccc736e Bumping versions 2023-05-26 02:12:26 +00:00
buildmaster
48b30069f7 Bumping versions 2023-05-25 02:12:26 +00:00
buildmaster
9aadd6138f Bumping versions to 4.0.7-SNAPSHOT after release 2023-05-24 19:46:04 +00:00
buildmaster
71c2e1b52b Going back to snapshots 2023-05-24 19:46:03 +00:00
buildmaster
f75cab542f Update SNAPSHOT to 4.0.6 2023-05-24 19:42:51 +00:00
buildmaster
ba814ce930 Bumping versions to 4.0.6-SNAPSHOT after release 2023-05-02 17:54:53 +00:00
buildmaster
07e9ca7867 Going back to snapshots 2023-05-02 17:54:52 +00:00
buildmaster
5399116612 Update SNAPSHOT to 4.0.5 2023-05-02 17:51:21 +00:00
buildmaster
5e9d2ce0c5 Bumping versions to 4.0.5-SNAPSHOT after release 2023-03-28 16:01:04 +00:00
buildmaster
96092f8611 Going back to snapshots 2023-03-28 16:01:04 +00:00
buildmaster
fdc63b1e98 Update SNAPSHOT to 4.0.4 2023-03-28 15:57:59 +00:00
spencergibb
4c4c6f33b0 Removes explicit setting of kotlin maven plugin version.
Fixes gh-2892
2023-03-14 16:28:59 -04:00
buildmaster
07da47aca0 Bumping versions to 4.0.4-SNAPSHOT after release 2023-02-24 16:05:28 +00:00
buildmaster
bb310dbff0 Going back to snapshots 2023-02-24 16:05:27 +00:00
buildmaster
535ef315db Update SNAPSHOT to 4.0.3 2023-02-24 16:02:54 +00:00
buildmaster
f20456aa3d Bumping versions to 4.0.3-SNAPSHOT after release 2023-02-21 22:44:33 +00:00
buildmaster
ee132c0a1b Going back to snapshots 2023-02-21 22:44:32 +00:00
buildmaster
52667321d1 Update SNAPSHOT to 4.0.2 2023-02-21 22:42:04 +00:00
buildmaster
c844d7cd79 Bumping versions 2023-02-09 02:11:12 +00:00
buildmaster
1826186e5a Bumping versions to 4.0.2-SNAPSHOT after release 2023-01-25 15:35:34 +00:00
buildmaster
545968eebb Going back to snapshots 2023-01-25 15:35:34 +00:00
buildmaster
c3e30c5a93 Update SNAPSHOT to 4.0.1 2023-01-25 15:33:07 +00:00
spencergibb
cb235831d6 Merge branch '3.1.x' 2023-01-11 16:27:46 -05:00
buildmaster
ff79c5cc7b Bumping versions 2022-12-19 02:11:06 +00:00
buildmaster
5abc15688a Bumping versions 2022-12-16 02:10:45 +00:00
buildmaster
041691b580 Bumping versions to 4.0.1-SNAPSHOT after release 2022-12-15 21:21:50 +00:00
buildmaster
bb24225919 Going back to snapshots 2022-12-15 21:21:49 +00:00
buildmaster
e231631c10 Update SNAPSHOT to 4.0.0 2022-12-15 21:19:19 +00:00
Marcin Grzejszczak
548442dc07 Fix the Kotlin Maven plugin (#2815) 2022-12-14 13:09:57 +01:00
buildmaster
fdd348a104 Going back to snapshots 2022-12-01 18:36:46 +00:00
buildmaster
a42e29a9a1 Update SNAPSHOT to 4.0.0-RC3 2022-12-01 18:34:32 +00:00
buildmaster
2cf190cabf Bumping versions 2022-11-28 21:12:30 +00:00
buildmaster
545c684a0f Going back to snapshots 2022-11-17 18:15:35 +00:00
buildmaster
a2e54506a3 Update SNAPSHOT to 4.0.0-RC2 2022-11-17 18:13:51 +00:00
buildmaster
4a16c447fb Going back to snapshots 2022-10-27 22:47:24 +00:00