Commit Graph

254 Commits

Author SHA1 Message Date
James Agnew 12b23fbf23 Make JPA searches more efficient by prefetching a much smaller number of
resources
2018-10-01 21:36:10 -04:00
James Agnew 3e445faf47 Squashed commit of the following:
commit df641506885e09e63f80efc6c658d01a1a3a8142
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sat Sep 29 13:47:22 2018 -0400

    Shrink validation resources

commit 4c1550eafa26f4235b4b8804741aecc03276b5c6
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Sep 28 22:45:28 2018 -0400

    Updates to get R4 working

commit 8332f15291006691ed9b07ead3e3524b0fc85510
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Fri Sep 28 09:02:13 2018 -0400

    Ongoing work on gettign R4 working

commit f7146cab7aed937bb625a8aec95744d76db00041
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Sep 28 05:21:01 2018 -0400

    More work on sync

commit f48de4a10b1bab2584fee813017d9b27b237bfa9
Merge: 9e4f3cc722 aacb78b779
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:11:29 2018 -0400

    Merge branch 'sync_r4' of github.com:jamesagnew/hapi-fhir into sync_r4

commit 9e4f3cc722668aae31a77b19bf9b032af3ae01b0
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:11:19 2018 -0400

    Fix compile error

commit 7ec29e0ceda8f9013cbabb95767cbe15b4b81303
Merge: 23f7517325 002c4b3ff7
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:04:23 2018 -0400

    Merge branch 'master' into sync_r4

commit aacb78b7793ab2c71e0a2a774240ee2b5d3f9e7f
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:01:42 2018 -0400

    Keep working on getting R4 building

commit 4950de46d99897e74d41dfdb10d3d8a3435cb0c9
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Tue Sep 25 13:11:27 2018 -0400

    Ongoing work to get R4 working

commit 819d69c20e112dd3c72569ec50114ddb8263c300
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Sep 20 08:15:36 2018 -0400

    Work on getting build working

commit 2c61b6cd1205ced5d7b822cf10942c69272ea078
Merge: 16b5bb06c8 dfb4de86f1
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Sep 20 05:16:53 2018 -0400

    Merge branch 'master' into sync_r4

commit 16b5bb06c8cdaf8d67c3b80f5aa9be9fccd99aef
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Mon Sep 17 05:30:39 2018 -0400

    Work on R4 sync

commit 23f7517325a14dd2ca1eb5641296ead2776634ae
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Sep 16 10:19:00 2018 -0400

    Work on sync

commit 6cc413c1f1dea538295aa4c16c21a5677494ac4c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Sep 14 17:28:28 2018 -0400

    Work on R$ sync

commit df6f6ad2ce783b07ccc383134705d874bc5d2cf1
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Fri Sep 14 08:33:07 2018 -0400

    Work on R4
