Sandor Molnar created KNOX-2269:
-----------------------------------

             Summary: Make homepage working with default topology
                 Key: KNOX-2269
                 URL: https://issues.apache.org/jira/browse/KNOX-2269
             Project: Apache Knox
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Sandor Molnar
            Assignee: Sandor Molnar
             Fix For: 1.4.0


KNOX-2226 added the new Home Page to Knox which is bound to the default context 
path in Jetty ({{/}}). However, this breaks the default topology feature: if a 
default topology is declared (by setting {{default.app.topology.name}} in 
{{gateway-site.xml}}) the homepage won't load.
 Recommended solution:
 # Add the Knox Home page like a regular Knox application rather than a generic 
web app in the Knox Jetty server with web.xml, etc. This will allow it to be 
deployed into topologies.
 # Add a new topology (descriptor) called home.xml. This will allow for a 
gateway URL like [https://gateway-host:8443/gateway/home] - for anyone already 
familiar with Knox this would be pretty intuitive.
 # The {{default.app.topology.name}} should default to '{{home'}}. So that, if 
no custom default topology declared, the home page will be accessible just like 
today. If someone sets {{default.app.topology.name}} in {{gateway-site.xml}}, 
the home page will be available under {{PROTOCOL://KNOX_HOST/GATEWAY_PATH/home}}

Cc. [~lmccay], [~krisden], [[email protected]], [~smore]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to