Commit Graph

2286 Commits

Author SHA1 Message Date
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
James Agnew 817f9ae36e Merge branch 'master' into ja_20190928_rationalize_search_param_extractor 2019-10-27 17:25:20 -04:00
jamesagnew 5a300d2d8e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-10-26 10:32:16 -04:00
James Agnew 403a3d1889
Correct URI loading in testpage-overlay (#1565)
* Clean up tests

* Try to fix intermittent

* Fix URI issue

* Add changelog
2019-10-25 16:14:06 -04:00
jamesagnew cd84af30b1 Merge branch 'master' into ja_20190928_rationalize_search_param_extractor 2019-10-25 05:56:39 -04:00
jamesagnew 935ec9ebc2 License headers 2019-10-25 05:44:51 -04:00
Ken Stevens f19100cbb3 final cleanup 2019-10-24 20:29:45 -04:00
Ken Stevens 4a2ed62357 review feedback 2019-10-24 20:25:16 -04:00
Ken Stevens 08472c1e3f ready to merge 2019-10-24 17:56:15 -04:00
Ken Stevens 4fa849a3e5 pre-review cleanup 2019-10-24 16:43:47 -04:00
Ken Stevens 43f17534bb commiting with FIXMEs so James can review 2019-10-24 16:40:53 -04:00
James Agnew df4376606d
Validation cleanup (#1561)
* Validation cleanup

* Test fix

* Fix build

* Test tweaks
2019-10-24 13:09:18 -05:00
James Agnew 385a885abf Add ability for resource source to be specified by header 2019-10-24 08:32:52 -04:00
James Agnew 0d3f7d4a03 Correctly handle searching by source in JPA server 2019-10-23 06:58:16 -04:00
James Agnew 19247ffb46
Allow updating externalized binary (#1556)
* Add non working test

* Add a test

* FIx test

* Allow updating existing externalized binary data

* Add test

* Remove unneeded test

* Fix test
2019-10-22 18:10:03 -04:00
James Agnew 371bf2e5cf Disable unit test SQL logging 2019-10-22 17:27:36 -04:00
James Agnew 9b94e4e26d
Allow uploading term deltas using CS resource (#1555)
* Work on accepting codesystem reources for delta operations

* Ongoing work on term uploader

* Restore the ability to use CodeSystem resources for the delta

* Add tests

* Fix NPE

* Test fixes
2019-10-22 17:11:39 -04:00
James Agnew 464c6c5b45
Upgrade dependencies and addess Semmle issues (#1554)
* Version bumps

* FIx build issues

* Address a few Semmle issues

* Work on tests

* Some test fixes

* Test fix

* Fix deletions

* Test fix

* Fix intermittent test failure

* One more dependency bump

* Add some test logging

* Remove bad import

* Add some tests

* Test updates
2019-10-22 17:10:58 -04:00
Ken Stevens d0704269d7 ready for rereview 2019-10-22 10:13:49 -04:00
Ken Stevens 427f7397da ready for rereview 2019-10-22 10:13:49 -04:00
Ken Stevens 0f40b2c48f npe check for binary storage interceptor 2019-10-22 10:13:49 -04:00
James Agnew 73961072a6
Handle invalid chains on custom search params (#1553)
* Handle invalid chains on custom search params

* Add some more tests

* One more test fix
2019-10-21 21:21:33 -04:00
James Agnew 0af79b84d9
Use webjars instead of including JS deps (#1551)
* Use webjars instead of including JS deps

* Add changelog
2019-10-21 07:22:55 -04:00
James Agnew bfbc73caaf
Auto externalize binary contents (#1550)
* Auto externaliZe binary attachments

* Work on externalization

* Auto externalize binary content

* Work on tests

* Fix alert
2019-10-19 09:01:00 -04:00
James Agnew 985cd49892 Test fixes 2019-10-18 16:36:05 -04:00
James Agnew 0cddb54476 Remove accidental commit 2019-10-18 15:52:03 -04:00
James Agnew c455a46160 Add missing class 2019-10-18 15:51:20 -04:00
James Agnew a71d969ba1 Add line numbers to validation failures 2019-10-18 14:10:47 -04:00
James Agnew 50af4bfb19 Merge latest changes 2019-10-18 13:36:26 -04:00
James Agnew 13b80a294a Test fix 2019-10-18 07:13:11 -04:00
James Agnew 0971998f57 Fix #848 - Pass raw JSON to the validator 2019-10-17 11:28:48 -04:00
James Agnew 12a74e6cbc
Fix term uploads and validate against valueset recalculation (#1540)
* Start refactoring terminology delta operations

* Work on delta operations

* Work on concept saving

* Split term services into smaller services

* Work on term delta operations

* Work on term svcs

* Work on term operations

* More work on delta uploader

* Add a test

* Wrk on term service

* Fix compile error

* Some refactoring

* Test fix

* Test fix

* Test fixes

* Test fix

* Test fixes

* Test fixes

* Work on delta

* Work on tests#

* Test fixes

* Improve resequencing logic

* Build test

* More testing

* More build testing

* More work on tests

* CHange test logging

* Fix term service PID issue

* Update src/changes/changes.xml

Co-Authored-By: Diederik Muylwyk <diederik.muylwyk@gmail.com>

* Address review comment

* Some cleanup

* Test fix

* Fix some tests

* Work on upload command

* Test fixes

* Work on validation fixes

* Work on validation against pre-expansion

* Work on direct validation

* A bit of cleanup

* Add some javadoc

* Force another build

* Test fixes

* Fix tests

* Fix tests
2019-10-15 21:31:29 -04:00
James Agnew 8b2ab51bc6
Handle canonical questionnaire refs in validator (#1544)
* Handle canonical questionnaire refs in validator

* FIx changelog

* Fix canonical reference

* Build tweak

* Change to trigger a build
2019-10-15 20:27:53 -04:00
James Agnew 839f935401 remove unnecessary index 2019-10-15 19:07:37 -04:00
James Agnew fdcf5f5d73 Add a test 2019-10-15 18:16:22 -04:00
James Agnew bf476b9c32 Handle null returns from search cache methods 2019-10-15 16:25:21 -05:00
James Agnew 9c23959b38 Licene header updates 2019-10-15 15:08:13 -04:00
James Agnew 9a050461a8 Make cache timeout configurable 2019-10-15 09:34:48 -04:00
James Agnew 2725797610
Implement Terminology Delta Operations (#1536)
* Start refactoring terminology delta operations

* Work on delta operations

* Work on concept saving

* Split term services into smaller services

* Work on term delta operations

* Work on term svcs

* Work on term operations

* More work on delta uploader

* Add a test

* Wrk on term service

* Fix compile error

* Some refactoring

* Test fix

* Test fix

* Test fixes

* Test fix

* Test fixes

* Test fixes

* Work on delta

* Work on tests#

* Test fixes

* Improve resequencing logic

* Build test

* More testing

* More build testing

* More work on tests

* CHange test logging

* Fix term service PID issue

* Update src/changes/changes.xml

Co-Authored-By: Diederik Muylwyk <diederik.muylwyk@gmail.com>

* Address review comment

* Some cleanup

* Test fix

* Fix some tests

* Test fixes
2019-10-14 19:14:41 -04:00
James Agnew e656863a73
Correct bugs reported by LGTM (#1533)
* Correct bugs reported by LGTM

* Add some tests

* A few more updates

* YAML update

* Test fixes

* One more test fix

* Test fix
2019-10-09 19:26:57 -05:00
James Agnew 861ed36f00
Allow patches to be authorized for DSTU3 transactions (#1529)
* Allow patches to be authorized for DSTU3 transactions

* Add changelog
2019-10-08 14:29:27 -05:00
jamesagnew 150c865f68 License header updates 2019-10-03 21:20:08 -04:00
James Agnew 069db501ee
Fix _has parameter (#1525)
* Fix _has parameter

* Bug fixes

* Add a comment

* Test fixes
2019-10-03 21:19:31 -04:00
James Agnew 836fac9a30 Ensure that JPA PRESHOW interceptor broadcasts don't include expunged
resources
2019-10-03 15:49:03 -04:00
Ken Stevens 38ad11be64
Merge pull request #1513 from jamesagnew/ks-subscription-delivery-queue-configurable-name
subscription delivery queue configurable name
2019-10-03 15:19:12 -04:00
James Agnew 1b5528a998 Fix compile error 2019-10-03 15:06:14 -04:00
James Agnew a3b9db1363 Clean up a few unused methods and move test classes into test project 2019-10-03 14:58:02 -04:00