Picked this up again. I implemented a new property in the app configuration file which contains a list of HDFS URIs which will get set as localized resources in the container request. After this point, the python scripts in the app package can do whatever it chooses – for Tomcat, we can copy all of these files which end in .war into the webapps directory so that they are automatically deployed.
I also implemented a single tomcat-users.xml mapping so that a user can specify a username/password and use the built-in Tomcat manager via the browser.
With the change over in
SLIDER-1012, I have also been able to access the URL via the AM's REST service, but it's not displayed on the UI which is frustrating. The information is contained in the exports call. I think this can be a general improvement to the webui in that we can render all exports/quicklinks in the UI and prevent the need for the user to make additional calls.
Still need to make some tests...