-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59443/
-----------------------------------------------------------

Review request for atlas, keval bhatt and Madhan Neethiraj.


Bugs: ATLAS-1823
    https://issues.apache.org/jira/browse/ATLAS-1823


Repository: atlas


Description
-------

The currently in Atlas the base path for api and few image are relative to root 
of the application, ie it always resolves to http://<host><api>.
Which causing issue when Atlas UI is accessed for Knox Proxy.
Proposing following changes in path to make it relative from path it is 
accessed.
-                    <img class="initialLoading" src="../img/ring.gif">
+                    <img class="initialLoading" src="img/ring.gif">
-        baseUrl: '/api/atlas',
-        baseUrlV2: '/api/atlas/v2',
+        baseUrl: 'api/atlas',
+        baseUrlV2: 'api/atlas/v2',


Diffs
-----

  dashboardv2/public/css/scss/main.scss 4b73577 
  dashboardv2/public/index.html 72e11fb 
  dashboardv2/public/js/utils/UrlLinks.js 82bd082 
  dashboardv2/public/js/views/graph/LineageLayoutView.js f98672b 


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


Testing
-------

Tested Atlas with CRUD operation.
Atlas UI is loading fine without console error.


Thanks,

Nixon Rodrigues

Reply via email to