2018-09-29 13:48:35 -04:00
James Agnew 002c4b3ff7 Add retrigger subscription operation 2018-09-27 20:03:01 -04:00
James Agnew 706e004b9d Bump to 3.6.0-SNAPSHOT 2018-09-19 10:24:48 -04:00
James Agnew ce6a9dbc36 Fix regression from new jetty version 2018-09-11 08:27:34 -04:00
James Agnew daef975734 Version bump to 3.5.0 2018-09-08 07:22:21 +08:00
James Agnew 77305eb570 Work on migrator 2018-09-04 10:32:08 +08:00
James Agnew f4a21eadda Fix this issue 2018-09-01 14:38:52 +08:00
James Agnew fee0166800 Work on removing validstion cache 2018-08-28 05:26:06 -04:00
James Agnew 54c07263b6 Increase code lengths 2018-08-26 12:32:35 -04:00
jamesagnew df651c830e Remove dynamic mode 2018-08-19 17:35:08 -04:00
James Agnew bc1ee1f9dc Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-08-13 11:54:36 -04:00
James Agnew 78a7d64d2c
Merge pull request #1022 from alinleonard/master
Patch operation on OperationsWhichAllowPreferHeader
2018-08-12 17:55:16 -04:00
James Agnew 4eb3281fa6 Merge branch 'client_enhancements' 2018-07-30 18:34:49 -04:00
James Agnew 4fcaf37729 Test cleanup 2018-07-30 18:34:28 -04:00
James Agnew d6293cf9b3 Merge branch 'client_enhancements' 2018-07-30 09:42:38 -04:00
James Agnew db0f082222
Merge pull request #996 from anamariaradu10/master
Changes regarding behavior for Prefer header
2018-07-30 09:16:20 -04:00
jamesagnew 0f1724ac0a Credit and a unit test for #912 2018-07-30 05:48:38 -04:00
jamesagnew fc9f2ec0fb FIx test issue 2018-07-29 18:20:09 -04:00
James Agnew 518092cbd4 More updates 2018-07-29 17:10:26 -04:00
anamariaradu10 3a5556006b
Merge branch 'master' into master 2018-07-27 16:59:52 +03:00
Ana Maria Radu 9c39733aff Fixed issues 2018-07-27 16:48:44 +03:00
James Agnew 75a68a0332 Unit test fix 2018-07-26 18:58:23 +07:00
James Agnew a4e4111376 Fix a unit test 2018-07-26 18:08:59 +07:00
James Agnew 3c80238f0e Ongoing work on interceptors 2018-07-24 17:22:21 +07:00
James Agnew 23083a9283 Improvements to client and SP indexing in JPA server 2018-07-23 17:37:49 +09:00
James Agnew b4aa4c0e89 Add protection against HTML injection attacks 2018-07-19 08:56:22 -04:00
jamesagnew a9291b4e4b Add security test 2018-07-19 08:09:07 -04:00
James Agnew e6ca408f67 Permissions for operations 2018-07-12 18:40:15 -04:00
James Agnew 03e7b018a6 Add skeleton for the $process-message operation in JPA erver 2018-07-12 17:52:24 -04:00
Alin 62c7c0fa55 fixed the AuthorizationInterceptorR4Test return code based on fhir doc 2018-07-09 16:43:31 +03:00
James Agnew b929864873 Merge branch 'improve_jpa_indexes' 2018-07-01 12:08:03 -04:00
James Agnew 495fd9f68e Add support for patch in AuthorizationInterceptor 2018-07-01 11:46:11 -04:00
jamesagnew e5cb609f4d Performance improvements 2018-06-24 20:02:27 -04:00
James Agnew e9fffd3cdc Allow indexing in custom search params to descend into contained
resources
2018-06-22 11:22:07 -04:00
James Agnew ed0b5f54a5 More authorizationinterceptor tweaks for better security 2018-06-12 21:52:01 +08:00
James Agnew cc0e836680
Auth interceptor early checks (#995)
* Validator fix

* Enhance AuthorizationInterceptor so that it tries to deny access earlier
for compartment searches that are outside the allowable compartment.

* FIx DSTU2 test that wasn't updated

* More test fixes
2018-06-10 17:48:20 -04:00
James Agnew 6feb23896f Hopefully fix #983 2018-06-06 15:51:23 -04:00
jamesagnew 987679483a Version bumps 2018-06-03 15:29:10 -04:00
jamesagnew 9db3be8536 Include implementation URL in generated capabilitystatement 2018-06-03 14:22:15 -04:00
jamesagnew d127a89047 Some test fixes 2018-05-30 11:01:43 -04:00
James Agnew a52805e504 Work on JDK9 support 2018-05-30 05:45:08 -04:00
James Agnew 7951d883d0 Merge branch 'master' into java9 2018-05-29 08:43:21 -04:00
Diederik Muylwyk 0e2c57fa60 Bumping version. 2018-05-28 17:44:38 -04:00
James Agnew 27d0d4d7af Fix build failure 2018-05-28 11:51:26 -04:00
Diederik Muylwyk 2871920734 Preparing release. 2018-05-28 10:45:47 -04:00
jamesagnew 67f21426cb Disable content header on response for non-create operations 2018-05-25 07:28:01 -04:00
James Agnew a3687e446e Correctly handle missing search params with new indexing infrastructure 2018-05-23 11:42:38 -04:00
James Agnew 2f2900e837 Improve indexing on JPA server in anticipation of a new indexing
strategy in HAPI FHIR 3.5.0
2018-05-23 08:09:57 -04:00
jamesagnew 98d997c620 Add changelog and credit for #867 2018-05-23 06:21:00 -04:00
James Agnew 4d93b78c24 Credit for #836 2018-05-22 08:44:17 -04:00
patrick-werner 07d0cc7876 Merge branch 'master' into bpCheckValFix 2018-05-17 09:53:41 +02:00
patrick-werner 78f9d6333a temp. fixed: "Attempt to read a single element when there is more than one present" #949
Will be overwritten by next RI import!
2018-05-17 09:43:35 +02:00
patrick-werner 730d02b7c6 added R4 core-extension validation support 2018-05-16 18:51:55 -04:00
James Agnew d29a9a7f96 AutohrizationInterceptor should correctly recognize type-level operation
invocations
2018-05-15 16:14:10 -04:00
jamesagnew 4d62120a18 Fix issues reported by errorprone 2018-05-15 08:44:15 -04:00
James Agnew a3ff08d9ec
Replace phloc with ph for #775 (#930)
* Replace phloc with ph

* Enable schematron tests

* Make HAPI-FHIR ph-schematron on OSGI

* Work on getting tests passing

* Another test fix

* Fix up transaction handling for DSTU2

* Add changelog

* Avoid double transaction

* Dont use readonly

* One more test fix

* Update to snapshow build

* Resolve a circular dependency

* Try to fix tests

* Solve recurring NPE in DSTU2 tests

* Fix one more test

* Test fix

* More test threading fixes

* One more attempt to get tests passing

* Refactoring for tests

* Refactoring for tests
2018-05-14 17:38:40 -04:00
jamesagnew 3d762b984b Sync to R4 definitions 2018-05-12 19:35:42 -04:00
James Agnew b17eebd8d2 Squashed commit of the following:
commit 2be11651c2
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 11:50:53 2018 -0400

    Update changelog

commit b3bb5f9052
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 11:19:28 2018 -0400

    Parameter updates

commit f6b1082ba4
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 07:24:30 2018 -0400

    More test fixes

commit 81a69c265f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:26:48 2018 -0400

    Fix compile error

commit 935938e92c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:25:18 2018 -0400

    Another test fix

commit 43568a1f8d
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:18:06 2018 -0400

    Fix compile error

commit e95894e643
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:13:50 2018 -0400

    More work on tests

commit 9393fb8f4f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 05:36:27 2018 -0400

    One more fix

commit 437f5051e4
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 21:32:10 2018 -0400

    Work on validator

commit 20c51add4f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 19:34:10 2018 -0400

    Validator fix

commit 7bf2b0a0e9
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 18:44:04 2018 -0400

    Fix test

commit adc73e75c9
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 17:22:34 2018 -0400

    Merge validator
2018-05-10 11:53:32 -04:00
James Agnew 7688be1231 Work on getting java9 building 2018-05-03 18:34:29 -04:00
James Agnew 593a705365 Performance enhancements on the CapabilityStatement generator for JPA
server
2018-04-28 11:06:42 -04:00
James Agnew 09b1f547d0 Add expunge 2018-04-24 15:11:00 -04:00
James Agnew 07e7af746f Work on expunge operation 2018-04-22 22:03:23 -04:00
James Agnew a21d0a7752 Add auth tester methods 2018-04-22 19:30:09 -04:00
James Agnew 591539cf13 Add expunge method 2018-04-22 18:34:56 -04:00
jamesagnew 8c889267e5 One more parser fix 2018-04-18 06:20:11 -04:00
James Agnew 162069776a Correctly handle encoding contained resources where some have user
assigned IDs and some do not
2018-04-17 18:26:06 -04:00
jamesagnew c5b286921e Tests all passing 2018-03-30 15:18:57 -04:00
jamesagnew 180336e076 Sync to master 2018-03-29 06:54:24 -04:00
jamesagnew 53c2d8a38d Merge branch 'master' into loinc_loader_update 2018-03-29 06:21:55 -04:00
jamesagnew 418e82032f Prep for 3.3.0 2018-03-29 05:48:13 -04:00
James Agnew d9c167455e Make sure we correctly clean up resources 2018-03-27 15:20:22 -04:00
James Agnew b56d65ef5b
Merge pull request #871 from johnpoth/hapi-fhir-osgi
Implement #826 - add OSGI support and Apache Karaf features with inte…
2018-03-27 06:06:34 -04:00
James Agnew 29c09e40f0
Merge pull request #858 from patrick-werner/master
added Test for #11 to Dstu3 and R4, fixed #853
2018-03-24 06:31:24 -04:00
James Agnew 308ac63a77 Merge branch 'master' into loinc_loader_update 2018-03-20 07:53:41 -04:00
James Agnew 6359f7f8a1 More work on loinc 2018-03-19 08:51:02 -04:00
patrick-werner ff04ab3358 ${argLine} -> [at]{argLine}
see:
http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation
2018-03-19 10:45:33 +01:00
patrick-werner 0cee57392a Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	hapi-fhir-validation/src/test/java/org/hl7/fhir/r4/validation/FhirInstanceValidatorR4Test.java
2018-03-07 11:45:31 -03:00
jamesagnew e201091e3a Update licenses for changed files 2018-03-04 13:53:04 -05:00
jamesagnew d22670ddb5 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-03-04 12:21:07 -05:00
James Agnew 2f7751a079 Move stopwatch into hapi-fhir-base and add timing into to client
LoggingInterceptor
2018-03-04 12:13:18 -05:00
jamesagnew 8bdca012d6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-03-04 11:04:07 -05:00
jamesagnew 07290ae8a0 Sync to latest R4 code 2018-03-04 11:02:47 -05:00
jamesagnew b2ceb87a70 Work on #873 2018-03-03 17:50:29 -05:00
James Agnew 0c0b9bd74b Fix #814 - Don't create duplicate contained resources 2018-03-02 09:46:29 -05:00
jpoth 66ebfa0ed3 Implement #826 - add OSGI support and Apache Karaf features with integration tests 2018-02-28 11:32:53 +01:00
James Agnew 458401864b Handle deletes properly in HashMapResourceProvider 2018-02-25 14:20:04 -05:00
James Agnew 84c72203b7 Add HashMapResourcePrvider 2018-02-25 13:16:02 -05:00
patrick-werner a8f3c2efb6 added Test for #11 to Dstu3 and R4 2018-02-21 16:03:31 +01:00
James Agnew 84dcd51091 Add tests for #814 2018-02-12 09:25:59 -05:00
James Agnew e4785b17b5 Add test 2018-02-08 17:50:45 -05:00
jamesagnew a395e48cd4 Don't crash when a multitenant server has a request for / 2018-02-04 18:44:37 -05:00
jamesagnew 371be03b0f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-02 13:20:09 -05:00
James Agnew 0e2d55081f Fix a crash when no count parameter supplied 2018-02-02 12:31:59 -05:00
jamesagnew 351a2fc2f1 Fix #837 - Use non-legacy content-type for plain json and xml accept
header
2018-02-02 06:43:19 -05:00
James Agnew b61887e841 Improve performance of base64 validation 2018-01-30 17:37:12 -06:00
jamesagnew f7f69f6148 Ad some tests for #837 2018-01-26 08:39:46 -05:00
jamesagnew 5750cfd03c Prevent double calling server interceptor methods under certain
conditions
2018-01-26 07:44:13 -05:00
James Agnew 0677f35847 Implement tenant ID checking in authorizationinterceptor 2018-01-23 11:32:35 -05:00
James Agnew 16038ece26 Version bump to 3.3.0-SNAPSHOT 2018-01-23 10:31:01 -05:00
James Agnew 3644151a69 Fix crash in JSON parser when parsing extensions on primitive elements 2018-01-18 09:07:23 +07:00
James Agnew 6468ca474a Verion bump to 3.2.0 2018-01-13 02:14:33 -05:00
James Agnew 01186ec8cb Squashed commit of the following:
commit ab876ef864005b6758d3e00a1bb1ef2dad5d2161
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Jan 12 18:59:15 2018 -0500

    Tests all passing

commit 4f8a5d98307da1bb5ca7602e34b1d3b791f73d25
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Fri Jan 12 08:21:58 2018 -0500

    Almost compiling
2018-01-12 18:59:43 -05:00
James Agnew f6c9e3d0fe Add multitenancy support for server 2018-01-11 11:14:54 -05:00
James Agnew 9a72927dbc Fix #808 - Use version from meta if not found in the resource ID 2018-01-08 14:07:27 -05:00
James Agnew 377bae8c16 Allow interceptors to modify request contents 2018-01-06 14:27:32 -05:00
James Agnew 19863de012 Update javadocs on IdType 2017-12-19 15:57:22 -05:00
James Agnew 44ec091b35 Still more test tweaks 2017-12-13 13:29:24 -05:00
James Agnew 3e296f9d1b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-11-25 17:53:01 -05:00
James Agnew 6afe6804db Fix #796 - Correctly escape spaces in generated URLs 2017-11-25 17:52:12 -05:00
jamesagnew 5b909b4746 Version bump to 3.2.0-SNAPSHOT 2017-11-24 13:32:47 -05:00
jamesagnew 42dd34252d Version bump to 3.1.0 2017-11-23 13:27:21 -05:00
James Agnew 4887f18bb3 Further refine #762 2017-11-23 11:05:11 -05:00
jamesagnew db1d2d77cd Updated tests 2017-11-23 10:40:44 -05:00
jamesagnew ffac599a30 Credit and tests for #762 2017-11-23 06:42:10 -05:00
jamesagnew 059265a041 Test cleanup 2017-11-22 19:15:27 -05:00
James Agnew 4042a3a353 Prevent accidental deletion of deeply nested resources in JPA server 2017-11-22 18:17:35 -05:00
James Agnew a87323fa08 Add tests 2017-11-17 09:53:44 +01:00
James Agnew 59f4177a59 Fix #750 - Elements are not preserved in page requests 2017-11-06 19:49:50 -05:00
James Agnew 675d7981bf Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-11-05 18:53:09 -05:00
James Agnew 37c8e6c645 Add test for #751 2017-11-05 18:52:28 -05:00
James Agnew 75bfb6af1b Add support for Binary X-Security-Context header in server 2017-11-02 11:38:43 -04:00
James a1ffe0d1c3 Sort methods 2017-10-31 20:55:36 -04:00
James dea9cdde58 One more Windows test 2017-10-31 20:41:03 -04:00
James 3cd7c8a61c Fix tests to work on Windows 2017-10-31 20:38:26 -04:00
James Agnew 1d06c9165b Remove more windows line ending dependencies 2017-10-31 17:55:16 -04:00
James Agnew c5b7fea01d
Merge pull request #725 from InfiniteLoop90/issue-724-copy-domain-resource-id
Fixes #724 - Resource IDs are now copied when copying instances of subclasses of DomainResource for DSTU2 and DSTU2.1.
2017-10-31 17:41:33 -04:00
James 72ec59d51b Remove Linux specific line endings from test 2017-10-29 21:54:40 -04:00
James Agnew 0875318842 Merge pull request #711 from InfiniteLoop90/master
Added R4 to the client's server version check. Also tweaked the ClientServerValidation* tests to be a little more predictable
2017-10-26 17:56:48 -04:00
James 15ba0dff03 Clean up email subscription type 2017-10-26 06:02:12 -04:00
James Agnew 16e19a9fed Fix #720 - Failure to parse custom type 2017-10-21 13:47:03 -04:00
James 73382d85ca Fix #761 - Restore codesystem package from DSTU3 and add unit tests to
verify existence
2017-10-17 15:18:36 -04:00
James a782bd7630 Fix a number of problems reported by ErrorProne 2017-10-16 10:00:27 -04:00
James Agnew 9ca85b4cf3 Re-enable errorprone on standard hapi fhir build. woohoo! 2017-10-15 11:27:30 -04:00
James 375a2fcf6f Remove some failing tests that never got run anyhow 2017-10-13 11:51:04 -04:00
James 31fb1236a1 Reuse bundle ID when returning query cache results 2017-10-11 06:05:14 -04:00
James ce720f5601 Add support for Cache-Control header in JPA server and client 2017-10-05 13:38:53 -04:00
James Agnew 87383ad802 Version bump to 3.1.0-SNAPSHOT 2017-09-27 21:23:34 -04:00
James e19c13fa6f Prepare 3.0.0 release 2017-09-24 17:55:16 -04:00
James 49bdaa1a45 Version bump to 3.0.0 2017-09-23 17:31:39 -04:00
James 2fa912a43f Use serialized messages for queues 2017-09-19 22:01:36 -04:00
James Agnew e94d639d29 Refactor websockets to use queuing mechanism 2017-09-14 21:29:57 -05:00
James Agnew 97b44965ce Lots of work on new subscription model 2017-09-13 19:05:29 -07:00
James Agnew 836d4d051b Work on IG Pack uploading 2017-09-07 20:33:19 -07:00
James Agnew 989246f0da Include Location header details in non-verbose response for client
interceptor
2017-09-06 06:26:41 -07:00
Clayton Bodendein 8f06cf7322 Related to issue #724 - Added more unit tests 2017-09-05 14:45:32 -05:00
Clayton Bodendein 5650238421 Related to issue #724 - Also ensures that the ID is copied for HL7 DSTU2 and DSTU2.1 subclasses of BackboneElement when the #copy() method is called. Also added unit tests for these and reverted the line endings of the HL7 DSTU2 and DSTU2.1 versions of the DomainResource class back to CRLF 2017-09-04 22:58:15 -05:00
Clayton Bodendein 8fb528c1c9 Related to issue #724 - forgot a right curly brace in Javadoc comment 2017-09-04 10:48:37 -05:00
Clayton Bodendein 7b46bca1bf Also fixes #724 - Added unit tests to ensure that the IDs of instances of DomainResource subclasses get copied as expected 2017-09-04 10:46:09 -05:00
James 9e62d7dba9 CLI fixes and update some dependencies 2017-08-16 11:20:21 -04:00