MAT-6503: Disable HAPI IParser's Resource ID Override #185
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.
MADiE FHIR SERVICE
Jira Ticket: MAT-6503
(Optional) Related Tickets:
Summary
When using HAPI's IParser to parse Bundle JSON, it has a default behavior of overriding Resource IDs with their FullUrls when the FullUrl is available and its IdPart matches the Resource ID. (See IParser Javadoc)
This was unexpected behavior and caused canonical URLs to be used as References when assembling the
evaluatedResource
component, when the intention was have local references.All Submissions
DevSecOps
If there is a question if this PR has a security or infrastructure impact, please contact the Security or DevOps engineer assigned to this project to discuss it further.
Reviewers
By Approving this PR you are attesting to the following: