-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose port in docker files. Added test run configuration post method…
…. tmttestrun expose other basil db information as env variable. moved js method to constants file. Updated ltp example to leverage env variables provided by basil. Update documentation. Signed-off-by: Luigi Pellecchia <[email protected]>
- Loading branch information
Luigi Pellecchia
committed
Sep 9, 2024
1 parent
f036fd7
commit 4b43193
Showing
12 changed files
with
230 additions
and
44 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
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
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
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
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
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
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
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
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,71 @@ | ||
CREATE TABLE IF NOT EXISTS documents ( | ||
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, | ||
title VARCHAR(200), | ||
description VARCHAR, | ||
document_type VARCHAR, | ||
spdx_relation VARCHAR(200), | ||
url VARCHAR, | ||
section VARCHAR NOT NULL, | ||
"offset" INTEGER NOT NULL, | ||
valid INTEGER NOT NULL, | ||
created_by_id INTEGER NOT NULL, | ||
edited_by_id INTEGER NOT NULL, | ||
status VARCHAR(30) NOT NULL, | ||
created_at DATETIME NOT NULL, | ||
updated_at DATETIME NOT NULL, | ||
FOREIGN KEY(created_by_id) REFERENCES users (id), | ||
FOREIGN KEY(edited_by_id) REFERENCES users (id) | ||
); | ||
CREATE TABLE IF NOT EXISTS documents_history ( | ||
row_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, | ||
id INTEGER NOT NULL, | ||
title VARCHAR(200), | ||
description VARCHAR, | ||
document_type VARCHAR, | ||
spdx_relation VARCHAR(200), | ||
url VARCHAR, | ||
section VARCHAR NOT NULL, | ||
"offset" INTEGER NOT NULL, | ||
valid INTEGER NOT NULL, | ||
created_by_id INTEGER NOT NULL, | ||
edited_by_id INTEGER NOT NULL, | ||
status VARCHAR(30) NOT NULL, | ||
version INTEGER NOT NULL, | ||
created_at DATETIME NOT NULL, | ||
FOREIGN KEY(created_by_id) REFERENCES users (id), | ||
FOREIGN KEY(edited_by_id) REFERENCES users (id) | ||
); | ||
CREATE TABLE IF NOT EXISTS document_mapping_api ( | ||
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, | ||
api_id INTEGER NOT NULL, | ||
document_id INTEGER NOT NULL, | ||
section VARCHAR NOT NULL, | ||
"offset" INTEGER NOT NULL, | ||
coverage INTEGER NOT NULL, | ||
created_by_id INTEGER NOT NULL, | ||
edited_by_id INTEGER NOT NULL, | ||
created_at DATETIME NOT NULL, | ||
updated_at DATETIME NOT NULL, | ||
FOREIGN KEY(api_id) REFERENCES apis (id), | ||
FOREIGN KEY(document_id) REFERENCES documents (id), | ||
FOREIGN KEY(created_by_id) REFERENCES users (id), | ||
FOREIGN KEY(edited_by_id) REFERENCES users (id) | ||
); | ||
CREATE TABLE IF NOT EXISTS document_mapping_api_history ( | ||
row_id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, | ||
id INTEGER NOT NULL, | ||
api_id INTEGER NOT NULL, | ||
document_id INTEGER NOT NULL, | ||
section VARCHAR NOT NULL, | ||
"offset" INTEGER NOT NULL, | ||
coverage INTEGER NOT NULL, | ||
created_by_id INTEGER NOT NULL, | ||
edited_by_id INTEGER NOT NULL, | ||
version INTEGER NOT NULL, | ||
created_at DATETIME NOT NULL, | ||
updated_at DATETIME NOT NULL, | ||
FOREIGN KEY(api_id) REFERENCES apis (id), | ||
FOREIGN KEY(document_id) REFERENCES documents (id), | ||
FOREIGN KEY(created_by_id) REFERENCES users (id), | ||
FOREIGN KEY(edited_by_id) REFERENCES users (id) | ||
); |
Oops, something went wrong.