3457 Commits

Author SHA1 Message Date
Tadgh
3ec47cb0ba Bump version as we break the localcontainerentitymanagerfactory bean constructors args 2021-09-07 13:58:22 -04:00
Tadgh
6a2a5d5097 Merge branch 'master' into custom-elastic-index 2021-09-07 13:56:56 -04:00
Tadgh
eabe3e7c74 Merge branch 'master' into custom-elastic-index 2021-09-07 13:56:44 -04:00
Tadgh
ecd93c9e8a Add changelog 2021-09-07 13:54:28 -04:00
Tadgh
16752f393c Finalize implementation 2021-09-07 13:33:03 -04:00
Jari Maijenburg
d3d7c6e97e
Merge branch 'master' into npe_fix 2021-09-07 17:36:05 +02:00
Tadgh
ca2a1ff9df Add HsTest replicating boot failure 2021-09-07 10:08:17 -04:00
Tadgh
ad5d56172a Return 2 unused beans 2021-09-07 09:11:48 -04:00
Ken Stevens
a1733ed3eb cleanup 2021-09-06 13:55:19 -04:00
Ken Stevens
4281648a33 extract some methods for readability 2021-09-06 13:52:10 -04:00
Ken Stevens
ea153334fb extract some methods for readability 2021-09-06 13:50:09 -04:00
Tadgh
710fb3bd89 wip 2021-09-05 00:04:13 -04:00
Tadgh
f0a8659653 Fix template and setup static prefix as sample 2021-09-04 23:55:03 -04:00
Jari Maijenburg
cdb7ffb0d3 Fixed NPE in PidToIBaseResourceProcessor 2021-09-04 01:44:07 +02:00
Ken Stevens
346e29920a
Issue 2927 convert mdm clear to spring batch (#2929)
* initial roughout of mdm clear batch job

* still roughing out classes

* finished first draft of reader

* most tests passing now

* all tests pass.  now FIXMEs

* FIXMEs done.  Time for regression.

* fix test

* changelog and docs

* fix test

* pre-review cleanup

* version bump

* move spring autowire deps for cdr

* move spring autowire deps for cdr

* finally got beans working phew

* rearrange method calls so persistence module can perform clear operation on its own

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa_mdm/mdm_operations.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* review feedback

* review feedback

* Remove inheritance

* fix beans

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>
Co-authored-by: Tadgh <garygrantgraham@gmail.com>
2021-09-03 14:58:19 -04:00
Vadim Karantayer
b29a61df40 update TestUtil to test Embeddable classes, not just Entity classes 2021-09-03 10:40:54 -04:00
Kevin Dougan SmileCDR
fed755523f
Resolve - Avoid JOINs on HFJ_RESOURCE Checking RES_TYPE and RES_DELETED_AT Columns (#2944)
* Added the start of a new Unit Test.

* Renamed the Unit Test.

* Fleshed out the Unit Test with additional Resource properties.

* Tweaked the Unit Test more but it is still not working as desired so more changes will be needed to replicate the specific scenario...

* More Unit Test tweaks...

* More Unit Test tweaks.

* More tweaks...

* Reproduced the problem.

* Finally, a Failing Unit Test that exposes the problem.

* Fixed the Unit Test by changing how SearchBuilder manipulates underscore params.

* Added another test scenario.

* Added a third search test.

* Removed the third search example since it was not effective.

* Test fix

Co-authored-by: jamesagnew <jamesagnew@gmail.com>
2021-09-03 05:28:04 -04:00
Tadgh
2ed7019a6c Add another test 2021-09-03 00:08:12 -04:00
Frank Tao
8651990cac Fixed class cast issue 2021-09-02 23:04:30 -04:00
Frank Tao
56890dba93 Reformatted the code 2021-09-02 22:26:55 -04:00
Frank Tao
be96adb694 Merge branch 'poc-chained-not-bug' into ft-search-with-not-modifier
# Conflicts:
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/builder/QueryStack.java
#	hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/provider/r4/ResourceProviderSearchModifierR4Test.java
2021-09-02 22:07:22 -04:00
Frank Tao
b81a61e465 Fixed :not modifier issue for the resource 2021-09-02 21:52:37 -04:00
VK-SMILECDR
39f18e1897
Merge branch 'master' into 2948 2021-09-02 17:24:15 -04:00
Vadim Karantayer
c28f5e75b3 update TestUtil to recursively scan down into subpackages 2021-09-02 15:35:40 -04:00
Tadgh
26ff15f939
Revert "Fix search of :not modifier" 2021-09-02 14:33:30 -04:00
Tadgh
6c700f9432 Add POC for failure 2021-09-02 13:33:27 -04:00
Tadgh
b1d192637d
Merge pull request #2928 from hapifhir/ft-search-with-not-modifier
Fix search of :not modifier
2021-09-02 08:41:16 -04:00
Ben Li-Sauerwine
6e389d6f59 Merge branch 'memorycacheservicefix' of https://github.com/theGOTOguy/hapi-fhir into memorycacheservicefix 2021-09-01 15:05:32 -04:00
Ben Li-Sauerwine
0724e652bb Refactor to prevent adding additional signatures to expungeEverythingByType. 2021-09-01 15:04:31 -04:00
Ben Li-Sauerwine
3789bc0f75
Merge branch 'master' into memorycacheservicefix 2021-09-01 13:55:03 -04:00
katie_smilecdr
453ef7ec1c Merge branch 'master' into 2935_Search_with_trailing_percent_sign 2021-09-01 11:33:26 -04:00
Ben Li-Sauerwine
7001272e4b Clear out the memory cache whenever we call the ExpungeEverythingService. 2021-09-01 01:26:47 -04:00
Ben Li-Sauerwine
444bc5f330
Merge branch 'master' into memorycacheservicefix 2021-08-31 20:26:31 -04:00
Ben Li-Sauerwine
51fe5ec5e7 Remove extra update from test. 2021-08-31 20:16:22 -04:00
Frank Tao
44b0d3e9e7
Fixed $lookup with displayLanguage caching issue (#2932)
* Fixed $lookup with displayLanguage caching issue

* Added changelog and optimized the test cases
2021-08-31 22:18:40 +00:00
katie_smilecdr
a1fbeeacaa [2935] Escape "%" in like expression 2021-08-31 15:11:06 -04:00
Tadgh
d75af14d29 Merge branch 'master' into double-conditionalCreateIssue 2021-08-31 14:25:51 -04:00
Tadgh
765b18013c
Merge branch 'master' into fix-intermittent-in-tests 2021-08-31 14:22:22 -04:00
Tadgh
825ac1e81c Chnge privacy 2021-08-31 12:58:00 -04:00
Tadgh
b1515b5963 Lazy load executor so that tests work safely. 2021-08-31 12:57:45 -04:00
Tadgh
c9f5dfd6d3 Swap to SyncTaskExecutor 2021-08-31 11:33:06 -04:00
Tadgh
2f6d8c7b35 Revert logging 2021-08-31 10:56:31 -04:00
Tadgh
0f6ae50105 Fix bug in hashToSearchMap 2021-08-31 10:47:23 -04:00
Tadgh
7534ab58f3 Add failing test 2021-08-31 09:58:38 -04:00
Ben Li-Sauerwine
f04ff3fd0a Adds failing test for expunging and recreating a Patient with a profile in its meta field. 2021-08-31 02:04:27 -04:00
Frank Tao
3f128be34d Update the code 2021-08-28 13:29:00 -04:00
Frank Tao
88d535c608 Update the comment 2021-08-28 13:27:40 -04:00
Frank Tao
9bdef1a9fa Fix search of :not modifier 2021-08-28 13:24:09 -04:00
Tadgh
513bc387e9 Remove essentially duplicate bean definition 2021-08-27 13:20:29 -04:00
Tadgh
faf4dfd056 fix other test class 2021-08-27 12:04:56 -04:00