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 GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/08 20:02:00 UTC

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

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

ASF GitHub Bot logged work on KNOX-2269:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Mar/20 20:01
            Start Date: 08/Mar/20 20:01
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on pull request #281: KNOX-2269 - The Knox Home page is available as a regular app via the homepage topology
URL: https://github.com/apache/knox/pull/281
 
 
   ## What changes were proposed in this pull request?
   
   See proposal in [KNOX-2269](https://issues.apache.org/jira/browse/KNOX-2269)
   
   ## How was this patch tested?
   
   Updated and executed JUnit tests:
   ```
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time: 20:08 min (Wall Clock)
   [INFO] Finished at: 2020-03-08T20:52:08+01:00
   [INFO] Final Memory: 421M/2257M
   [INFO] ------------------------------------------------------------------------
   ```
   
   TODO: describe manual tests.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 399910)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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: 10m
>  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 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], [~pzampino@apache.org], [~smore]



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