Commit Graph

2046 Commits

Author SHA1 Message Date
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
jamesagnew 8b227a59fc Add some tests 2019-10-28 06:02:19 -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 d18550b96f Merge branch 'master' into ja_20190928_rationalize_search_param_extractor 2019-10-27 18:00:31 -04:00
James Agnew a82da8de1c Override enum factory interfaces 2019-10-27 17:51:57 -04:00
James Agnew 817f9ae36e Merge branch 'master' into ja_20190928_rationalize_search_param_extractor 2019-10-27 17:25:20 -04:00
James Agnew 6580c98ed7 Work on extractor 2019-10-26 16:56:12 -04:00
James Agnew 2b3c775b77 Some cleanup and fix a test 2019-10-26 12:45:57 -04:00
jamesagnew 5a300d2d8e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-10-26 10:32:16 -04:00
James Agnew 9cc945b5bd Merge branch 'osgi-server-work' of https://github.com/bdenton/hapi-fhir into bdenton-osgi-server-work 2019-10-25 17:05:09 -04:00
jamesagnew fd73a593ea Work on merge 2019-10-25 08:50:34 -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 5379ab8c2c implement in-memory match 2019-10-24 17:53:02 -04:00
Ken Stevens b7aa327118 pre-review cleanup 2019-10-24 16:47:43 -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 74c03b5bb7 Add a test 2019-10-24 08:32:52 -04:00
James Agnew 91ec0a6922 Test fix 2019-10-24 08:32:52 -04:00
James Agnew 385a885abf Add ability for resource source to be specified by header 2019-10-24 08:32:52 -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
jelmer.terwal c337fdde14 Override breakes stuff here for Kotlin 2019-10-22 13:58:52 -04:00
jelmer.terwal 5002a087bb Some work on jamesagnew/hapi-fhir/#1297 2019-10-22 13:58:52 -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 b51a93a2b5 Intermittent test fix 2019-10-18 15:46:02 -04:00
James Agnew a71d969ba1 Add line numbers to validation failures 2019-10-18 14:10:47 -04:00
James Agnew 9fff043892 Fix #1481 - Remove Jetty reference 2019-10-17 11:41:57 -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 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 ff4fba15c9 Add a test 2019-10-15 07:34:44 -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
bdenton f81aaa7f00 refactor "split" packages; create osgi bundle for server framework 2019-10-12 14:08:41 -07: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
James Agnew 1f1b94a566
Resolve XXE issue in validator (#1530)
* Resolve XXE issue in validator

* Ensure that we're blocking XXE events into validator XML parser

* A bit of cleanup

* Add an LGTM config

* Add one more fix
2019-10-08 13:06:03 -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
Ken Stevens 53f47fbb1e Merge remote-tracking branch 'remotes/origin/master' into ks-narrow-search-pointcut 2019-10-03 12:20:20 -04:00
Ken Stevens d1deedf247 pre-review cleanup 2019-10-03 12:14:11 -04:00
Ken Stevens 566443d0fe move BundleUtil back 2019-10-03 12:05:26 -04:00
Ken Stevens 98c76a4d49 Test passes 2019-10-03 12:03:38 -04:00
Ken Stevens 29e7cdc476 Added ability to modify URLs in BundleUtil 2019-10-03 09:46:32 -04:00
James Agnew db668d96b9 Add a few tests and remove some dead code 2019-10-03 09:00:14 -04:00
James Agnew 2193a30b45
CodeSystem Delta Uploader (#1520)
* Terminology Delta Uploading

* Add delta operations

* Fix up tests

* Improve test coverage a bit

* Improve test coverage reporting

* fix yaml

* A couple of test enhancements

* FIx intermittent test failure
2019-10-03 07:19:00 -04:00
James Agnew a1bf50685d Work on cleanup 2019-09-30 21:40:41 -04:00
James Agnew eaaf2768c3 Fix #402 - Don't overwrite narrative sections 2019-09-30 20:14:36 -04:00
James Agnew 066c9a7fb7 Improvements to AutohrizationInterceptor create handling 2019-09-30 15:07:23 -04:00
James Agnew c8ce07c40e Deprecate redundant IVersionSpecificBundleProvider method 2019-09-30 09:45:31 -04:00
James Agnew 557a8ccc66
Add top level support for ElasticSearch (#1514)
* ElasticSearch work

* Add ElasticSearch properties builder

* Clean up POM

* Remove redundant project

* Try to troubleshoot embedded elasticsearch

* Another test attempt

* Add credentials to elasticsearch config

* Work on lastn

* Address review comments

* A couple of test fixes
2019-09-30 09:30:39 -04:00
James Agnew 3870c14a6c Remove unused contructors 2019-09-26 16:42:39 -04:00
James Agnew cc0df9850c Make sure the validator can get at codes defined in notpresent
codesystems
2019-09-26 14:44:09 -04:00
James Agnew 8657afb01e
Fix intermittent test failures regarding search (#1509)
* Add some logging

* Add more test logging

* Work on some test logging

* Fix compile error

* Work on codecov

* Work on codecov

* Remove test debug messages
2019-09-25 20:15:21 -04:00
jamesagnew 473fa3456e Work on adding codecov 2019-09-25 14:12:42 -04:00
James Agnew dfe07e7a2b Avoid concurrency issue introduced by #1489 2019-09-25 13:45:02 -04:00
James Agnew 7b363c2c5c Some test fixes 2019-09-24 15:28:14 -04:00
James Agnew 9b2826f3c6
Handle searches with chained slash value (#1503)
* Work on test case for bug with searches

* Work on tests

* Fix issue with slashes in reference chain parameter for JPA server
2019-09-24 14:31:05 -04:00
jamesagnew 936587df6e Work on migrating docs 2019-09-22 15:52:49 -04:00
James Agnew 0a5eca0821 Work on docs 2019-09-22 13:25:50 -04:00
James Agnew a989a746b0 Fix #1494 - Upgrade to new :recurse syntax for R4 include/revinclude
statements
2019-09-20 09:38:29 -04:00
David Maplesden c2c07c95fc We can't short circuit traversal after all. 2019-09-19 20:38:30 -04:00
David Maplesden c8c8ab6881 Add modifier extensions to tha actual modifier extensions collection 2019-09-19 20:38:30 -04:00
David Maplesden 946f3a1732 Cut short traversal when finding top-level base references 2019-09-19 20:38:30 -04:00
David Maplesden 4021fccf3b We only need to extract the existing contained resources once 2019-09-19 20:38:30 -04:00
David Maplesden 1f253856cf Optimise for encoding String primitive data types
We typically have many more string primitives than anything else
2019-09-19 20:38:30 -04:00
David Maplesden 8b84b8ffea Cache the composite children that need encoding to improve performance 2019-09-19 20:38:30 -04:00
David Maplesden 5120fe795e Dramatically improve the performance of containResourcesForEncoding
We do this by avoiding the double processing of contained resources when
looking for resources to contain
2019-09-19 20:38:30 -04:00
jamesagnew 6475146bc9 Add license headers 2019-09-19 18:08:21 -04:00
James Agnew eddb98084d Move PreferReturnEnum back to original location to avoid regressions 2019-09-19 15:48:58 -04:00
James Agnew 2be63a1650 Test fixes 2019-09-19 09:45:07 -04:00
James Agnew 30dfde645b Upgrade to Fontawesdome 5 and prevent uploading resources with binary
storage extensions
2019-09-19 05:28:05 -04:00
James Agnew 6b21e8cd90 Add some testing to the bulk export service 2019-09-18 14:43:00 -04:00
James Agnew 4a751cbfc5
Integrate Bulk Export (#1487)
* Start working on subscription processor

* Work on new scheduler

* Test fixes

* Scheduler refactoring

* Fix test failure

* One more test fix

* Updates to scheduler

* More scheduler work

* Tests now all passing

* Ongoing work on export

* Ongoing scheduler work

* Ongoing testing

* Work on export task

* Sync master

* Ongoing work

* Bump xml patch version

* Work on provider

* Work on bulk

* Work on export scheduler

* More test fies

* More test fixes

* Compile fix

* Reduce logging

* Improve logging

* Reuse bulk export jobs

* Export provider

* Improve logging in bulk export

* Work on bulk export service

* One more bugfix

* Ongoing work on Bulk Data

* Add changelog
2019-09-17 16:01:35 -04:00
James Agnew 08835c1615 FIx a failure in FhirTerser when visiting custom types 2019-09-13 09:11:47 -04:00
Ken Stevens abef4455eb done 2019-09-09 17:22:07 -04:00
Ken Stevens 7cfbf710fe Merge remote-tracking branch 'remotes/origin/master' into ks-in-memory-date-compare
# Conflicts:
#	src/changes/changes.xml
2019-09-09 14:46:25 -04:00
Ken Stevens 9e83f1d40a changelog 2019-09-09 14:22:42 -04:00
James Agnew 722c7a8211 Work on GraphQL updates 2019-09-06 14:56:17 -04:00
jamesagnew 1ef70a0fca Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-09-03 07:02:09 -04:00
jamesagnew 8b09b3f3eb Rename config enum for consistency 2019-09-03 07:01:36 -04:00
Diederik Muylwyk 9f7cf3923b
Merge pull request #1458 from jamesagnew/1457-valueset-pre-expansion-need-to-account-for-existing-valuesets-and-user-assigned-ids
Resolve "ValueSet pre-expansion - need to account for existing ValueSets and user-assigned IDs."
2019-08-30 10:48:39 -04:00
Diederik Muylwyk 8ef9c61b83 Address review comments; improve logging. 2019-08-30 10:47:21 -04:00
Diederik Muylwyk e03d6a5d47 Fixed handling of pre-expansion in light of pre-existing, non-pre-expanded ValueSets. 2019-08-29 18:09:30 -04:00
James Agnew c5a88444b6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-08-29 14:00:37 -04:00
James Agnew 956bb39327 Resolve an inefficient regex expression 2019-08-29 13:59:31 -04:00
Diederik Muylwyk b41926307c Completed work on large ValueSet expansion support; ready for review. 2019-08-23 17:40:45 -04:00
Diederik Muylwyk 890555a77d Incremental work on large ValueSet expansion support; transaction boundaries need to be broken up. 2019-08-23 11:46:32 -04:00
Diederik Muylwyk 97a235ddfc Merging master into working branch.
# Conflicts:
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/DaoConfig.java
2019-08-22 14:02:56 -04:00
James Agnew 9428430822
Add support for Resource.meta.source (#1438)
* Work on indexing source

* Work on tests

* Refactor query count tests

* Unit test fixes

* Add some tests

* DAO fix

* Fix compile error

* Unit test fix

* Cleanup

* Test fix

* Fix compile error

* One more test fix
2019-08-21 11:17:43 -04:00
James Agnew ce44115152
Handle cascading deletes correctly with circular references (#1435)
* Handle cascading deletes correctly with circular references

* A bit of cleanup

* Address review comments

* FIx some javadocs

* Fix an incorrect message
2019-08-20 10:08:34 -04:00
Diederik Muylwyk 8590e0ca4d Merging master into working branch.
# Conflicts:
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/DaoConfig.java
2019-08-19 02:28:30 -04:00
Diederik Muylwyk dfd098c374 Incremental work on large ValueSet expansion support; added use of terminology tables when expanding. 2019-08-19 02:26:12 -04:00
James Agnew 57c6064d89 Another test fix 2019-08-17 12:21:08 -04:00
James Agnew 74c83f6148 Test fixes 2019-08-17 12:01:04 -04:00
James Agnew 1e07fcd2b3
Fix an unintended regression in #1357 (#1429)
* Start working on a tweak to #1357 - Not yet complete

* Tweaks to avoid an unintended regression from #1357
2019-08-15 08:35:50 -04:00
Ken Stevens f29c37a654 added IBaseReference constructor to TokenParam 2019-08-14 15:33:50 -04:00