[ https://issues.apache.org/jira/browse/KNOX-3008?focusedWorklogId=906903&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-906903 ]
ASF GitHub Bot logged work on KNOX-3008: ---------------------------------------- Author: ASF GitHub Bot Created on: 26/Feb/24 09:26 Start Date: 26/Feb/24 09:26 Worklog Time Spent: 10m Work Description: zeroflag commented on code in PR #842: URL: https://github.com/apache/knox/pull/842#discussion_r1502284036 ########## gateway-service-metadata/src/main/java/org/apache/knox/gateway/service/metadata/KnoxMetadataResource.java: ########## @@ -101,6 +103,7 @@ public GeneralProxyInformation getGeneralProxyInformation() { final ServerInfoService serviceInfoService = gatewayServices.getService(ServiceType.SERVER_INFO_SERVICE); final String versionInfo = serviceInfoService.getBuildVersion() + " (hash=" + serviceInfoService.getBuildHash() + ")"; proxyInfo.setVersion(versionInfo); + proxyInfo.setHostname(Hostname.getHostname()); Review Comment: Wouldn't a simple `InetAddress.getLocalHost().getHostName()` work? Do we know how is this library implemented? Issue Time Tracking ------------------- Worklog Id: (was: 906903) Time Spent: 20m (was: 10m) > Add a new banner on the top of Knox UIs > --------------------------------------- > > Key: KNOX-3008 > URL: https://issues.apache.org/jira/browse/KNOX-3008 > Project: Apache Knox > Issue Type: New Feature > Components: AdminUI, Homepage, TokenGenerationUI, TokenManagementUI > Affects Versions: 2.1.0 > Reporter: Sandor Molnar > Assignee: Sandor Molnar > Priority: Major > Fix For: 2.1.0 > > Time Spent: 20m > Remaining Estimate: 0h > > I got to know that Hue has a simple, but really cool feature: it can show a > [custom HTML banner|https://gethue.com/add-a-top-banner-to-hue/] on the top > of the Hue UI. Implementing a similar feature in Knox can help end-users to: > # Share a message of the day like hints, tips, or planned outages. > # Identify the cluster (e.g. Prod/Test/Dev) in case the URL is not clear > enough. > An additional improvement would be identifying which Knox gateway is in use, > in case of HA deployments and if it's behind a load balancer, which can help > with troubleshooting. This information fits perfectly into the existing > {{General Proxy Information}} section on the Knox home page; we just need to > add this new information as a new row in the table. > -- This message was sent by Atlassian Jira (v8.20.10#820010)