hapi-fhir/hapi-fhir-storage-cr
Luke deGruchy fb93c3d601
Expose hapi-fhir-storage-cr config to downstream modules for testing (#6272)
* Ensure IRepositoryFactory returns a Repository, and not a HapiFhirRepository.

* Rename test so that it will run from Maven and the pipeline since it didn't before.  Fix small bug that made the test error out.

* Move TestCrConfig and TestCrR4Config to main source folder.  Extract TestHapiFhirCrPartitionConfig as separate test config to be used only in the test source folder.  Add Maven compile dependency to hapi-fhir-jpaserver-base in order to ensure that moved Config classes will compile.

* Add possible code change to RequestDetailsClone to clone partition info.

* Introduce separate factory interface for Repository to preserve backward compatibility.

* Remove IRepositoryFactoryForInterface.

* Spotless

* Add javadoc.

* Get rid of TODO.

* Restore RepositoryConfig to master.

* Move test config to different packages.

* Leverage use of new RepositoryFactoryForRepositoryInterface for CrR4Config and RepositoryFactoryForRepositoryInterface.

* Ensure CrR4Config and RepositoryConfig make use of new RepositoryFactoryForRepositoryInterface.

* Add copyright header

* Add @FunctionalInterface to factory.
2024-09-19 13:59:58 -04:00
..
src Expose hapi-fhir-storage-cr config to downstream modules for testing (#6272) 2024-09-19 13:59:58 -04:00
pom.xml Expose hapi-fhir-storage-cr config to downstream modules for testing (#6272) 2024-09-19 13:59:58 -04:00