dombizita opened a new pull request, #767:
URL: https://github.com/apache/knox/pull/767

   ## What changes were proposed in this pull request?
   
   Previously if there were multiple OMs/SCMs in a cluster on the Knox UI if 
you clicked on any of the OM/SCM UIs it was consistently showing one of the 
OMs/SCMs UI, because `$serviceUrl[OZONE-SCM]` was picking the first URL from 
the three in the `cdp-proxy.xml`.
   
   In this fix I add a `?host={host}` to the ending of the URLs and used that 
`{host}` later when rewriting the requests, so it will go to the correct host. 
I added a separate route for the documentation to work in the UIs. 
   
   ## How was this patch tested?
   
   I tested it in a cluster. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to