[
https://issues.apache.org/jira/browse/KNOX-2595?focusedWorklogId=589778&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-589778
]
ASF GitHub Bot logged work on KNOX-2595:
----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Apr/21 14:33
Start Date: 27/Apr/21 14:33
Worklog Time Spent: 10m
Work Description: pzampino commented on a change in pull request #438:
URL: https://github.com/apache/knox/pull/438#discussion_r621268781
##########
File path:
gateway-server/src/main/java/org/apache/knox/gateway/services/token/impl/TokenStateDatabase.java
##########
@@ -41,6 +48,33 @@
TokenStateDatabase(DataSource dataSource) throws Exception {
this.dataSource = dataSource;
+ createKnoxTokensTableIfNotExists();
+ }
+
+ private void createKnoxTokensTableIfNotExists() throws Exception {
Review comment:
+1
--
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: 589778)
Time Spent: 40m (was: 0.5h)
> Create KNOX_TOKENS table if not exists
> --------------------------------------
>
> Key: KNOX-2595
> URL: https://issues.apache.org/jira/browse/KNOX-2595
> Project: Apache Knox
> Issue Type: Improvement
> Components: Server
> Affects Versions: 1.6.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The new JDBCTokenStateService implementation relies on the fact that the
> KNOX_TOKENS data table is created before the service gets used.
> The scope of this Jira is to create that table if it's not yet existed for
> the configured user/schema.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)