Commit Graph

384 Commits

Author SHA1 Message Date
maoling
7cc9434f52 add alarm template for spring cloud gateway (#3019) 2024-09-27 12:30:41 -04:00
spencergibb
a6527e23c8 Merge branch '4.1.x' 2024-09-27 11:59:20 -04:00
spencergibb
f253bf7d34 polishing 2024-09-27 11:59:00 -04:00
Thomas Carlier
22c9f2059b Update README.adoc 2024-09-27 11:57:48 -04:00
maoling
003bff86f2 add QPS, Latency etc metrics to grafana template (#3014) 2024-09-25 12:50:56 -04:00
Alex Karezin
669dff2498 Fix contribution link in README.adoc and add a link to repository map
Fixing broken link to contribution guidelines.

Adding a link to the high-level diagrams including module, library dependency and others at (https://sourcespy.com/github/springcloudspringcloudgateway/). Built directly from source and updated on schedule. Intended to simplify developer's introduction to the project. In the spirit of transparency - I am the author of the diagrams. Hope contributors find it useful.
2024-03-08 16:52:11 -05:00
Tony Clarke
e0adbc0114 Update dashboard to Grafana 9.x (#3136) 2024-03-08 13:57:52 -05:00
sgibb
09d7139a99 minor antora docs fixes 2023-09-13 16:33:12 -04:00
Spencer Gibb
8e4f067ffc Antora migration (#3050)
* Migrate Structure

* Insert explicit ids for headers

* Remove unnecessary asciidoc attributes

* Copy default antora files

* Fix indentation for all pages

* Split files

* Generate a default navigation

* Remove includes

* Fix cross references

* Enable Section Summary TOC for small pages

* Migrate to antora documentation

* Migrate to antora documentation
2023-09-11 19:08:08 -04:00
Steve Riesenberg
984882f75a Specify clientRegistrationId in TokenRelay filter (#2922) 2023-09-06 17:19:20 -04:00
Ignacio Lozano
c74d65aa14 Add metadata requestParam to /refresh specific routes (#2916)
* Add metadata requestParam to /refresh specific routes

* Added requestParam that will be included in the event as a map of key:value pairs
* ScopedRefreshRoutesEvent: RefreshRoutesEvent was extended hierarchically to add metadata for filtering
* Modify CachingRouteLocator to filter in case the incoming event is ScopedRefreshRoutesEvent

* Change refresh by group for covering deletion

When all the routes in a group were deleted, the refresh were not done

---------

Co-authored-by: Spencer Gibb <sgibb@pivotal.io>
2023-04-26 13:41:34 -04:00
Ignacio Lozano
23ca3721a6 Add a new endpoint POST /routes (#2915)
* Add a new endpoint POST /routes

A list of RouteDefinition can be sent to /routes using POST method to persist multiple routes by a single request.

Validation is done before persisting any RouteDefinition
2023-04-26 13:32:25 -04:00
spencergibb
c7014f8431 Merge branch '3.1.x' 2023-04-20 16:24:59 -04:00
jiangyuan04
3d44588745 fix grpc MethodDescriptor fullMethodName problem
Fixes gh-2910
2023-04-20 16:12:26 -04:00
buildmaster
66cb7ed297 Bumping versions 2023-03-28 02:11:51 +00:00
Marta Medio
bc57f129e4 Allow to deactivate global cache (#2895)
* Allow to deactivate global cache

* Update cache tests

* Update cache docs

* Rollback rename of global cache filter
2023-03-27 12:14:17 -04:00
spencergibb
044a58b264 Removes reference to boot 2.x.
The main version of gateway is now based on boot 3.x, but saying boot is sufficient.
2023-03-14 15:02:46 -04:00
spencergibb
cb18b2a5c2 Merge branch '3.1.x' 2023-03-14 14:36:04 -04:00
ecnabogs
720c8d63d8 Invalid sections numbering
The sections "Fluent Java Routes API" and "The `DiscoveryClient` Route Definition Locator" are hierarchically defined under "Http timeouts configuration" but they are unrelated topics. These sections should be raised one level up and thus should appear as standalone sections with proper numbering.

Fixes gh-2891
2023-03-14 14:34:57 -04:00
buildmaster
01afaa2fd1 Bumping versions 2023-02-15 02:11:31 +00:00
Marta Medio
08167a2da5 Fixes LocalResponseCache for all routes
Adds flag to know if cache has been processed by the route filter.
Add global cache as fallback in case there's no configuration per route and cache is enabled.

Fixes gh-2848
2023-02-14 14:17:26 -05:00
buildmaster
1cd938e448 Bumping versions 2023-01-27 02:11:14 +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
buildmaster
20aa05fb2c Bumping versions 2023-01-24 21:07:20 +00:00
spencergibb
25abaca600 Injects CacheManager using @Qualifier.
If the user has a custom CacheManager for other uses, this avoids an injection error due to multiple CacheManager beans defined.

Fixes gh-2841
2023-01-19 12:20:51 -05:00
Marta Medio
b0d9c9af1d Fix docs for LocalResponseCache Filter (#2843) 2023-01-18 13:53:35 -05:00
spencergibb
eec4c8ee52 Merge branch '3.1.x' 2023-01-17 11:33:22 -05:00
spencergibb
7519b2ef6a Replace circleci badge with github actions 2023-01-17 11:31:14 -05:00
dengliming
49708a5b07 Update README.adoc to point to main
Fixes gh-2268
2023-01-17 11:21:45 -05:00
spencergibb
c6c813a112 Merge branch '3.1.x' 2023-01-12 13:33:52 -05:00
Oliver
51137c2610 Update documentation for path route predicate 2023-01-12 13:33:23 -05:00
Alexandre Arcanjo de Queiroz
8a9d063986 Fix properties in secure-headers documentation 2023-01-12 12:25:06 -05:00
spencergibb
d194aa7de9 Removes codacy image
See gh-2486
2023-01-12 12:19:53 -05:00
spencergibb
f6d9692d82 Fixes code example lambda.
Fixes gh-2485
2023-01-12 11:54:02 -05:00
Harpal
6b15aac5b4 Documentation improvement
Fixes gh-2463
2023-01-12 11:46:04 -05:00
Marta Medio
50922f7dd8 Filter Documentation improvements (#2761)
* Fix different typos across the doc file

* Standardize titles of GatewayFilter Factories section and order alphabetically (no content changed)

* Order alphabetically section of Global Filters (no content changed)

* Add docs for Global Local Cache Response filter

* Set correct order for LocalResponseCache filter config

* Add link for key-resolver-section
2022-11-16 10:22:22 -05:00
Olga Maciaszek-Sharma
5182f49236 Add native image support. (#2770)
* Add native image support.
2022-11-02 17:23:18 -04:00
buildmaster
8a6dc328b8 Bumping versions 2022-10-26 02:16:24 +00:00
Ignacio Lozano
8a0caeea41 Add LocalResponseCache filter (#2759)
* Add LocalResponseCache filter
2022-10-25 16:46:44 -04:00
Abel Salgado Romero
d49ceec0d2 Add uri variables support for circuit breaker (#2755)
* Adds support for Uri variables for fallbackUri in CircuitBreaker.

Uses `ServerWebExchangeUtils.expand` to process the original value and replace any variable present.
2022-10-18 13:15:48 -04:00
Abel Salgado Romero
074f8e9844 Add option to configure CORS as a route filter. (#2750)
To do so, adds 2 components:
* ApplicationLister that updates CorsProperties based on route metadata
Also:
* Renamed CorsTests to CorsGlobalTests
* Add test CorsPerRouteTests
* Add docs: split current single section into 2: global & route config
2022-10-18 13:15:15 -04:00
Marta Medio
a487e64bfd Add remove json attributes filter (#2742)
* Add RemoveJsonAttributesFilterFactory
Takes a collection of attribute names to search for to remove from a JSON response, an optional last parameter from the list can be a boolean to remove the attributes just at root level or recursively

* Add docs for RemoveJsonAttributes filter

* Extract a single instance of Json mapper

* Overload boolean parameter to avoid parsing a string
2022-10-05 11:39:48 -04:00
spencergibb
253eec53a8 Merge branch 'add-AddRequestHeadersIfNotPresentGatewayFilterFactory-2359' 2022-10-05 11:38:11 -04:00
Abel Salgado Romero
f45d03ec1d Add docs 2022-10-05 14:13:35 +02:00
Marcin Grzejszczak
f2192b0770 Observability support for gateway (#2715)
Adds support for metrics, tracing, and documentation
2022-10-04 11:07:13 -04:00
buildmaster
da137d9940 Bumping versions 2022-08-31 21:12:43 +00:00
spencergibb
cbb86f8681 Merge branch '3.1.x' 2022-08-31 12:03:21 -04:00
Abel Salgado Romero
774975a0fe Adds support for 'use-insecure-trust-manager' & 'trustedX509Certificates' for GRPC Filter
* Generated certificate with domain name (required for 'trustedX509Certificates')
* Injected SslProperties in GRPC components to configure SslContext (ideally we want to reuse, not replicate, SCG context)
2022-08-31 11:50:36 -04:00
Alberto C. Ríos
22a9aec8bf * Bump testcontainers
* Update _configprops.adoc
* Add grpc integration test
2022-08-09 12:01:27 +02:00