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


   ## What changes were proposed in this pull request?
   
   Instead of relying on that `KNOX_TOKENS` is being created externally, we do 
create that table as part of `JDBCTokenStateService` init if the table does not 
exist.
   
   ## How was this patch tested?
   
   Updated JUnit tests (removed table creation) so that the Derby path is 
tested.
   I ran manual testing against a PostgreSQL instance and started/stopped the 
server several times. Between these operations, I dropped the table + created 
tokens and confirmed the outcome matches my expectations.


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


Reply via email to