generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 9
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
621: Save Metadata from FHIR Sender/Receiver/Number #985
Merged
Merged
Changes from 44 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
b8585fc
Start pumping the new metadata into the metadata system
halprin bf30102
Pipe in the new metadata from annother direction
halprin ca7a966
Remove unused metadata method that was only ever called in a test
halprin 7c14783
Fix up the with methods in the Metadata POJO
halprin 2b725ae
Removed another unused method from the Metdata POJO
halprin db0adc7
Merge branch 'story-621-dbdoa_generic' into story-621-save_new_metadata
halprin 90c7b8e
Write new FHIR sender and receiver to the metadata columns
halprin 489f725
Merge branch 'story-621-dbdoa_generic' into story-621-save_new_metadata
halprin 53647a7
Construct the metadata using the new fields from the database
halprin 85589cb
Merge branch 'main' into story-621-save_new_metadata
halprin b4dc9f0
Fix unit test
halprin 26bb22e
Fix unit tests
halprin 7b45f8c
Fix rest of unit tests
halprin 77f44fe
Merge branch 'main' into story-621-save_new_metadata
halprin 9acc112
Merge branch 'story/621/extract-ids' into story-621-save_new_metadata
saquino0827 65d0fd2
Update PartnerMetadata, Order/Result Usecase, and Dao classes to use …
saquino0827 987fe88
Update usage of MessageHdDatatype into PartnerMetadata testing
saquino0827 2fab464
Add commented test to be written soon
saquino0827 f716749
Merge branch 'story/621/extract-ids' into story-621-save_new_metadata
saquino0827 45bef13
Integrate MessageHdDatatype into PartnerMetadataOrchestratorTest
saquino0827 eea2efc
Integrate MessageHdDatatype with SendMessageHelperTest
saquino0827 3937309
Merge branch 'main' into story-621-save_new_metadata
saquino0827 68ad8c4
Merge branch 'main' into story-621-save_new_metadata
luis-pabon-tf 66f97d0
Fixing unit tests to handle MessageHdDatatype and it's return type fo…
saquino0827 edd0552
change liquibase type for new columns
saquino0827 ad22d54
Merge branch 'story-621-save_new_metadata' of https://github.com/CDCg…
luis-pabon-tf 92bfa2a
Update PostgresDaoTest.groovy
luis-pabon-tf 40f6698
Merge branch 'main' into story-621-save_new_metadata
luis-pabon-tf b4931e1
unit test: readMetadata triggers FormatterProcessingException
jorg3lopez 8485cd8
unit test: readMetadatForSender triggers FormatProcessingException
jorg3lopez d366dfd
unit test: readMetadatForSender triggers SQLException
jorg3lopez b9c2ea3
unit test: readMetadataForSender happy path works
jorg3lopez eaf3982
refactoring unit test
jorg3lopez e424ff8
Update for database handling of the jsonb datatype
saquino0827 51adfbe
Merge branch 'story-621-save_new_metadata' of https://github.com/CDCg…
saquino0827 cbf0fb6
Add jackson constructor and remove formatting from DatabasePartnerMet…
saquino0827 0cd92fa
Update PostgresDao to handle all Jackson formatting and remove it fro…
saquino0827 2061d30
Refactor PartnerMetadataOrchestratorTest to re-use all MessageHdDatat…
saquino0827 cc2c378
unit test: sameMetadata triggers FormatProcessingException
jorg3lopez c975439
Refactor unnecessary jsonb formatting out of PostgresDao and into Dat…
saquino0827 d11cc18
Merge branch 'story-621-save_new_metadata' of https://github.com/CDCg…
saquino0827 99fb6f5
Remove comments and fix typo's
saquino0827 0b1427d
Update DatabasePartnerMetadataStorageTest exception throwing to handl…
saquino0827 2c97cae
adding helper method to create List<DbColumn>
jorg3lopez 4045075
merge conflicts
jorg3lopez 880cf82
deleted space before list<DbColumn>
jorg3lopez ec20d90
refactor: added helper method that returns List<DbColumn>
jorg3lopez 10c6dd8
Update DatabasePartnerMetadataStorage to re-add formatting and fix Po…
saquino0827 58334ae
Merge branch 'story-621-save_new_metadata' of https://github.com/CDCg…
saquino0827 c1d902d
Fix imports and remove merge conflict file
saquino0827 b22d5e9
Merge branch 'main' into story-621-save_new_metadata
saquino0827 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 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
Oops, something went wrong.
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.
Thoughts on passing an object that will hold all this data so we can have one parameter?
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.
I'm down for something like
PartnerMetadataMessage
or something along those lines. I would like others thoughts on it.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.
Hmmmm, I'm fine passing along the individual arguments, but I wouldn't create a whole new class when a lot of this data just belongs in
PartnerMetadata
. Today we construct thePartnerMetadata
insidePartnerMetadataOrchestrator
. I'd be curious to hear people's thoughts on constructingPartnerMetadata
in the usecase or somewhere else outside the orchestrator.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.
Having an object instead of many params will be slightly more readable at this point. I don't have super strong feelings on it though
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.
Maybe we can bubble up the construction of the
PartnerMetadata
? That could lead to easier change to that object in the futureThere 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.
I'll leave this as is for now and we can discuss this in our engineering block if we want to consider refactoring.