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

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

                Author: ASF GitHub Bot
            Created on: 06/Oct/23 07:29
            Start Date: 06/Oct/23 07:29
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on code in PR #787:
URL: https://github.com/apache/knox/pull/787#discussion_r1348347579


##########
gateway-server/src/main/java/org/apache/knox/gateway/config/impl/GatewayConfigImpl.java:
##########
@@ -1489,4 +1489,20 @@ public boolean isAsyncSupported() {
     return getBoolean(GATEWAY_SERVLET_ASYNC_SUPPORTED, 
GATEWAY_SERVLET_ASYNC_SUPPORTED_DEFAULT);
   }
 
+  @Override
+  public Map<String, Collection<String>> getApplicationPathAliases() {
+    return getPathAliase(".application");
+  }
+
+  private Map<String, Collection<String>> getPathAliase(String qualifier) {

Review Comment:
   Ack; I'll fix it soon.



##########
gateway-server/src/main/java/org/apache/knox/gateway/config/impl/GatewayConfigImpl.java:
##########
@@ -1489,4 +1489,20 @@ public boolean isAsyncSupported() {
     return getBoolean(GATEWAY_SERVLET_ASYNC_SUPPORTED, 
GATEWAY_SERVLET_ASYNC_SUPPORTED_DEFAULT);
   }
 
+  @Override
+  public Map<String, Collection<String>> getApplicationPathAliases() {
+    return getPathAliase(".application");

Review Comment:
   Ack; I'll fix it soon.





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

    Worklog Id:     (was: 883636)
    Time Spent: 1.5h  (was: 1h 20m)

> Token generation should be reachable using the old URL
> ------------------------------------------------------
>
>                 Key: KNOX-2950
>                 URL: https://issues.apache.org/jira/browse/KNOX-2950
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: TokenGenerationUI
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 2.1.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> With KNOX-2811, the token generation UI's URL is changed from 
> {{'.../tokengen/index.html'}} to {{'.../token-generation/index.html'}}. The 
> idea was that clients will use the Knox Home page to go to that particular 
> UI. However, it might be the case that other 3rd party tools have that link 
> hard-coded.
> So it'd be nice to reach the same UI with an additional context with the old 
> name ({{tokengen}}).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to