Commit Graph

8568 Commits

Author SHA1 Message Date
Tadgh 16752f393c Finalize implementation 2021-09-07 13:33:03 -04:00
Tadgh 3e5c2f8bf1
Merge pull request #2957 from ivido/npe_fix
Fixed NPE in PidToIBaseResourceProcessor
2021-09-07 12:43:36 -04:00
leif stawnyczy 4d7f53851c issue-2901 cleanup of code/imports 2021-09-07 12:08:32 -04:00
leif stawnyczy 69287b6bc3 issue-2901 review fixes - moving methods to idhelperservice 2021-09-07 11:52:11 -04:00
Jari Maijenburg d3d7c6e97e
Merge branch 'master' into npe_fix 2021-09-07 17:36:05 +02:00
Nick Goupinets 35aaa98431 Merge branch 'master' into 2849_add_new_mdm_param 2021-09-07 11:27:49 -04:00
Nick Goupinets 010628fa86 Added asserts 2021-09-07 11:24:37 -04:00
Tadgh ca2a1ff9df Add HsTest replicating boot failure 2021-09-07 10:08:17 -04:00
Jason Roberts 190ca7a2b5 tests for longer chains 2021-09-07 09:40:49 -04:00
Tadgh ad5d56172a Return 2 unused beans 2021-09-07 09:11:48 -04:00
Tadgh 41e8dd93f0
Merge pull request #2960 from hapifhir/ks-20210906-code-cleanup
extract some methods for readability
2021-09-06 15:00:32 -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
Nick Goupinets c63a503841 Updated link processing for MDM events 2021-09-03 16:29:26 -04:00
leif stawnyczy 64270a51e0 issue-2901 review fixes 2021-09-03 15:36:42 -04:00
Jason Roberts 0dad28fb33 tidy up 2021-09-03 15:02:19 -04: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
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
Jason Roberts 8a9e4e4328 force the resource table to be the root of the query if we might be traversing a contained reference 2021-09-03 11:26:46 -04:00
Nick Goupinets 1bd1b36668 Merge branch 'master' into 2849_add_new_mdm_param 2021-09-03 11:04:20 -04:00
Vadim Karantayer b29a61df40 update TestUtil to test Embeddable classes, not just Entity classes 2021-09-03 10:40:54 -04:00
leif stawnyczy 78c71ce761 issue-2901 fix tests 2021-09-03 08:38:19 -04:00
Jason Roberts 5604cabbe8 add tests for qualifiers 2021-09-03 07:45:57 -04:00
Jason Roberts 0edf77d214 clean up a bit 2021-09-03 07:31:49 -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
Nick Goupinets ee65a24260 Merge branch 'master' into 2849_add_new_mdm_param 2021-09-02 17:42:41 -04:00
Nick Goupinets 2a60e91713 WIP Dup Test 2021-09-02 17:41:57 -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
Jason Roberts 9fd2746113 fixed the double chain with contained resource second case 2021-09-02 14:38:30 -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
leif stawnyczy 6f82e3568c issue-2901 remove debug code 2021-09-02 13:20:38 -04:00
leif stawnyczy 49124c298d issue-2901 fixing test 2021-09-02 13:15:24 -04:00
leif stawnyczy ff7433edd7 issue-2901 cleaning up test contexts 2021-09-02 11:43:12 -04:00
leif stawnyczy cbfcc02a92 issue-2901 removing cruft and cleaning up 2021-09-02 11:07:06 -04:00