You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/03/09 18:49:00 UTC

[jira] [Commented] (KNOX-2269) Make homepage working with default topology

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

ASF subversion and git services commented on KNOX-2269:
-------------------------------------------------------

Commit 926adc68691d751ad89261313ea54a5007d95787 in knox's branch refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=926adc6 ]

KNOX-2269 - The Knox Home page is available as a regular app via the homepage topology (#281)



> 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
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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 {{homepage}}. This will allow for a gateway URL like [https://gateway-host:8443/gateway/homepage|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 '{{homepage'}}. 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/homepage/home}}
> Cc. [~lmccay], [~krisden], [~pzampino@apache.org], [~smore]



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