Details
-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
EAP CD 20.0.GA
-
None
Description
OpenShift redirects HTTP call from the first deployment to the second deployment, if first deployment make HTTP call to the second deployment by rest client and external URLs are used
Example:
- MP QS contains two applications, see git
- deploy both applications to OpenShift (like OCP TS test does)
- rest client uses external URLs (like https://country-client-xpaasqe.192.168.99.113.nip.io/country/cdi/France )
- This issue doesn't happen if internal OCP network is used (current test for QS uses internal network, so test is passing)
Expected behaviour:
- client make a call to cdi/name in "country-client" application
- end-point in "country-client" application calls another end-point from "country-server" application by rest client
- end-point in "country-client" receive data from "country-server" and modify it
- end-point in "country-client" returns modified data to client
Real behaviour
- client make a call to cdi/name in "country-client" application
- end-point in "country-client" application calls another end-point from "country-server" application by rest client
- OCP redirect original client call to another end-point from "country-server" application (according to the rest-client settings) = client receive 302 HTTP code