smolnar82 opened a new pull request #494:
URL: https://github.com/apache/knox/pull/494


   ## What changes were proposed in this pull request?
   
   There were some public API endpoints in `TokenResource` with wrong HTTP 
methods. I changed hem and now the resource looks like this:
   - GET - `/knoxtoken/api/v1/token`
   - GET - `/knoxtoken/api/v1/token/getUserTokens`
   - GET - `/knoxtoken/api/v1/token/getTssStatus`
   - POST - `/knoxtoken/api/v1/token`
   - PUT - `/knoxtoken/api/v1/token/renew`
   - PUT - `/knoxtoken/api/v1/token/enable`
   - PUT - `/knoxtoken/api/v1/token/disable`
   - DELETE - `/knoxtoken/api/v1/token/revoke`
   
   ## How was this patch tested?
   
   Ran manual test steps (including token management UI operations and `curl` 
requests)


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to