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

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

                Author: ASF GitHub Bot
            Created on: 30/Mar/21 14:37
            Start Date: 30/Mar/21 14:37
    Worklog Time Spent: 10m 
      Work Description: pzampino opened a new pull request #426:
URL: https://github.com/apache/knox/pull/426


   …knownTokenException
   
   ## What changes were proposed in this pull request?
   
   To align with other methods in the TokenStateService interface, the 
getTokenMetadata(String tokenId) method has modified to throw 
UnknownTokenException when there is no metadata for the specified token 
identifier.
   
   ## How was this patch tested?
   
   Existing tests have been modified/executed, and I've added 
org.apache.knox.gateway.services.token.impl.DefaultTokenStateServiceTest#testGetMetadata_InvalidToken(),
 which also gets invoked for the Alias- and Journal-based TokenStateService 
implementations.


-- 
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:
[email protected]


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

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

> TokenStateService getTokenMetadata method should throw UnknownTokenException
> ----------------------------------------------------------------------------
>
>                 Key: KNOX-2562
>                 URL: https://issues.apache.org/jira/browse/KNOX-2562
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.6.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The TokenStateService getTokenMetadata method should throw 
> UnknownTokenException if an invalid token identifier is specified. 



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

Reply via email to