Commit Graph

106 Commits

Author SHA1 Message Date
James Agnew 218937e425 Several fixes 2018-06-20 05:53:32 -04: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 91d4ab8496 Merge branch 'java9' of github.com:jamesagnew/hapi-fhir into java9 2018-05-30 15:03:29 -04:00
James Agnew 1fcb374d40 Test fixes 2018-05-30 15:03:11 -04:00
jamesagnew d127a89047 Some test fixes 2018-05-30 11:01:43 -04:00
James Agnew d819d685ee Test fix 2018-05-30 09:57:41 -04:00
jamesagnew 5a96482860 More work o JDK9 tests 2018-05-30 08:04:01 -04:00
James Agnew a52805e504 Work on JDK9 support 2018-05-30 05:45:08 -04:00
Diederik Muylwyk 0e2c57fa60 Bumping version. 2018-05-28 17:44:38 -04:00
Diederik Muylwyk 2871920734 Preparing release. 2018-05-28 10:45:47 -04:00
jamesagnew 09eb52ed27 Fix failing tests 2018-05-24 06:33:13 -04:00
James Agnew 1ead3f715e
Merge pull request #892 from hdconradi/validate-questionnaire-response-item-type-for-text
Allow text items in questionnaire
2018-05-24 06:03:18 -04:00
James Agnew 934369a1d9
Merge branch 'master' into instance-validator-npe-on-itemtype 2018-05-24 05:55:22 -04:00
James Agnew 179e88eb86
Merge pull request #881 from hdconradi/two-typos
Two typos in the InstanceValidator
2018-05-24 05:52:39 -04:00
James Agnew 74e7152ce6
Merge pull request #880 from hdconradi/required-answer-can-be-missing-when-in-progress
Activate the QuestionnaireResponseValidatorDstu3Test again and add tests for missing required items
2018-05-24 05:46:41 -04:00
James Agnew eb77b8a225
Merge pull request #874 from hdconradi/validation-server-exception-when-local-reference-absent
Validation server exception when local reference absent
2018-05-23 06:29:25 -04:00
jamesagnew c82c57eb37 Sync validator 2018-05-23 06:28:58 -04:00
jamesagnew 7e83fc78cf Disable user resource and weaken validation on the public server 2018-05-21 19:04:37 -04:00
jamesagnew e8139192e0 FIx test issues 2018-05-21 13:07:11 -04:00
James Agnew a7cd37e2a0
Merge branch 'master' into fix936 2018-05-17 07:30:31 -04:00
patrick-werner 4d8608e721 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 10:15:29 +02: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
James Agnew 4fd868afae Credit for #946 and add extensions to the CLI uploader 2018-05-16 19:32:12 -04:00
patrick-werner b4d2fcfc68 added core-extension validation support 2018-05-16 18:51:55 -04:00
James Agnew 0b6a146945 Don't do karaf verifier by default 2018-05-16 14:24:55 -04:00
patrick-werner 412994bfc7 Merge branch 'core-extensions' 2018-05-15 12:16:35 +02: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
James Agnew 3a03d4ff63 Add test for #942 2018-05-13 10:31:54 -04:00
patrick-werner 305cc9c9c4 added core-extension validation support 2018-05-13 16:22:57 +02:00
James Agnew 8c47d966e9 Add test for #938 2018-05-13 09:03:12 -04:00
jamesagnew 3d762b984b Sync to R4 definitions 2018-05-12 19:35:42 -04:00
patrick-werner 405bb50036 Modified Information warning about non must-support content 2018-05-12 14:12:01 +02: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 f092caf386
Merge pull request #903 from dgileadi/902-fix-bounds-exception
Fix #902, IndexOutOfBoundsException for DSTU2 QuestionnaireResponses with groups
2018-05-04 08:49:17 -04:00
jamesagnew 83a5eedb29 Fix performance regression in DSTU3 validation 2018-04-28 11:42:59 -04:00
Heinz-Dieter Conradi 01b84cdd96 Fix the InstanceValidator so that the test passes for text items too. 2018-04-03 23:40:36 +02:00
Heinz-Dieter Conradi 04ae5a30d1 R4: add a questionnaire test which checks all possible item types 2018-04-03 23:39:58 +02:00
Heinz-Dieter Conradi fafbabb34a DSTU3: add a questionnaire test which checks all possible item types 2018-04-03 23:37:37 +02:00
Heinz-Dieter Conradi baf53efd32 Fixing the NPE in the InstanceValidator 2018-04-03 23:35:00 +02:00
Heinz-Dieter Conradi 1aff132691 Test questionnaire with embedded items for R4.
The test for an item embedded in a text item works as expected.
    However, the embedded item in a choice or openchoice case
    triggers an NPE.
2018-04-03 23:34:53 +02:00
Heinz-Dieter Conradi eeb4fe62b7 Test questionnaire with embedded items for DSTU3.
The test for an item embedded in a text item works as expected.
However, the embedded item in a choice or openchoice case
triggers an NPE.
2018-04-03 23:33:12 +02:00
Heinz-Dieter Conradi 913283559f Wrong javadoc parameter name
This is an error in some ide's and of course in javadoc.
2018-04-03 23:28:23 +02:00
Heinz-Dieter Conradi 41207e5555 Testing missing required items in QuestionnaireResponses 2018-04-03 23:20:31 +02:00
Heinz-Dieter Conradi 2d55b1f886 Remove the Ignore from the QuestionnaireResponseValidatorDstu3Test 2018-04-03 23:20:31 +02:00
Heinz-Dieter Conradi b2107baae4 Fix the server exception when validating an invalid local reference
'fetcher == null' is ok for a local reference.

Unfortunately, there are now two messages with the same meaning:
- one from the ProfileValidation
- one from the code in this location
2018-04-03 23:11:53 +02:00
Heinz-Dieter Conradi f2cd05fe3b Add test for invalid local reference (R4)
Currently an invalid local reference causes an InternalErrorException
caused by: FHIRException: Resource resolution services not provided.
The validation should instead return normally and contain an error
message.
2018-04-03 23:11:40 +02:00
Heinz-Dieter Conradi 229e0977d2 Add test for invalid local reference (DSTU3)
Currently an invalid local reference causes an InternalErrorException
caused by: FHIRException: Resource resolution services not provided.
The validation should instead return normally and contain an error
message.
2018-04-03 23:09:39 +02: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