[BAEL-5258] Processing the Response Body in Spring Cloud Gateway (#12414)

* [BAEL-4849] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Article code

* [BAEL-4968] Remove extra comments

* [BAEL-5258] Article Code
This commit is contained in:
psevestre
2022-06-26 19:06:04 -03:00
committed by GitHub
parent ff3cc7b948
commit 676535b04d
5 changed files with 365 additions and 0 deletions
@@ -0,0 +1,12 @@
spring:
cloud:
gateway:
routes:
- id: rewrite_with_scrub
uri: ${rewrite.backend.uri:http://example.com}
predicates:
- Path=/v1/customer/**
filters:
- RewritePath=/v1/customer/(?<segment>.*),/api/$\{segment}
- ScrubResponse=ssn,***