-
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.
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
@jorg3lopez I'm not able to replicate your error. We didn't make any changes to the assertion engine or its test in this PR. It's probably related to your local configuration. Can you try running the other the rule engine tests (ValidationRuleEngineTest and TransformationRuleEngineTest) and see if you get the same error? |
Removed unused constructor
Added a little more coverage
Quality Gate passedIssues Measures |
Per our conversation, this is a pre-existing bug that we will need to look into. This bug is present in the main repo, so ignore it for this PR. |
Description
ca.uhn.hapi
dependenciesHL7Message
,HL7Segment
,HL7Encoding
andHL7Path
classes to replace Hapi'sMessage
classIssue
#1532
Checklist