hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
2.04k stars 1.33k forks source link

fix interceptor hooks from requestDetails not getting called for STORAGE_PRECHECK_FOR_CACHED_SEARCH #6436

Closed mrdnctrk closed 2 weeks ago

mrdnctrk commented 2 weeks ago

In hapi fhir server, there are 2 InterceptorBroadcaster instances that could be used to call hooks when handling a request. The first Broadcaster is the one that could be associated JPA module, and the second broadcaster is the one that is optionally set in RequestDetails.

closes: #6440

github-actions[bot] commented 2 weeks ago

Formatting check succeeded!

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (rel_7_6@57f4076). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## rel_7_6 #6436 +/- ## ========================================== Coverage ? 83.52% Complexity ? 27758 ========================================== Files ? 1738 Lines ? 107526 Branches ? 13497 ========================================== Hits ? 89812 Misses ? 11924 Partials ? 5790 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.