Commit Graph

9783 Commits

Author SHA1 Message Date
Brenin Rhodes edd04916fe
Fix incorrect version on resource parameter (#5813)
* Fix incorrect version on resource parameter

* Add dstu3 test

* Fix tests

* Remove failing IEmailSender bean

* Add tests

* Update to 3.3.1
2024-04-15 14:03:41 -04:00
volodymyr-korzh b85a26f4a0
Automated Migration Testing (HAPI-FHIR) (#5836)
* Automated Migration Testing (HAPI-FHIR) - added and updated test migration scripts for V5_2_0, V5_3_0, V5_4_0, V5_5_0, V5_7_0, V6_0_0, V6_3_0, V6_6_0, V6_8_0, V7_0_0
2024-04-12 17:13:39 -06:00
JasonRoberts-smile e3cc83a694
fix bug (#5843) 2024-04-12 00:19:56 +00:00
Emre Dincturk 6e5c6fa33c
disabled old migration step that fails on fresh mssql db (#5841) 2024-04-11 15:50:04 -04:00
Luke deGruchy 4d8427ad60
Ensure CanonicalizedSubscription reflects StorageSettings.isCrossPartitionSubscriptionEnabled if it's true. Make that setting is true by default (#5810)
* First commit with TODOs and logging.

* Try to add cross partition config at startup to subscription module.

* Barely working solution with JpaStorageSettings injected into the Subscription module with the correct config for cross partition enabled.

* Implement agreed upon solution where StorageSettings used in the subscription module uses the JpaStorageSettings cross partition enabled setting.  Fix all compile errors.  TODOs for tests to add and known test failures.

* Fix test errors caused by bad log code.   Ensure all modules use StorageSettings for canonicalizer.

* Cleanup.

* Reintroduce old SubscriptionCanonicalizer constructor, but add a StorageSettings and deprecate it.  Cleanup logs and TODOs.

* Deprecate FHIR_PATCH.  More cleanup.

* Deprecate FHIR_PATCH correctly.

* Small fix.

* Set myCrossPartitionSubscriptionEnabled to true by default.

* Fix test failures.

* Fix another test.

* Code review feedback.

* Resolve static analysis warnings.
2024-04-09 14:27:15 +00:00
TipzCM 107de2cfba
reduction step failing fails jobs (#5831)
* adding a catch for failing reduction step

* spotless

* added changelog

---------

Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home>
2024-04-08 13:51:41 -04:00
Ken Stevens eafa2aba29
move mdm interceptor registration (#5830)
* licenses

* remove mdm placeholder interceptor

* remove mdm placeholder interceptor

* fix regression

* Remove RTE Placeholder Interceptor.
Add tests to assert proper boot sequence.

* consolidate LogbackCaptureTestExtension (removed the cdr class)

* consolidate LogbackCaptureTestExtension (removed the cdr class)
2024-04-08 08:59:54 -07:00
TipzCM 5d55594a73
Batch2 test refactor only (#5823)
* refactoring

* test refactor only

* spotless

* bumping version

---------

Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home>
2024-04-05 21:39:03 -04:00
TipzCM 620b46dd0a
unify bulk export patient type and bulk export patient instance (#5822)
* step one of unifying the bulk exports

* adding changelog

* review points

* spotless

---------

Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home>
2024-04-05 19:03:16 +00:00
Ken Stevens 3a5ff47c58
Add CapabilityStatementFilterFactory to register filters that can modify the capability statement (#5814)
* added new customizer filter factory.  have not yet deleted old code it replaces.

* added new customizer filter factory.  have not yet deleted old code it replaces.

* replaced websocket filter.  works.  still some cleanup to do

* replaced websocket filter.  works.  still some cleanup to do

* cosmetic change

* add coverage and fix bugs it found

* spotless

* move capability statement classes

* add changelog and rename new classes

* review feedback
2024-04-05 01:24:05 +00:00
Michael Buckley bdea4b6900
Merge history table prefetch with resource table. (#5825) 2024-04-04 23:53:35 +00:00
Michael Buckley fcf0a85584
Stop writing to hfj_forced_id (#5817)
Stop writing to hfj_forced_id
Stop reading ForcedId
Cleanup client-id assignment
Fix query counts in tests
Drop the unused indexes and fk
2024-04-03 18:25:23 +00:00
JasonRoberts-smile 1736dadfcf
Jr 20240325 concept map unmatched codes (#5809)
* update model

* convert results

* migration

* extend test coverage in cli

* fix broken test

* change log

* code review feedback

* spotless
2024-04-02 16:46:03 -04:00
Lila Mikalson e39ee7f47d
Add _language param to providers (#5801)
* Add _language param to providers and tests

* add pr number to docs

* fix test

* remove unnecessary code

---------

Co-authored-by: Lila Mikalson <lila.mikalson@smilecdr.com>
2024-04-02 20:26:33 +00:00
Emre Dincturk 70843cdf45
fixed resource fullUrl in _history bundles (#5815) 2024-04-01 15:21:18 -04:00
James Agnew 6ce3b17460
Enforce maximum chunk size in bulk export (#5800)
* Limit bulk export chunk size

* Cleanup

* Work on tests

* Working

* Add some docs

* Address revuew comments

* Spotless

* Test fix
2024-04-01 09:28:46 -04:00
Nathan Doef 9e5db198bf
Fix BaseOutcomeReturningMethodBinding NullPointer (#5808)
* failing test

* fix

* add @Nullable
2024-03-28 16:18:27 -04:00
Brenin Rhodes 9ddd8bf4d9
Update CR Operation Providers to latest version of CR release (#5751)
* Add support for latest version of CR and new $questionnaire operation

* Fix formatting in javadoc causing warning

* Update to 3.0.0 CR release

* Add support for expected parameter names from updated IG's

* Update Clinical Reasoning documentation

* Update pom.xml

* Create 5750-update-cr-operations.yaml

* fix doc

* Update to latest CR version

* Update pom.xml

* In version

* Update changelog

* Remove commented code
2024-03-28 11:44:29 -07:00
James Agnew 6175807f58
Reduce use of LOB columns (#5799)
* Reducer LOB usage in Batch2 and Search (#5748)

* Reducer LOB usage in Batch2 and Search

* Add changelog

* Rework a number of LOB columns

* Test fix

* Test fix

* Column fixes

* Test fix

* Formatting

* Fixes

* patching bad oracle test

* Apply spotless

---------

Co-authored-by: Tadgh <garygrantgraham@gmail.com>

* Clean up

* Revert change

* One more revert

* Resolve compile issue

---------

Co-authored-by: Tadgh <garygrantgraham@gmail.com>
2024-03-27 18:19:07 +00:00
Etienne Poirier 2f9693a1e4
MDM expansion doesn't work when using the :mdm qualifier in query string (#5803)
* wip

* cleaning up test

* adding changelog and passing spotless.

---------

Co-authored-by: peartree <etienne.poirier@smilecdr.com>
2024-03-27 10:12:50 -04:00
Tadgh 4d4d8b25d4
CVE 2024 03 26 (#5804)
* CVE-2024-1597

* CVE-2024-22243
2024-03-26 14:58:16 -07:00
TynerGjs 4a726dd2d1
Resolve 5790 Prefix a unit test log for hibernate exception in HapiFhirHibernateJpaDialect (#5791)
* prefixed the log message with "Unit test: "

* resolved review comments
2024-03-20 13:36:21 -04:00
Nathan Doef 7742aa76c5
Retain X-Request-ID header key casing in responses (#5787)
* failing test

* fix

* changelog

* spotless

* fix tests
2024-03-20 16:08:05 +00:00
Michael Buckley d6bc8f2e1b
Sort by Bundle chained composition SPs (#5785)
Add support for sorting by special Bundle chained composition SPs
2024-03-15 18:50:50 +00:00
Tadgh 7344f01217
Improve search bundle parts (#5781)
* Respect other non-match/include entries

* Changelog

* minor license files

* Another test
2024-03-15 09:29:53 -07:00
Brenin Rhodes 7005e83b03
Change CDS on FHIR Prefetch (#5778)
* Change CR services to use auto prefetch and not pass fhirServer as dataEndpoint

* Add documentation for CDS Hooks
2024-03-15 10:01:58 -04:00
Luke deGruchy ba5311d4cc
Add comment to test method making clear its dubious value. (#5782) 2024-03-14 13:46:32 +00:00
Etienne Poirier fc4c31a779
5771 patch operation failing for complex extension (#5776)
* initial failing test

* tightening initial test.

* fix with changelog

* addressing comment from code review.

* clean up from code analysis recommendations

---------

Co-authored-by: peartree <etienne.poirier@smilecdr.com>
2024-03-12 13:59:36 -04:00
dotasek 2f53a32f9d
Fix for #5773 (#5774)
* Breaking test and null check

* Changelog
2024-03-11 16:15:44 +00:00
Tadgh 519f0cf69e
Add annotation to config class (#5769) 2024-03-08 21:51:46 +00:00
TynerGjs df047a9dea
Resolve 5758-completion-handler-for-reduction-steps-are-not-called-with-the-up-to-date-job-instance-status (#5759)
* updated instance status after run is called.

* added changelog

* version bump
2024-03-06 11:01:42 -05:00
Luke deGruchy 4570c28cb6
Fix _has then chain then _has searches (#5735)
* Add SQL logging:  Attempt to add test.

* Small fix.

* moar tests

* Tweak unit tests to be parameterized.

* Enhance tests and more logging.

* Better tests.  More logging.  More TODOs.

* Better tests.  More logging.  More TODOs.

* Changes

* Changes

* Updates to tests.  More logging and experimental code.

* Introduce fix along with more logging and TODOs and tweaks to tests.

* Cleanup solution.  Get rid of logs and todos.  Rename test class, test methods and clean up unnecessary code.

* Add changelog.

* Implement simpler chain algorithm without conditional logic and leave a long comment explaining why.

* Implement simpler chain algorithm without conditional logic and leave a long comment explaining why.

* Fix comment.

---------

Co-authored-by: Ken Stevens <khstevens@gmail.com>
2024-03-04 15:52:04 +00:00
Nathan Doef 9ec8882457
Unable to POST a transaction Bundle with nested collection Bundle entries (#5693)
* failing test

* fix

* fix

* improve / fix old tests

* changelog

* cleanup

* comment
2024-03-04 10:50:05 -05:00
TipzCM 370d2c16b1
5746 fixing reducer step (#5753)
* fixing reduction step to fire job completion handler

* unwinding

* fixing changelog

* spotless

* review fixes

---------

Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home>
2024-03-04 09:12:31 -05:00
Tadgh 3a1a0418a0
Readd migration (#5747)
* Re-add removed migration

* spotless
2024-02-29 21:07:24 +00:00
longma1 f5cc015ff3
Added correction to generated resource providers (#5743)
* Added correction to generated resource providers

* add changelog and fix issue that was adding languange SP to version that does not have language as a SP

* actually fix the test

* fix changelog wrong issue number

---------

Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com>
Co-authored-by: Long Ma <long@smilecdr.com>
2024-02-27 22:12:23 +00:00
Tadgh 28b8662637
Rel 6 4 mb update (#5741)
* Add backport and folder

* Add missing changelog

* Cherry p icking

* Update upgrade.md

* added new version version.yaml

* Provide default update time to batch2 entities (#4630)

* Data migration - default value for batch2 UPDATE_TIME

* fixed changelog, added 6.4.3 changelog folder

* Spotless

---------

Co-authored-by: Kevin Dougan SmileCDR <72025369+KevinDougan-SmileCDR@users.noreply.github.com>
Co-authored-by: longma1 <long@smilecdr.com>
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
2024-02-27 17:50:01 +00:00
Luke deGruchy 497b9f2e53
Fix FhirTerser to handle Enumeration correctly (#5726)
* Add test for CDA with binary database blog storage and some logging for the Terser.

* More logging and a new FhirTerser test.

* Add more comments and prove Enumeration is a valid subtype of Type.

* More logging and comments.

* James solution:  Comment out some code.  Spotless.

* Get rid of logging and TODOs.  Use AtomicBoolean for test.

* Try just commenting out the continue; line.

* Integrate changes from ja_20240222_choice_specialization_fix.

* Spotless.

* Changelog and fix for bad import.

* Code review feedback.
2024-02-26 15:10:12 +00:00
Artiom Darie d8f6c10df2
Added content message delivery for SubscriptionWebsocketHandler (#5692)
* Added content message delivery for SubscriptionWebsocketHandler

* 5687: Code clean up and small bug fix on empty payload

* 5687: Provided unit tests for the SubscriptionWebsocketHandler with subscription topic content: id-only, empty and full-resource

* 5687: Apply mvn spotless:apply

* 5687: Code formatting

* Credit for #5692

---------

Co-authored-by: artiom.darie <artiom.darie@adswizz.com>
Co-authored-by: Artiom Darie <5781864-artiom.darie@users.noreply.gitlab.com>
Co-authored-by: James Agnew <jamesagnew@gmail.com>
2024-02-26 08:54:04 -05:00
jmarchionatto 2c2afd4a83
Hibernate SQL log filtering feature (#5594)
* Hibernate SQL log filtering feature

* changelog

* Add exception msg codes

* Improve test which failed in pipeline

* Join tests to avoid threading issues

* Fix comment

* Add review suggestions

* Add extra documentation including example.

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/appendix/logging.md

Co-authored-by: James Agnew <jamesagnew@gmail.com>

---------

Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
Co-authored-by: James Agnew <jamesagnew@gmail.com>
2024-02-25 09:09:56 -05:00
longma1 28a1a4d4df
Rel 7 0 mb 2 (#5714)
* pom bump to 7.0.0 (#5615)

* pom bump to 7.0.0

* add version enum

* fixed feb release name

---------

Co-authored-by: Long Ma <long@smilecdr.com>

* Check index existence on raw SQL creation (#5624)

* Add conditional check on index existence before we try again

* Add conditional check on index existence before we try again

* Changelog

* remit

* remit

* debug statements

* 5621 deadlock on caffeine cache when creating a resource with conditional create (#5622)

* Modifying the CacheProvider to avoid doing db I/O within the cache miss value supplier callback.

* Setting the initial capacity of instantiated caches to the cache max size to avoid resizing during operations.

* adding changelog and spotless.

* Fixing typo.

* Addressing comments from code review.

---------

Co-authored-by: peartree <etienne.poirier@smilecdr.com>

* Searching with more than one chained Bundle SearchParameter returns incorrect results (#5614)

* Failing test

* fix

* changelog

* Avoiding Exception being thrown on @EventListener invocation (#5628)

* replaced EventListener annotation with @PreDestroy

* adding changelog

---------

Co-authored-by: peartree <etienne.poirier@smilecdr.com>

* simple fix (#5630)

Co-authored-by: Long Ma <long@smilecdr.com>

* Incorrect version of auto versioned reference for conditional update with urn id placeholder (#5625)

* Incorrect version from versioned_references.auto_at_paths for conditional update - implementation

* Oracle:  Ensure migrated database still takes large resource text updates (#5629)

* First pass at fix to Oracle HFJ_RES_VER.RES_TEXT_VC migration.

* First stab at agreed upon solution.

* Fix error with 4001 by removing unnecessary annotation.

* Spotless and TODO.

* Remove annotation for good and set length to LONG32.

* Fix copyright year.

* Finalize changelog.

* Remove migration changes.  Fix unit test.

* Fix compile error.

* Log output.

* Refactor resource history code into new ResourceHistoryCalculator.

* Spotless.

* Convert record to POJO.

* Restore pre-17 switch statement.

* Finalize new resource history calculator code and tests.

* Spotless.

* Remove logging.

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_0_0/5633-oracle-hfj-res-ver-clob-migration.yaml

Apply code reviewer suggestion

Co-authored-by: Michael Buckley <michaelabuckley@gmail.com>

* Code review feedback.

---------

Co-authored-by: Michael Buckley <michaelabuckley@gmail.com>

* Fix expansion for `ValueSet` with no concepts based on CodeSystem `urn:ietf:bcp:13` (#5638)

* When fetching the mimetype code system, return empty CodeSystem with NOTSUPPORTED content. Update expansion logic to handle this case. Add some test cases.

* Minor change to fix test

* Rename changelog file

* Remove TODOs as they're replaced by reported issue

* Revert accidental change added with TODO removal

* $expunge operation ignoring ExpungeThreadCount setting in certain cases (#5637)

* $expunge operation ignoring ExpungeThreadCount setting in certain cases - implementation

* Fix Measure group id null pointer exception (#5620)

* Update to new version of clinical reasoning, includes a fix for null pointers on Measure group id

* add changelog

---------

Co-authored-by: Justin McKelvy <60718638+Capt-Mac@users.noreply.github.com>

* Rule evaluation:  Allow Bundles with PATCH Parameters (#5641)

* Remove parameters clause.

* Finalize changelog.  Add tests.  Finalize implementation.

* Undo changes to this test.

* Revert all changes to FhirQueryRuleImplTest.  Add new RuleImplOpTest.  Ensure that proper nested Bundle is created for test and other fixes.

* Tweak test.

* Use real rule applier in test and remove all mocks.

* Prevent batch2 job execution to stop for empty chunk when last job st… (#5635)

* Prevent batch2 job execution to stop for empty chunk when last job step is a reduction.
Add output to bulk export result even when empty.

* Fix test

* Unimportant change to force fresh build

* Implement review suggestions

---------

Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>

* Index review fixes (#5649)

* Don't hold locks while adding indices during upgrade.
* concurrent indexing is non-transactional in PG.

* Fix conditional creates without leading '?' (#5646)

* First commit with failing test.

* More tests and logs.

* More logs

* Try new solution for BaseTransactionProcessor.performIdSubstitutionsInMatchUrl().

* Simplify solution.  Add more tests.

* Changelog.

* javadoc

* Searching for Bundles with read all Bundles permission returns 403 (#5644)

* failing test

* another failing test case

* fix

* changelog

* fix bug

* spotless

* cr

* Fix NullPointerException when performing a system bulk export in the presence of PatientIdPartitionInterceptor. (#5660)

* Bump json-path

* Pin parrson

* Bump elastic

* Bump spring version

* Exclude JDBC

* Serializing changes for sensitive data (#5655)

* Add new senstiive data serializer

* Add new senstiive data serializer

* Add new senstiive data serializer

* Remove dead comments

* Change up the test

* review comments

* wip

* Tighten tests and push annotation down

* Tighten tests and push annotation down

* Changelog

* Add test

* 7.0.1-SNAPSHOT bump

* Error code

* Add method used by CDR

* add version enum

* Fix test

* Revert change to other safe version to stop problem with deprecated field

* Rel 7 0 CVE (#5663)

* Bump json-path

* Pin parrson

* Bump elastic

* Bump spring version

* Exclude JDBC

* Descendent fix (#5669)

* Fix "is-a" ValueSet expansion, add "descendent-of" support

* Fixed tests in DSTU3 and R5

* Trigger new build

* Revert "Trigger new build"

This reverts commit 46c672b338.

* fix default partition setting on resource (#5617)

* fix default partition setting on resource

* changelog

* Handle DEFAULT partition in rule checker.

* Fix spotless

---------

Co-authored-by: Michael Buckley <michaelabuckley@gmail.com>
Co-authored-by: James Agnew <jamesagnew@gmail.com>

* pom bump, doc add, version enum add (#5616)

Co-authored-by: Long Ma <long@smilecdr.com>

* fix default partition setting on resource (#5618)

* fix default partition setting on resource
* Handle DEFAULT partition in rule checker.

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Add setting to make broker not use JacksonMessageConverter (#5611)

* Add setting to make broker not use JacksonMessageConverter

* Add changelog

* Implement suggestions

---------

Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>

* Fix version

* add changelog, add attribution, remove accidental bring-overs

* add changelog, add attribution, remove accidental bring-overs

* Finish jira section

---------

Co-authored-by: Ole Hedegaard <ohe@trifork.com>
Co-authored-by: Ken Stevens <khstevens@gmail.com>
Co-authored-by: Michael Buckley <michaelabuckley@gmail.com>
Co-authored-by: James Agnew <jamesagnew@gmail.com>
Co-authored-by: longma1 <32119004+longma1@users.noreply.github.com>
Co-authored-by: Long Ma <long@smilecdr.com>
Co-authored-by: jmarchionatto <60409882+jmarchionatto@users.noreply.github.com>
Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>

* $poll-export-status operation with PatientIdPartitionInterceptor fails with NullPointerException (#5681)

* Fix NullPointerException when performing a system bulk export in the presence of PatientIdPartitionInterceptor.

* Fix NPE on -export-status operation with PatientIdPartitionInterceptor

* 5654 measurescorer bug for denominator exception (#5677)

* update measure bundles and tests for enforced populationId specification on Measure group resources

* bump CR version to PRE17

* fix bug in versionEnumTest

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_0_0/5654-measurescorer-bug.yaml

Co-authored-by: Tadgh <garygrantgraham@gmail.com>

---------

Co-authored-by: Tadgh <garygrantgraham@gmail.com>

* Revert Remote Terminology lookup operation to support all types of CodeSystem property and convert to them to string type. (#5698)

* Revert Remote Terminology lookup operation to support all types of CodeSystem property and convert to them to string type.

* Spotless fix

* Address code review comments

* version bump to 7.0.0

* pipeline fix

* Update java home

* Updating version to: 7.0.1 post release.

* post mergeback cleanup

* bump clinical-reasoning.version to pre17

* test fix

* version bump to 7.1.5-snapshot

---------

Co-authored-by: Long Ma <long@smilecdr.com>
Co-authored-by: Tadgh <garygrantgraham@gmail.com>
Co-authored-by: Etienne Poirier <33007955+epeartree@users.noreply.github.com>
Co-authored-by: peartree <etienne.poirier@smilecdr.com>
Co-authored-by: Nathan Doef <n.doef@protonmail.com>
Co-authored-by: volodymyr-korzh <132366313+volodymyr-korzh@users.noreply.github.com>
Co-authored-by: Luke deGruchy <luke.degruchy@smilecdr.com>
Co-authored-by: Michael Buckley <michaelabuckley@gmail.com>
Co-authored-by: Martha Mitran <martha.mitran@smilecdr.com>
Co-authored-by: JP <jonathan.i.percival@gmail.com>
Co-authored-by: Justin McKelvy <60718638+Capt-Mac@users.noreply.github.com>
Co-authored-by: jmarchionatto <60409882+jmarchionatto@users.noreply.github.com>
Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
Co-authored-by: Ole Hedegaard <ohe@trifork.com>
Co-authored-by: Ken Stevens <khstevens@gmail.com>
Co-authored-by: James Agnew <jamesagnew@gmail.com>
Co-authored-by: markiantorno <markiantorno@gmail.com>
2024-02-23 11:03:26 -07:00
James Agnew e759bc0958
Make seaech URL cleanup job clustered (#5734)
* Make seaech URL cleanup job clustered

* Add changelog
2024-02-23 11:16:40 -05:00
James Agnew ec525f4457
Apply SearchNarrowingInterceptor to conditional URLs (#5712)
* Fix #5110 - Failure in tx processing

* Test fix

* Work on narrowins

* Add changelog

* Docs cleanup

* Fix compile error

* Rollback incompatible change

* Test fix

* Test fix

* Force update

* Test fixes

* Build fixes

* Bump HTMLUnit

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_2_0/5712-apply-searchnarrowing-to-conditional-urls.yaml

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Address review comments

* Version bump to 7.1.4-SNAPSHOT

* Spotless

* Roll back version

---------

Co-authored-by: Ken Stevens <khstevens@gmail.com>
2024-02-23 08:42:26 -05:00
dotasek c7f413d6ea
Bump commons compress to 1.26 (#5718)
* Bump commons compress to 1.26

* Use full version name

* Add changes.yaml
2024-02-22 14:02:40 -05:00
pano-smals a5eddc3837
Bugfix: removed reference to public schema in raw sql (#5722)
* Bugfix: removed reference to public schema in raw sql

* Add attribution for #5722

---------

Co-authored-by: James Agnew <jamesagnew@gmail.com>
2024-02-21 13:57:08 -05:00
James Agnew 3974239c48
Make history pages stable (#5720)
* Make history pages stable

* Add changelog

* Apply spotless
2024-02-21 13:32:59 -05:00
volodymyr-korzh b4155e5d11
Reflected XSS vulnerability in Testpage overlay (#5719)
* HAPI FHIR Testpage potential XSS vulnerability - fix
2024-02-20 15:12:53 -07:00
Martha Mitran e5d410d10b
Refactor and fix functionality dealing with ReadPartitionIdRequestDetails (#5691)
* Throw exception when resourceType of parameter value is invalid when performing FHIR search with non-chained reference

* Fix changelog issue id and spotless warning

* Cleanup unnecessary test

* Validate resourceType only when using relative reference

* Fix test for search using _type parameter

* Refactor and fix functionality dealing with ReadPartitionIdRequestDetails

* Spotless fixes

* Revert some of the refactoring changes to BaseRequestPartitionHelperSvc and fix tests

* Small cleanup

* Missing change

* Small changes

* Fix tests and add a few more

* Spotless fix

* Address code review comments

* Some polishing on the interface annotations and documentation

* Spotless fix

* Fix test

* Fix tests and test method rename

* Ensure SearchParameterMap is not null

---------

Co-authored-by: Martha Mitran <martha.mitran@smilecdr.com>
2024-02-17 16:16:14 -05:00
Luke deGruchy c8d6e9fb73
Fix validation caching issue with initially unpopulated StructureDefinitions (#5705)
* Solution to caching issue with new tests.

* Fix animal sniffer issue.  Clean up unit tests.  Finalize changelog.  Add TODO referencing change in validation cache behaviour.

* Spotless.

* Fix unit test.

* Code review feedback.
2024-02-15 21:54:24 +00:00
Luke deGruchy bdaedb605b
Return HAPI-2498 if a REST request contains an :identifier modifier (#5696)
* Failing tests and logging.

* Spotless.

* Fix error message for bad modifiers.  Add more tests.

* Spotless.

* Fix conditional logic for detecting modifiers to check for colon (:).

* Finalize tests.  Fix animal sniffer error.  Remove logging code.  Finalize changelog.

* Try again to fix animal sniffer error.

* Null handling on request.
2024-02-14 00:51:37 +00:00