Commit Graph

161 Commits

Author SHA1 Message Date
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
James Agnew 27d0d4d7af Fix build failure 2018-05-28 11:51:26 -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 53c2d8a38d Merge branch 'master' into loinc_loader_update 2018-03-29 06:21:55 -04:00
James Agnew d9c167455e Make sure we correctly clean up resources 2018-03-27 15:20:22 -04:00
James Agnew 6359f7f8a1 More work on loinc 2018-03-19 08:51:02 -04: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
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 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 6afe6804db Fix #796 - Correctly escape spaces in generated URLs 2017-11-25 17:52:12 -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 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 e19c13fa6f Prepare 3.0.0 release 2017-09-24 17:55:16 -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