generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure all assertion rules run at least once (#1586)
* Bubble up exceptions, add context, and let test fail * Throw exception when no matching files found and simplify logic * Fixed failing test * Added HapiHL7FileMatcherException custom exception and fixed tests * Added javadocs * WIP: Added AzureBlobOrganizer to reorganize blobs by dated folders * Added cleanup logic, fixed storage paths and misc cleanup * Refactored AzureBlobOrganizer to better handle cooying and deleting blobs, imrpoved time zone handling, added logging, more accurately check if blob was moved * Removed non existing metadata and improved how we're checking the blob got copied * Renaming and cleanup * Extracted time zone to use the same one everywhere * Moved methods to helper class * Changed azure fetch logic to get blobs in expected path for todays date * Added tests for AzureBlobHelper * Renamed sourcePath => sourceName * Added javadocs * Added assertion to ensure all rules ran * Added test coverage * Removed UTC timezone comment. Planning to keep using UTC * Added comment explaining date path formatting * Added note about blob retention policy * Added more context on file org * Renamed and added comment for clarity
- Loading branch information
1 parent
31438cd
commit 7ba2110
Showing
3 changed files
with
53 additions
and
5 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