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/17 19:31:00 UTC

[jira] [Work logged] (KNOX-2296) Multiple instances of a service has the same link on home page

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

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

                Author: ASF GitHub Bot
            Created on: 17/Mar/20 19:30
            Start Date: 17/Mar/20 19:30
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on pull request #290: KNOX-2296 - Passing down the service URL field when building up a service model
URL: https://github.com/apache/knox/pull/290
 
 
   ## What changes were proposed in this pull request?
   
   Returning a `Set` of service models instead of a `List` for both UI and API services. This results in displaying only one service logo/URL with multiple service URLs in case the service URLs do not contain service-specific host/port parts.
   
   ## How was this patch tested?
   
   Manually tested:
   
   - added a topology (`cdp-proxy`) with IMPALA and IMPALAUI services
   - both services had 2 service URLs defined
   - redeployed Knox and confirmed the following using the Metadata API:
     - Impala UI logo appeared twice pointing to two different instances as the service URL of IMPALA UI contains `{{HOST}}` and `{{PORT}}` placeholders
     - Impala API link appeared only once
   
   <img width="1668" alt="Screen Shot 2020-03-17 at 8 24 05 PM" src="https://user-images.githubusercontent.com/34065904/76894201-fba82680-688d-11ea-86dd-39b7fc1f8629.png">
   
   <img width="1672" alt="Screen Shot 2020-03-17 at 8 27 03 PM" src="https://user-images.githubusercontent.com/34065904/76894235-08c51580-688e-11ea-9de5-884ad09da194.png">
 
----------------------------------------------------------------
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: 404910)
    Remaining Estimate: 0h
            Time Spent: 10m

> Multiple instances of a service has the same link on home page
> --------------------------------------------------------------
>
>                 Key: KNOX-2296
>                 URL: https://issues.apache.org/jira/browse/KNOX-2296
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Homepage
>    Affects Versions: 1.4.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The back-end uses {{org.apache.knox.gateway.topology.Service.getUrl()}} to fetch the URL when building the link the home page UI uses.
> In case there are more instances of a service that call return the same -> we always redirect to the same instance.



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