-
Notifications
You must be signed in to change notification settings - Fork 0
#51 Submission Validation in a worker thread #197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
8613b31
group errors outside loop
leoraba a36d8ad
combine data to validate improvement
leoraba 0159717
commit worker thread
leoraba c37773d
db index and new submission status
leoraba b3ce751
setting up workerpool
leoraba 7a4961b
revert baseDependencies db pool
leoraba 0eeed7c
Merge branch 'main' into commit_submission_worker
leoraba a5b9495
fix inconsistencies
leoraba 71d9f8a
execute data validation in a worker thread
leoraba af483f2
Merge branch 'commit_submission_worker' into feat/validate_data_worker
leoraba b246888
small changes for code readability
leoraba b79f975
improving TSdocs and small code refactor
leoraba 398b658
refactor groupSchemaDataByEntityName
leoraba 2ccc942
refactor worker pool
leoraba e9242ab
update comments and logs, revert unused code change
leoraba ccd5a8b
Merge branch 'commit_submission_worker' into feat/validate_data_worker
leoraba 6918027
Merge branch 'main' into feat/validate_data_worker
leoraba d71fd1b
using dataValidation workerPool function
leoraba a6292fe
add enum VALIDATING
leoraba 609844c
update comments and remove unused import
leoraba d0cdfff
force close submission
leoraba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ enum audit_action { | |
|
|
||
| enum submission_status { | ||
| OPEN | ||
| VALIDATING | ||
| VALID | ||
| INVALID | ||
| CLOSED | ||
|
|
||
1 change: 1 addition & 0 deletions
1
packages/data-model/migrations/0012_add_submission_enum_validating.sql
This file contains hidden or 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 @@ | ||
| ALTER TYPE "submission_status" ADD VALUE 'VALIDATING'; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flag added to the DELETE submission endpoint.