ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Galave <nitin.gal...@gmail.com>
Subject Review Request 65747: RANGER-1981: Error in constructing base path for UI API when accessing Atlas via knox proxy without "/" at the end
Date Thu, 22 Feb 2018 05:45:00 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for ranger, Gautam Borad, Mehul Parikh, Pradeep Agrawal, and Velmurugan Periasamy.

Bugs: RANGER-1981

Repository: ranger


1.Enabled knox proxy for ranger.
2.Accessed ranger UI via proxy using https://knox_gateway:8443/gateway/ui/ranger
3.Provided admin username and password and logged into ranger
4.Now, opened another tab in browser with URL

UI is loaded without data because API path is not formed properly.

If the URL is accessed with "/" at the end, logs in as admin user and all operations work


  security-admin/src/main/webapp/scripts/modules/RestCsrf.js c201c72 

Diff: https://reviews.apache.org/r/65747/diff/1/


Covered test cases :
1.By removing '/' in front of ranger (https://<localhost>:8443/gateway/ui/ranger)
2.By keeping '/' in front of ranger (https://<localhost>:8443/gateway/ui/ranger/)
3.Tested with KNOX SSO url.
4.Tested that when we hit KNOX proxy URL we get redirected to KNOX SSO.
5.By removing '/' in front of ranger after navigating to the different page.


Nitin Galave

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message