-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filter out non-covid results from bulk uploader csv (#6192)
* filter out non-covid results from bulk uploader csv * add support to flu only files * cleanup EmptyCsvException * addess sonar feedback * correct test file * address sonar feedback
- Loading branch information
1 parent
4235b55
commit 653bb30
Showing
9 changed files
with
318 additions
and
84 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
backend/src/main/java/gov/cdc/usds/simplereport/api/model/errors/EmptyCsvException.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,11 @@ | ||
package gov.cdc.usds.simplereport.api.model.errors; | ||
|
||
import java.io.Serial; | ||
|
||
public class EmptyCsvException extends Exception { | ||
@Serial private static final long serialVersionUID = 1L; | ||
|
||
public EmptyCsvException() { | ||
super("CSV file has no rows"); | ||
} | ||
} |
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
Oops, something went wrong.