-
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.
fix(FSADT1-1483): updated filter of hot/cold requests (#1137)
* chore: updating code * fix(FSADT1-1483): updated filter of hot/cold requests - Added filter to only allow hot requests to proceed - Added hot/cold filter to the processor This change will check if a submission is HOT or COLD. A HOT submission is one that can be processed, by checking if the timing of processing is bigger than 2 minutes. A COLD submission is one that is being processed already, and we check that by the processing time if it is smaller than 2 minutes. * chore: updating migration info * chore: renamed job
- Loading branch information
1 parent
eaf15cb
commit 985c27c
Showing
5 changed files
with
108 additions
and
35 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
6 changes: 6 additions & 0 deletions
6
processor/src/main/java/ca/bc/gov/app/dto/SubmissionProcessKindEnum.java
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,6 @@ | ||
package ca.bc.gov.app.dto; | ||
|
||
public enum SubmissionProcessKindEnum { | ||
HOT, | ||
COLD | ||
} |
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