-
Bug
-
Resolution: Done
-
Major
-
None
-
2.7 GA
-
3
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
+
-
3scale 2020-02-17
Configuring the Url rewriting policy on an APIAP doesn't work.
If placed before Apicast it works as expected if placed after it doesn't work.
In attach a sample configuration.
Target url: :8080/echo/v1/test
Destination expected url: echo-api/v5/test
Current destination: echo-api/v1/test
Dev Notes
Solution is to do something in the UI to force Url rewriting policy to be before Apicast. We have done this before for a different case (routing policy). This does not work because in the product we replace the original request.
Easiest solution: use "uri" instead of "original_request.path" in the routing policy injected for APIAP.