Commit Graph

2432 Commits

Author SHA1 Message Date
Ken Stevens 672902486a optimize imports 2020-01-24 13:07:19 -05:00
Ken Stevens 4ba91e0797 remove getDao() from Dao 2020-01-24 13:01:58 -05:00
Ken Stevens 9b0f850cf4 remove newSearchBuilder from dao 2020-01-24 13:01:35 -05:00
Ken Stevens 16cb9a74e4 Remove newSearchBuilder() from BaseHapiFhirDao 2020-01-24 12:19:08 -05:00
Ken Stevens b465a7b781 final cleanup 2020-01-23 19:20:51 -05:00
Ken Stevens 01bc941f5f Optimize imports 2020-01-23 19:15:30 -05:00
Ken Stevens e031ad203e FIXME 2020-01-23 19:12:05 -05:00
Ken Stevens 99949629a8 FIXME 2020-01-23 18:49:09 -05:00
Ken Stevens 3e28047f78 fix tests 2020-01-23 18:27:35 -05:00
Ken Stevens a687d7c9c1 testSearchResourceLinkWithChain is failing 2020-01-23 17:38:59 -05:00
Ken Stevens 6ca97df1c9 fix npe 2020-01-23 16:20:53 -05:00
Ken Stevens 8114419110 fix npe 2020-01-23 16:06:15 -05:00
Ken Stevens 48a71d6649 fix npe 2020-01-23 15:58:13 -05:00
Ken Stevens d2ef5555fe app context loads 2020-01-23 15:48:25 -05:00
Ken Stevens ab74e66870 compiles. now to run the tests... 2020-01-23 15:43:41 -05:00
Ken Stevens 49743352a6 remove unused enum 2020-01-23 14:28:10 -05:00
Ken Stevens c9fe68c5ab inlined single use methods 2020-01-23 14:21:07 -05:00
Ken Stevens e99402bd38 Almost done refactor. Just need to separate state from service. 2020-01-23 14:06:09 -05:00
Ken Stevens 4c53333539 started to refactor predicates out of SearchBuilder 2020-01-23 12:00:12 -05:00
Ken Stevens e6f5af01ed convert degrees to kilometers for near calculation 2020-01-22 16:55:19 -05:00
Ken Stevens 8b8088a3a2 begin with failing test 2020-01-22 15:06:39 -05:00
Ken Stevens b07b87954d r4 works. But distance calculation still needs to be fixed. 2020-01-22 12:00:09 -05:00
Ken Stevens 9413e8f198 r4 works. But distance calculation still needs to be fixed. 2020-01-22 11:59:03 -05:00
Ken Stevens 5da2823553 add negative test 2020-01-22 09:25:43 -05:00
Ken Stevens 6cebb56f13 testing complete. Now just need pre-review cleanup. 2020-01-21 17:06:19 -05:00
Ken Stevens 12dfac927e moar tests 2020-01-21 16:53:20 -05:00
Ken Stevens 04b60a4a16 no distance and zero distance tested 2020-01-21 16:18:42 -05:00
Ken Stevens 992b62151b yay box search works! 2020-01-21 16:04:34 -05:00
Ken Stevens 3cb9a9f4a2 added asserts 2020-01-21 15:45:41 -05:00
Ken Stevens b463929c28 parse nearDistance into a special search parameter field so it's available when we're adding the near parameter 2020-01-21 15:38:25 -05:00
Ken Stevens a961a7c022 begin with failing test 2020-01-21 14:39:00 -05:00
Ken Stevens eca21bec3e exact coord matching works now 2020-01-21 14:30:51 -05:00
Ken Stevens 299e1e35e1 removed coordextractor and moved to token (looks cleaner and more in line with how the other ones are parsed) 2020-01-21 11:06:40 -05:00
Ken Stevens dd137a0a30 Coord extraction implemented 2020-01-21 10:17:49 -05:00
James Agnew c0e929dacb
Copy identifiers to placeholder resources (#1675)
* Copy identifiers to placeholder resources

* Add tests

* Maven cleanup

* Still messing around with azure

* Adding to logging

* More azure work

* One more attempt

* More messing around with azure

* Test fix

* Another caching attempt

* More work on azure pipeline

* Fix pipeline file

* Keep working on pipeline

* More work on azure

* More azure

* More azure work

* More azure
2020-01-21 06:09:06 +09:00
James Agnew 63c310c168 Make a constant public 2020-01-17 13:16:23 +08:00
James Agnew aad5a30a3d
Support count=0 (#1670)
* Support count=0

* Fix LGTM issue
2020-01-15 14:52:32 +08:00
James Agnew 201ec34db4
Fix expunge issue when no tags present (#1671)
* Fix expunge issue when no tags present

* Add changelog

* Try to clean up POMs that are failing CI

* Rework dependencies

* Roll back change that did not work
2020-01-15 14:47:22 +08:00
James Agnew 1390ea3c06
Update FHIR R5 structures to 4.2.0 version (#1665)
* Work on upgrading core

* Work on R5 updates

* Work on core updates

* Test fix

* Update model version properties file for R5

* Bump core version

* Test fixes

* Add 4.2.0-SNAPSHOT version to versions page in docs
2020-01-14 10:27:01 +08:00
James Agnew a19d246432 License header version bump, and add the ability for "add column"
migration tasks to fail gracefully
2020-01-12 11:01:21 +08:00
James Agnew b30de00ea1 Add parser stress test 2020-01-08 09:12:17 -05:00
jamesagnew 1720144cfb Test fix 2020-01-08 05:39:44 -05:00
James Agnew 49ed374d2f Remove test code that accudentally got committed 2020-01-06 14:26:30 -05:00
James Agnew 23ca94d3c5 Add example interceptor 2020-01-06 14:26:03 -05:00
James Agnew e42acef66b Test fix 2020-01-03 14:23:19 -05:00
James Agnew ca3b4297e1 FIx #1649 - Account for LOINC file format changes in 2.67 2020-01-03 14:19:22 -05:00
James Agnew 5cfc75eac2 Test fixes 2019-12-25 13:05:33 -05:00
James Agnew 536f46c89e Test fix 2019-12-21 12:24:15 -05:00
James Agnew a3ac893635
Merge branch 'master' into master 2019-12-21 11:32:45 -05:00
James Agnew 5187ddf7a2 One more fix 2019-12-19 15:21:12 -05:00
Ken Stevens ec4d7d1e99 Log a message if subscriptions are disabled on the server. 2019-12-18 15:18:16 -05:00
James Agnew f9b8567a3a Fix compile error 2019-12-17 19:28:07 -05:00
James Agnew d9be281fff Fix intermittent 2019-12-17 17:00:01 -05:00
jamesagnew 6fc0bdb88f Add licene headers 2019-12-16 11:14:17 -05:00
Ken Stevens 68a7613f9e Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler
# Conflicts:
#	hapi-fhir-cli/hapi-fhir-cli-api/src/main/java/ca/uhn/fhir/cli/BaseFlywayMigrateDatabaseCommand.java
2019-12-16 08:58:26 -05:00
jamesagnew f2221bcc69 Restore errorprone to the build 2019-12-15 19:11:27 -05:00
jamesagnew 5f4355017d More test logging 2019-12-15 07:45:29 -05:00
James Agnew 10deea4967
Merge pull request #1610 from jasmdk/MissingMandatoryStatusOnSnomed
Missing mandatory status on created Snomed CodeSystem
2019-12-11 19:27:47 -05:00
Ken Stevens 9e4f57836f Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler 2019-12-05 21:45:31 -05:00
jamesagnew cafb6424f1 Test fix 2019-12-05 21:33:06 -05:00
Ken Stevens 6c432733d5 Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler 2019-12-05 18:03:02 -05:00
James Agnew 67b53e5326 Prevent ConcurrentModificationException during cascading delete 2019-12-05 18:00:40 -05:00
Ken Stevens a939dab894 fake change to trigger CI 2019-12-05 11:53:41 -05:00
Ken Stevens 334daddf33 fake change to trigger CI 2019-12-05 10:32:53 -05:00
Ken Stevens 676a443cf2 NPEs 2019-12-04 21:20:09 -05:00
Ken Stevens c516ab8a75 fake change 2019-12-04 18:02:10 -05:00
Ken Stevens 2f89f10c64 allow users to set default group 2019-12-04 17:23:51 -05:00
Ken Stevens b171ff97ea improve logging 2019-12-03 22:02:00 -05:00
Ken Stevens 09d2599ce5 fix test 2019-12-03 16:01:52 -05:00
Ken Stevens 5588da5ff8 Merge remote-tracking branch 'origin/master' into ks-20191119-scheduler 2019-12-03 08:51:50 -05:00
Ken Stevens 993d8220d1 review feedback 2019-12-02 11:18:52 -05:00
James Agnew f58fba6f04
Some test cleanup (#1616)
* Some test cleanup

* Add test

* More test logging

* More docs cleanup

* Add test logging
2019-12-02 11:00:18 -05:00
Ken Stevens 63218e560d Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler 2019-12-02 08:59:17 -05:00
James Agnew 86bd9a28fe
Fix to valueset expansion logic (#1613)
* Fox to valueset expansion logic

* Work on docs

* Docs tweaks

* Docs tweaks

* Fix test

* Remove unused class

* Add changelog
2019-12-01 21:21:19 -05:00
Ken Stevens 959dba7611 pre review cleanup 2019-12-01 16:51:01 -05:00
Ken Stevens 0c728a27df remove unused mystery class 2019-11-29 16:07:38 -05:00
Ken Stevens f92c2bb5f9 ensure only one @PostConstruct method to make order explicit 2019-11-29 11:46:03 -05:00
Ken Stevens 37eef4e3e4 rename schedule interface methods 2019-11-29 11:04:35 -05:00
Ken Stevens 321790f6bf standardized job names and how they're scheduled 2019-11-29 10:12:13 -05:00
Ken Stevens a0e363171d replace FireAtInterval class with an interface for now 2019-11-29 09:21:20 -05:00
Ken Stevens 319eead414 Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler 2019-11-27 14:20:15 -05:00
ahn 29b08e7308 Missing mandatory status on created Snomed CodeSystem 2019-11-27 12:21:02 +01:00
James Agnew f4fc19502b Fix intermittent failure 2019-11-26 22:24:50 -03:00
Ken Stevens a89bb6c411 simplified api 2019-11-25 20:59:40 -05:00
Ken Stevens 4c7c574eef first pass scheduler working 2019-11-25 20:12:45 -05:00
Ken Stevens 8c4ffc024d Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler 2019-11-25 16:40:40 -05:00
James Agnew ca620d652f
Add tests (#1606)
* Support chained HAS

* Add some tests

* Add some cleanup

* Work on intermittent tests
2019-11-24 10:11:49 +01:00
James Agnew 27749f4e23
Support chained HAS (#1605) 2019-11-24 06:29:56 +01:00
James Agnew 51b608188b
Some CI surefire improvements (#1602)
* Some CI surefire improvements

* Build tweak

* More tweak

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* One more CI attempt

* Update azure-pipelines.yml for Azure Pipelines

* Tweak command line

* Another build test fixc

* More build cleanup
2019-11-23 19:51:02 +01:00
James Agnew a2f77b23d2
Fix #1583 - Index local refs in canonical types (#1593)
* Fix #1583 - Index local refs in canonical types

* Add fix to pre-expansion

* Test fix

* Rework ID handling

* Test fixes

* Fix test
2019-11-23 16:32:37 +01:00
Ken Stevens b36670377f fix circular reference merge to master 2019-11-22 11:02:05 -05:00
Ken Stevens a71eb039e3 merge two beans into one 2019-11-21 21:19:56 -05:00
Ken Stevens 6f9cd56c81 moved scheduler up to hapi-server 2019-11-20 14:30:24 -05:00
Ken Stevens b73cdbcaf5 add factory 2019-11-19 17:23:06 -05:00
Ken Stevens f3535a2bef split scheduler from service 2019-11-19 13:32:20 -05:00
Ken Stevens 8fca468e1f remove boolean from scheduling API 2019-11-19 10:13:22 -05:00
James Agnew 3173af31ae Try to avoid intermittent test failure 2019-11-17 15:28:50 -05:00
James Agnew 74159dcb26
Work on refactoring how PIDs work (#1580)
* Start work on refactoring how PIDs work

* Some test fixes

* Test fixes

* Test fixes

* Restore accidentally deleted line

* One more tweak

* Rework resource link extraction

* Test fix

* Split out transaction processor

* Updates

* Test fix

* Test fixes

* Test fixes

* Clean up LGTM warning

* Fix compile failure

* One more test fix

* Fix LGTM issue

* Add spot for metadata

* Add test logging

* Remove testing code

* More test logging

* Add some test logging

* Attempty to fix intermittent test failure

* Improve exception tracking

* Work on simplifying search param registry

* Fix compile

* Fix compile errors

* Fix two test bugs
2019-11-17 14:35:19 -05:00
James Agnew fba134853c Remove unused code 2019-11-15 16:44:17 -05:00
Anthony Sute a3ee2c1923 Unit tests for _filter-based URI matching 2019-11-14 19:04:23 -05:00
Anthony Sute d2c0b21773 (1) Changes to equal and not-equal operator logic for numerics to use exact values per discussions with Grahame and James
(2) Additional unit tests
(3) Changes to tests affected by (1) above
2019-11-14 15:05:23 -05:00
Ken Stevens 995bda0623 update comment 2019-11-14 14:55:02 -05:00
Ken Stevens ad39b319f8 fix test 2019-11-14 14:55:02 -05:00
Ken Stevens 1fff132f8e fix test 2019-11-14 14:55:02 -05:00
Ken Stevens ad8930fdba handle paging case 2019-11-14 14:55:02 -05:00
Ken Stevens f11d939131 oops 2019-11-14 14:55:02 -05:00
Ken Stevens 25c094e38a skip trying to populate resources in search result bundle if no resources were found 2019-11-14 14:55:02 -05:00
James Agnew 497a96ae68 Version bump for next round of development 2019-11-12 22:09:21 -05:00
Anthony Sute 2c22b9d7ef Added _filter unit tests for date type values. 2019-11-12 17:58:29 -05:00
jamesagnew f99ad981b5 Version bump to 4.1.0 2019-11-12 16:08:20 -05:00
Anthony Sute bed0cc4d61 New unit tests to support _filter gt, lt, ge, and le operators for string types. 2019-11-12 15:06:17 -05:00
James Agnew aa0301084b
Don't succeed validation on unknown codesystem (#1575)
* Don't succeed validation on unknown codesystem

* Test fixes

* Work on error messages

* Work on code validation API

* work on tests

* Work on validation

* Test fix

* Update DSTU3 validation reources

* Upgrade structures

* Test fixes
2019-11-12 14:35:49 -05:00
Anthony Sute 49ed6b48dc Merged James' most recent changes. 2019-11-12 13:57:02 -05:00
Anthony Sute 09daf7aacc Implemented changes/fixes and associated unit tests for following _filter operators for strings:
- eq
- ne
- co
- sw
- ew
2019-11-11 21:58:49 -05:00
James Agnew 1a348abaf5 Try to fix 2 intermittent test failures 2019-11-08 08:45:08 -05:00
jamesagnew 3b1d8d1bc0 Add test logging sort 2019-11-08 07:27:25 -05:00
jamesagnew 7c8342dcc1 Add some test logging 2019-11-08 05:53:59 -05:00
James Agnew c027ff27c3 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-11-07 21:52:31 -05:00
James Agnew d4aea82460 Add some test logging 2019-11-07 21:50:06 -05:00
James Agnew 056756dbab
Fix paging issue #1300 (#1584)
* Fix paging issue

* Add changelog with credit

* Add a test
2019-11-07 18:17:09 -05:00
James Agnew ebc52e6b48 Correctly handle below expansion with missing system 2019-11-07 09:28:24 -05:00
Anthony Sute 92de268f32 Fixes for LGTM warnings 2019-11-06 08:47:53 -05:00
Anthony Sute 3cf8254625 (1) Fixes to address _filter-based _id retrievals not being restricted to the specified resource type
(2) Import fix for FhirServerConfig.java in hapi-fhir-jpaserver-example
2019-11-06 08:47:53 -05:00
jamesagnew 9c93d5d7f7 Test fixes 2019-11-04 07:04:26 -05:00
James Agnew 78a323f105 Test fixes 2019-11-03 21:20:22 -05:00
James Agnew f481e11ad5 Update migration tasks 2019-11-03 18:49:47 -05:00
James Agnew 60628356a8 Version bump spring 2019-11-03 11:29:22 -05:00
jamesagnew 2bf578879a One more bit of extensibility 2019-11-02 19:03:46 -04:00
jamesagnew f7ad82d7a8 Add a test 2019-11-02 18:47:02 -04:00
jamesagnew 5ad57d9ea9 Add some API to subscriptionactivating interceptor to make it more
extendible
2019-11-02 18:14:50 -04:00
jamesagnew 89b25ce828 License updates 2019-11-02 17:34:05 -04:00
James Agnew 3b6709e1d1
Merge pull request #1566 from jamesagnew/ja_20190928_rationalize_search_param_extractor
Rationalize search param extractors across FHIR versions
2019-11-02 16:18:23 -04:00
James Agnew 33a3ea8fca Fix compile error 2019-10-30 16:23:24 -04:00
James Agnew cacd243a44
Correctly Expand ValueSets in non-lucene mode (#1573) 2019-10-30 16:21:44 -04:00
Ken Stevens 1fd3948b12
Merge pull request #1572 from jamesagnew/ks-source-subscriptions
fixed in-memory search by _source for Dstu3
2019-10-30 16:20:14 -04:00
James Agnew e96500d54f Add a test 2019-10-30 15:51:46 -04:00
James Agnew 7f62d60c4e Correctly Expand ValueSets in non-lucene mode 2019-10-30 14:26:31 -04:00
Ken Stevens 21c591eaf2 ready for review 2019-10-30 13:49:10 -04:00
James Agnew d3e66680f0 Add some testing 2019-10-30 09:49:40 -04:00
James Agnew b90f285218 Merge branch 'master' into ja_20190928_rationalize_search_param_extractor 2019-10-30 08:41:14 -04:00
James Agnew 007cfaf00e
Don't error out on missing CS (#1570)
* Don't error out on mi9ssing CS

* Add tests

* Add a bit of test coverage

* One more test
2019-10-30 08:38:39 -04:00
James Agnew 9c852283e9
Correctly handle "special" search params in CS (#1569)
* Correctly handle "special" search params in CS

* Add another test
2019-10-30 05:31:25 -04:00
James Agnew 84803a02ef
Preserve line numbers in XML validation (#1567)
* Preserve line numbers in XML validation

* Test fixes
2019-10-29 15:54:49 -04:00
James Agnew c5f48b6b47 Add tests 2019-10-29 13:24:43 -04:00
James Agnew 3dfb6959c1 Don't reload terminology resources when nothing has changed 2019-10-29 11:35:26 -04:00
James Agnew 2b8426114f Test fixes 2019-10-28 10:58:14 -04:00
James Agnew d321a8276a Fix intermittent 2019-10-28 10:45:39 -04:00
jamesagnew 75ad205bd5 Try to fix intermittent 2019-10-28 07:23:49 -04:00
jamesagnew 51a0006548 Work on rationalizing search param extractor 2019-10-27 20:04:33 -04:00
jamesagnew ac4d108126 Merge branch 'ja_20190928_rationalize_search_param_extractor' of github.com:jamesagnew/hapi-fhir into ja_20190928_rationalize_search_param_extractor 2019-10-27 18:17:29 -04:00