spencergibb
73b1f7a243
Changes how redis tests get configuration from Testcontainers.
...
Moved from ApplicationContextInitializer to DynamicPropertyRegistry
3 years ago
Robert McNees
e51f2bdf07
Changes for redis and docker test to run
3 years ago
Robert McNees
36d8885880
Formatting
3 years ago
Robert McNees
90b31b8138
Removed host from configurable app context
3 years ago
Robert McNees
ea756e587b
Formatting changes
3 years ago
Robert McNees
cd8ab7ddb3
Enabled Redis tests
3 years ago
Olga Maciaszek-Sharma
9d6863b051
Fix on jdk 17 ( #2367 )
3 years ago
spencergibb
26f86fefb6
Merge branch '3.0.x'
3 years ago
spencergibb
c195059c3d
formatting
3 years ago
Ignacio Lozano
f6bfd6e474
Enrich error response for invalid filter/predicate requests in actuator
...
In the previous implementation, server responds 400 Bad Request when no existing predicate or filter matches with the specified in the request (See `GatewayControllerEndpointTests.testPostRouteWithNotExistingFilter` & `GatewayControllerEndpointTests.testPostRouteWithNotExistingPredicate`).
This change replaces the filter by an exception that can take the advantage of the default `ExceptionHandler` including a body with more details specified by the server. In order to get the message that helps the client to diagnose the problem, the property `server.error.include-message=always` is required to be configured.
Example:
`POST /actuator/gateway/routes/invalid-route-test` request
Response
```
HTTP 400 Bad Request
Payload
{
"timestamp": "2021-07-27T08:55:35.596+00:00",
"path": "/actuator/gateway/routes/invalid-route-test",
"status": 400,
"error": "Bad Request",
"message": "Invalid FilterDefinition: [InvalidFilter]",
"requestId": "e5551c86-6, L:/0:0:0:0:0:0:0:1:8080 - R:/0:0:0:0:0:0:0:1:50437"
}
```
Fixes gh-2107
Fixes gh-2311
3 years ago
Ryan Baxter
bb0decca42
Merge pull request #2339 from giger85/feature/fix-typo-custom-route-predicate
...
Fix typo in document
3 years ago
giger85
8bfe62bd4f
Fix typo in Custom Route Predicate
3 years ago
r-asou
a13f249153
modify doc mistake ( #2310 )
...
Co-authored-by: liujiacheng <liujiacheng@surinch.com>
3 years ago
buildmaster
b558bce895
Going back to snapshots
3 years ago
buildmaster
cf1fbc6b1f
Update SNAPSHOT to 3.1.0-M1
3 years ago
buildmaster
eda92db12a
Bumping versions
3 years ago
DanielWei
ec34a99f34
add cache request body filter ( #1943 )
...
* add cache request body filter
3 years ago
spencergibb
51ff3685d6
Changes default of StripPrefix filter from 0 to 1.
...
Fixes gh-2033
3 years ago
spencergibb
16a29c1f2b
formatting
3 years ago
spencergibb
c6469fdf47
Merge branch 'tswstarplanet-filter_list'
3 years ago
spencergibb
0aa73a406a
formatting
3 years ago
tswstarplanet
8019ada2b8
Filters all instances in DiscoveryClientRouteDefinitionLocator
...
Fixes gh-1621
Fixes gh-1191
3 years ago
spencergibb
5002fe2e0a
polish and update tests
3 years ago
spencergibb
4d5f4abb0d
Merge branch 'dennis-menge-master'
3 years ago
DanielWei
ea6464af8a
Adds various improvements to RedisRouteDefinitionRepository.
3 years ago
Dennis Menge
21960d2c7b
Adds persistent Redis Route Repository implementation
...
Fixes gh-1316
3 years ago
spencergibb
54eb6046f8
removes deployment repo
3 years ago
buildmaster
142d9c2ce2
Bumping versions
3 years ago
spencergibb
884c3ab806
Attempt to appease Blockhound #2
3 years ago
spencergibb
a7d442ba5d
Attempt to appease Blockhound
3 years ago
spencergibb
2d36c6dfdd
Updates javadoc
3 years ago
Jonathan Schneider
5fa200b95b
refactor: Polish `@RequestMapping` annotations
...
Co-authored-by: Moderne <team@moderne.io>
3 years ago
spencergibb
52ffee5aae
Adds index.adoc file with include
3 years ago
spencergibb
28d8bd5e8d
Delete index.adoc symlink
3 years ago
spencergibb
c54e90eb5e
Updates version to 3.1.0-SNAPSHOT
3 years ago
Olga MaciaszekSharma
2b8c6e4d5a
Merge remote-tracking branch 'origin/2.2.x'
...
# Conflicts:
# spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/SecureHeadersGatewayFilterFactory.java
# spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SecureHeadersGatewayFilterFactoryTests.java
# spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SecureHeadersGatewayFilterFactoryUnitTests.java
3 years ago
Olga MaciaszekSharma
47595a7e3a
Reformat.
3 years ago
hhwidera
8f8bc9e58a
fix problem with missing '[' and ']' around IPv6 address. See https://tools.ietf.org/html/rfc7239
3 years ago
Olga MaciaszekSharma
c87602f09e
Revert "Fix 2214 hoxton ( #2285 )"
...
This reverts commit 907119dfa3
.
3 years ago
Olga Maciaszek-Sharma
907119dfa3
Fix 2214 hoxton ( #2285 )
3 years ago
buildmaster
c7eed73715
Bumping versions
3 years ago
Ryan Baxter
f4fbebcb1a
Merge branch '2.2.x' of github.com:spring-cloud/spring-cloud-gateway into 2.2.x
3 years ago
Ryan Baxter
189c0721c2
Cherry pick ad9e361
3 years ago
spencergibb
d9e5838077
Merge branch '2.2.x'
3 years ago
Bruno Silva
9383b8e2bf
Adds a property to disable gateway redis integration.
...
Fixes gh-2052
3 years ago
Ryan Baxter
ad9e361eaf
Merge pull request #2234 from alek-sys/main
...
Fix secure headers duplication
3 years ago
Abel Salgado Romero
9361833f18
Fix timer metric name in docs
3 years ago
buildmaster
79cf80be3e
Bumping versions
4 years ago
Ryan Baxter
393515c742
Merge pull request #2082 from dlsrb6342/issue-2047
...
Add resumeWithoutException to CircuitBreakerFilter
4 years ago
buildmaster
67f7f01a7b
Bumping versions
4 years ago