forked from wso2-extensions/apim-km-wso2is
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a95451f
commit 133e10a
Showing
4 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
features/wso2is.key.manager.tokenpersistence.feature/src/main/resources/p2.inf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
instructions.configure = \ | ||
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/wso2is.key.manager.tokenpersistence_${feature.version}/repository/database/WSO2INVALID_TOKEN_DB.mv.db/,target:${installFolder}/../../database/WSO2INVALID_TOKEN_DB.mv.db,overwrite:true);\ |
9 changes: 9 additions & 0 deletions
9
features/wso2is.key.manager.tokenpersistence.feature/src/main/resources/sql/h2.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CREATE TABLE IF NOT EXISTS AM_INVALID_TOKENS ( | ||
UUID VARCHAR(255) NOT NULL, | ||
SIGNATURE VARCHAR(2048) NOT NULL, | ||
CONSUMER_KEY VARCHAR(255) NOT NULL, | ||
TOKEN_TYPE VARCHAR(15) NOT NULL, | ||
TIME_CREATED TIMESTAMP DEFAULT CURRENT_TIMESTAMP, | ||
EXPIRY_TIMESTAMP BIGINT NOT NULL, | ||
PRIMARY KEY (UUID) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters