-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
False
-
-
False
-
Unset
-
None
-
-
There are two ways of making requests with the provided JS clients:
1. supplying all of the request parameters in-line
2. supplying the input parameters via the defined parameter structure. E.g., ListRolesForGroupParams
When requests are made in automated tests using format 1, the request works. When requests are made using approach #2, they fail with HTTP 403 response. This 403 response is because the AxiosRequestConfig parameter with the proxy configuration isn't being honored.
To easily reproduce the problem, I've coded a test that demonstrates the issue. The example invokes the "list group roles" endpoint both ways. See: https://github.com/RedHatInsights/javascript-clients-tests/blob/bd64426c40b961f594554577adb2a7ee432bfadf/src/tests/rbac/groupsComposed.test.ts#L83
- is related to
-
RHCLOUD-34610 [Test Automation] Expand JS clients POC to include broader coverage of RBAC groups
-
- Closed
-
- links to