-
Notifications
You must be signed in to change notification settings - Fork 6
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
Refactor rs-e2e project to remove Hapi HL7 library #1654
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: luis-pabon-tf <luis-pabon-tf@users.noreply.github.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
...2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/external/hapi/HapiHL7FileMatcher.java
Outdated
Show resolved
Hide resolved
PR Code Suggestions ✨Explore these optional code suggestions:
|
Remove library usage on test class, one test not finished yet.
…DCgov/trusted-intermediary into story/1532/remove-hapi-hl7-lib
Corrected structure on test object
Replacing Message with HL7Message, some incompatible methods remain
Add method for getting segment counts
Adding replacement method for evaluation collection counts
Adding some deprecation flags and replacement methods
Updated test data and a mock
…e hapi dependency Co-authored-by: luis-pabon-tf <luis-pabon-tf@users.noreply.github.com>
rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/hl7/HL7Message.java
Fixed
Show fixed
Hide fixed
Most tests are passing, and HAPI Message is gone now.
…en value not found. Throwing an exception if hl7 path is not allowed Co-authored-by: luis-pabon-tf <luis-pabon-tf@users.noreply.github.com>
…not found Co-authored-by: luis-pabon-tf <luis-pabon-tf@users.noreply.github.com>
Tested and looks good. Sonar flagged a circular dependency between HL7Message and HL7Parser, and there are actually a lot of them. Should we consider tagging this a a separate task to clean up? |
I'll take a look. If it's straightforward to fix, we can include it in this PR |
…Encoding for this purpose
rs-e2e/src/main/java/gov/hhs/cdc/trustedintermediary/rse2e/hl7/HL7Parser.java
Fixed
Show fixed
Hide fixed
…e to avoid circular dependency
…oid circular dependencies
Quality Gate passedIssues Measures |
Description
ca.uhn.hapi
dependenciesHL7Message
,HL7Segment
,HL7Encoding
andHL7Path
classes to replace Hapi'sMessage
classIssue
#1532
Checklist