[ 
https://issues.apache.org/jira/browse/KNOX-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132683#comment-15132683
 ] 

Kevin Minder edited comment on KNOX-670 at 2/4/16 6:16 PM:
-----------------------------------------------------------

This attached patch allows for simple apps to be installed in conf/applications 
and these will be deployed at server startup.  The apps may be files or 
directories but they need have a .war extension.  They to not need to be full 
WARs.  For example it it could contain a single index.html file in the root.  
The context path for these is the name of the file so knoxpolorer.war is 
deployed at /knoxplorer and accessible at https://localhost:8443/knoxplorer for 
example.  A check is done to make sure that neither the gateway path or 
_default are used.  Any change would also require a server restart.  I have 
some reservations about this.
1. There is no manageability story with this.  These cannot be deployed or 
managed via Ambari.
2. There is no support for using any of the Knox features like security "in 
front" of these apps using this approach.


was (Author: kminder):
This attached patch allows for simple apps to be installed in conf/applications 
and these will be deployed at server startup.  The context path for these is 
the name of the file so knoxpolorer.war is deployed at /knoxplorer and 
accessible at https://localhost:8443/knoxplorer for example.  A check is done 
to make sure that neither the gateway path or _default are used.  Any change 
would also require a server restart.  I have some reservations about this.
1. There is no manageability story with this.  These cannot be deployed or 
managed via Ambari.
2. There is no support for using any of the Knox features like security "in 
front" of these apps using this approach.

> Knox Should be able to Host Simple Web Apps
> -------------------------------------------
>
>                 Key: KNOX-670
>                 URL: https://issues.apache.org/jira/browse/KNOX-670
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>            Reporter: Larry McCay
>            Assignee: Kevin Minder
>             Fix For: 0.9.0
>
>         Attachments: KNOX-670_001.patch
>
>
> I think that we need the ability to serve up arbitrary web app resources. 
> Given a conf/applications along side conf/topologies, we should be able to 
> spin up a simple application that can be used as a central login facility 
> with KnoxSSO, a management UI or any number of simple applications.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to