Commit Graph

8349 Commits

Author SHA1 Message Date
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
Tadgh 28cc51393b
Merge pull request #2953 from hapifhir/2952
update TestUtil to test Embeddable classes, not just Entity classes
2021-09-03 11:49:37 -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 4d1de25a36
Merge pull request #2950 from hapifhir/ft-search-with-not-modifier
Fixed :not modifier issue for the resourceLink
2021-09-03 01:17:11 -04:00
Tadgh 2ed7019a6c Add another test 2021-09-03 00:08:12 -04:00
Tadgh e3e7edd320 Merge branch 'ft-search-with-not-modifier' of github.com:hapifhir/hapi-fhir into ft-search-with-not-modifier 2021-09-02 23:07:14 -04:00
Tadgh dc69bfc729 Add changelog 2021-09-02 23:07:07 -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
Tadgh a2861c695e
Merge pull request #2949 from hapifhir/2948
update TestUtil to recursively scan down into subpackages
2021-09-02 18:34:23 -04:00
VK-SMILECDR 39f18e1897
Merge branch 'master' into 2948 2021-09-02 17:24:15 -04:00
Tadgh 72db544bc3
Merge pull request #2946 from hapifhir/revert-2928-ft-search-with-not-modifier
Revert "Fix search of :not modifier"
2021-09-02 15:46:44 -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 aca354bd8d
Merge pull request #2941 from sidharthramesh/patch-2
Corrected typo in docs - Plain Providers
2021-09-02 09:48:55 -04:00
Tadgh feb34e9bf5
Merge branch 'master' into patch-2 2021-09-02 08:42:41 -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
Sidharth Ramesh f5de2da6ba
Corrected typo in docs - Plain Providers
It was "plan providers" before
2021-09-02 14:52:38 +05:30
Tadgh 1868dc2c19
Merge pull request #2940 from hapifhir/rel_5_5_1
Rel 5 5 1
2021-09-01 19:22:10 -04:00
Tadgh 3e288f1dde Merge branch 'master' into rel_5_5_1 2021-09-01 18:16:27 -04:00
Tadgh b4a6c3ed2a
Merge pull request #2939 from hapifhir/add-attribution-for-gotoguy
Add attribution for 2793
2021-09-01 16:42:30 -04:00
Tadgh ee956929f9
Merge branch 'master' into add-attribution-for-gotoguy 2021-09-01 16:42:19 -04:00
Tadgh 7e80461e77
Merge pull request #2930 from theGOTOguy/memorycacheservicefix
Clear the memory cache whenever ExpungeEverythingService is used.
2021-09-01 16:26:53 -04:00
Tadgh ae2c752c55 Add attribution for 2793 2021-09-01 15:54:28 -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
Tadgh 326590fb12
Merge pull request #2936 from hapifhir/2935_Search_with_trailing_percent_sign
[2935] Escape "%" in like expression
2021-09-01 12:51:24 -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
Tadgh 502b2360af
Merge pull request #2934 from hapifhir/double-conditionalCreateIssue
Double conditional create issue
2021-08-31 15:34:41 -04: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 7de657c026
Merge pull request #2924 from hapifhir/fix-intermittent-in-tests
Force caller to execute Batch GET request if pool size <= 1
2021-08-31 14:22:39 -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 e1272a3825 Bump version of HAPI-FHIR 2021-08-31 11:43:17 -04:00
Tadgh 87986d3da8 Add versionenum 2021-08-31 11:42:26 -04:00
Tadgh 993b2a2f47 Backport changelog 2021-08-31 11:41:17 -04:00
Tadgh dd5c4525f3 Revert logging 2021-08-31 11:39:09 -04:00
Tadgh 7fc6a2f16b Add changelog 2021-08-31 11:39:01 -04:00
Tadgh ad6c6d67c5 Fix bug in hashToSearchMap 2021-08-31 11:38:53 -04:00