Commit Graph

1017 Commits

Author SHA1 Message Date
James 78643981f6 Credit and test for #636 2017-05-20 18:12:34 -04:00
James db1e046f91 Credit for #633 2017-05-20 17:58:34 -04:00
James 20c14fe8a6 Make sure we don't update unchanged resources in a transaction 2017-05-20 17:55:09 -04:00
James f6ee4db598 Process :missing qualifier on date params 2017-05-19 20:36:06 -04:00
James Agnew 45041830bc Server now respects the If-Modified-Since header for read operations 2017-05-17 14:57:05 -04:00
James Agnew a92d80d860 Correctly encode extensions on the root of a resource with type
reference
2017-05-17 12:40:10 -04:00
James Agnew 7bb9e5edd9 Custom search parameters could not chain an extension param 2017-05-17 10:46:22 -04:00
James Agnew d87b4f2062 Re-enable daoconfig interceptors 2017-05-15 22:11:29 -04:00
James Agnew 7f2faae85e Fix #563: JSON Parser gave a very unhelpful error message (Unknown attribute 'value' found during parse) when a scalar value was found in a spot where an object is expected. This has been corrected to include much more information 2017-05-15 18:06:55 -04:00
James Agnew 48520832ef Doc updates and allow DSTU3 resources in some annotations that
previously didn't allow it
2017-05-14 22:03:38 -04:00
James Agnew 897c65e818 CLI and HttpClient cleanup 2017-05-14 06:39:23 -04:00
James Agnew ef772547c3 Fix an issue in the JPA server if a resource has been previously saved containing vocabulary that is no longer valid. This only really happened if you were using a non-final version of FHIR (e.g. using DSTU3 before it was finalized) but if you were in this situation, upgrading HAPI could cause you to have old codes that no longer exist in your database. This fix prevents these from blocking you from accesing those resources. 2017-05-06 10:51:17 +02:00
James Agnew 15952c22dc Fix #631 - Typo in documentation 2017-05-01 15:31:11 -04:00
James Agnew 403197655d Credit for #630 2017-05-01 15:20:24 -04:00
James bb9cd7c198 Add configuration property to DSTU3 FhirInstanceValidator to allow client code to change unknown extension handling behaviour. 2017-04-23 19:28:45 -04:00
James 9c595e18f9 Ignore updates that don't actually change anything 2017-04-23 15:04:19 -04:00
James 841cfb8cf3 Fix test failures from search cleanup 2017-04-22 13:08:29 -04:00
James fa2950dacb Fix tests for expiring search results 2017-04-22 08:50:51 -04:00
James baef8c0021 Update changelog 2017-04-20 16:13:15 -04:00
James Agnew bc545f8e3c Issue #590 - Handle paging requests for AuthorizationInterceptor 2017-04-20 16:11:09 -04:00
James Agnew b0caf0c2c5 Release notes for 2.4 2017-04-19 20:39:48 -04:00
James f3b52424e3 Changelog note about r3 2017-04-18 07:51:11 -04:00
James e9a1069c9d Credit for #610 2017-04-17 18:03:55 -04:00
James 4023699990 Credit for #613 2017-04-17 17:59:41 -04:00
James edff92f884 Credit for #617 2017-04-17 17:55:39 -04:00
James c400e10fe9 Credit for #624 2017-04-17 17:52:48 -04:00
James f9dbdeebdd Credit for #623 2017-04-17 17:45:27 -04:00
James Agnew 54055f5bfb Support extensions pointing to references for JPA custom search params 2017-04-14 07:26:49 -04:00
James Agnew 0a61096f6f Add JPA utility method 2017-04-07 11:14:48 -04:00
James 75b8881813 Dependency version bumps 2017-03-31 14:32:46 -04:00
James Agnew 2c9a6e65e7 Fix #534: Add setting for logical references to DAOConfig
Merge branch 'master' into issue534
2017-03-30 03:21:50 +08:00
James Agnew 09ca3da59d Credit for #453 2017-03-29 15:31:50 +08:00
James Agnew 14d861992c Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-03-29 15:29:10 +08:00
James Agnew c6555ddd4f DaoConfig#setAllowInlineMatchUrlReferences now defaults to true 2017-03-29 15:23:23 +08:00
Diederik Muylwyk 4748c8ba74 New DSTU2 FhirInstanceValidator bean exposed. (#611)
Merging with master, issue #609 will be closed.
2017-03-28 23:19:20 -04:00
James Agnew 93cfb2360c Fix #607 - Testing UI showed an error for transactions on DSTU2 server 2017-03-27 07:50:01 +08:00
James Agnew 91ff109300 Fix #608 - Don't include SupportingDocumentation resource in DSTU2 2017-03-26 09:56:33 +08:00
James Agnew 44c0075409 AuthorizationInterceptor can now allow make read or write authorization decisions on a resource by instance ID 2017-03-24 21:10:44 +08:00
James Agnew 2238b119c6 Credit for #602 2017-03-20 20:34:27 +08:00
James Agnew 01e1566886 Fix error on site, fixes #580 2017-03-18 12:35:11 -04:00
James 0fc8748656 Changelog date 2017-03-18 12:15:52 -04:00
James d009e836bb Fix tests for 2.3 2017-03-18 08:06:18 -04:00
James Agnew db58926ce6 Site updates for 2.3 2017-03-17 21:48:54 -04:00
James 8758b6f3da Updating to 1.9.0 structures
Squashed commit of the following:

commit 81edf46fe02a88851693f958e60855edfe69c04c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Mar 17 21:05:22 2017 -0400

    Work on converter

commit 3342d987008892dd3a75dddd251fe599c31c5a6c
Author: James <jamesagnew@gmail.com>
Date:   Fri Mar 17 08:40:37 2017 -0400

    Site updates

commit 7dcb63904ece1fcb59a09dc268e8382ac0b75535
Author: James <jamesagnew@gmail.com>
Date:   Fri Mar 17 08:36:39 2017 -0400

    STU3 structs working!

commit c5aec809e3f19f3fedf0aaaeab8cdd7924c144a2
Author: James <jamesagnew@gmail.com>
Date:   Fri Mar 17 07:05:54 2017 -0400

    Format test

commit 5033090010e8c93644505bccaa5e41ccbd756485
Author: James <jamesagnew@gmail.com>
Date:   Fri Mar 17 07:03:39 2017 -0400

    Merge tests for STU3

commit de40a516bfa4d2ab7f5e28e2d95815fde68bd10a
Merge: d5a5a60 899ed25
Author: James <jamesagnew@gmail.com>
Date:   Fri Mar 17 06:59:20 2017 -0400

    Merge branch 'master' into dstu3_latest_structs

commit d5a5a601b53d8be6712f0bfe37ba7e6eb4d3ce58
Author: James <jamesagnew@gmail.com>
Date:   Tue Mar 14 12:04:37 2017 -0400

    Latest fixes

commit ae46ad53d2075e66e3c58c1e626652b4e144f20c
Author: James <jamesagnew@gmail.com>
Date:   Tue Mar 14 06:51:59 2017 -0400

    STU3 structs passing

commit ec3b62d31131d303001f8574c58fb7a8b8194f68
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 22:20:05 2017 -0400

    Fix some tests

commit 933f9b08c32dd8671638f406a0966c5ee07d86a1
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 21:18:03 2017 -0400

    Fix test

commit 2a3ad0b422f58cfffea966a7005c6a3d86d189da
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 21:07:33 2017 -0400

    Resolve compile issues in STU3

commit fe04eba312a42c74b10a3971e4d61d58ba003bf9
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 20:51:35 2017 -0400

    FIx compilation error

commit 6c63a558c97cf176105967a84a0b32472c6c0fcb
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 20:48:13 2017 -0400

    Another STU3 struct fix

commit 6acd25458aad89aaff94768c824d4d1fcdac97ba
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 20:41:16 2017 -0400

    Work on STU3 structs

commit 90a476dba2665a129572ad5cbbd8dd29afd9d4c8
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 20:28:32 2017 -0400

    Resolve JDK8 dependencies

commit 783bc1519971e977fe7139aa1d3a2e7f37940a63
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 20:20:57 2017 -0400

    Fix some tests

commit 60c379175b689495e65278bb6a237af3de379aa8
Author: James <jamesagnew@gmail.com>
Date:   Sun Mar 12 19:56:29 2017 -0400

    Work on STU3 structs

commit e98c2eed6601f7009e199aca3b82399a3377077c
Author: James <jamesagnew@gmail.com>
Date:   Sun Mar 12 19:41:48 2017 -0400

    Work on DSTU3 structures

commit 3ce909212bf0f11561b8342d406cffcf957afeb3
Author: James <jamesagnew@gmail.com>
Date:   Tue Mar 7 21:03:14 2017 -0500

    Work up upgrading structs
2017-03-17 21:06:12 -04:00
Diederik Muylwyk 436e898819 Added a hook for post-processing request details and validation results on failure. 2017-03-17 17:02:05 -04:00
James 67774627d4 Credit for #575 2017-03-17 06:52:23 -04:00
James 3a9031bc9c Credit for #551 2017-03-17 06:49:21 -04:00
James 8021e0e413 Credit for #568 2017-03-17 06:43:35 -04:00
James 2b43dc5e0b Site updates per #582 2017-03-17 06:39:48 -04:00
James 4940457962 Credit for #543 2017-03-17 06:31:20 -04:00
James fc7ac7ab00 Credit for #542 2017-03-16 21:57:55 -04:00
James Agnew 0be818c31c Add validation results to oo (#595)
* Add interceptor

* Add changelog entry

* Update changes.xml

Corrected reference to issue 586 (was 585). Corrected order of actions for issues 586 and 595 (was reversed).

* Update changes.xml

Should have been 585 after all. Whoops!

* Update changes.xml

Adding an item for pull request 565 that was previously approved and merged.

* Fixed test with English String in assertion.
2017-03-16 13:31:25 -04:00
James Agnew a867890554 585 authorizationinterceptor wildcards (#586)
* Add wildcards for authorizationinterceptor

* Add changelog
2017-03-14 22:26:45 -04:00
James 0c6679ac44 JPA server interceptor methods for create/update/delete provided the wrong version ID to the interceptors 2017-03-11 07:57:33 -05:00
James Agnew 01d102accc Correct handling of contained resources in a response for annotation
client
2017-03-01 17:23:31 -05:00
James 94bed2f59e Site updates 2017-02-17 21:20:32 -05:00
James 7ee3e75665 Add JDK version notes. Fixes #560 2017-02-15 05:58:41 -05:00
James Agnew 0ec542b89c Fix outdated example 2017-02-14 20:51:58 -05:00
James 53f6effd56 Clean up custom seach param code 2017-02-11 18:37:21 -05:00
James f1828d1ca8 Fix handling of filters on valueset expansions 2017-02-10 11:05:59 -05:00
James Agnew 0dd6364fe5 Improve paging in JPA server for _history operation 2017-02-08 21:42:17 -05:00
James Agnew d28122ff3e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-02-07 12:24:35 -05:00
James Agnew ad781334d8 Fix conditional creates updating resource body 2017-02-07 11:36:24 -05:00
James d5fbcf8e82 Return an OperationOutcome in the response for a delete in JPA 2017-02-07 07:44:57 -05:00
James b7f165019d Tweak re-indexing 2017-02-07 07:00:51 -05:00
James 7149d2e053 Merge branch 'custom_jpa_search_params' 2017-02-04 16:34:05 -05:00
James 78fd020590 Credit for #548 2017-02-04 16:10:59 -05:00
James 6875da8556 Clean up changes.xml 2017-02-04 16:09:20 -05:00
James 54ac780cd5 Custom params works! 2017-02-04 16:02:00 -05:00
James ea5a023e17 Fix typo 2017-01-31 10:42:30 -05:00
James b0981a8dc5 Credit for #547 2017-01-31 07:22:38 -05:00
James 11f1f4f6ee Deprecate getAllPopulatedChildElementsOfType 2017-01-31 06:53:04 -05:00
James e5b9aa4536 Bump some dependency versions 2017-01-30 17:59:01 -05:00
James ce80007f8d Bump spring version and refactor examples 2017-01-29 22:55:22 -05:00
James d3ef52d49d Credit for #533 2017-01-29 18:01:18 -05:00
James 3960666c68 Credit for #538 2017-01-29 17:56:13 -05:00
James b66aa9761e Allow parsing of RSQuot 2017-01-29 15:49:10 -05:00
James 97f1e55131 Add changelog about the extensions fix 2017-01-26 11:39:42 -05:00
James Agnew 344e324929 Fix #544
Squashed commit of the following:

commit 1ab9b58e9f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Tue Jan 24 10:46:56 2017 -0500

    Changes working now

commit 5c752cdace
Author: James <jamesagnew@gmail.com>
Date:   Tue Jan 24 08:43:04 2017 -0500

    Get JPA working with new uuid: logic

commit 127b76884a
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jan 23 21:11:18 2017 -0500

    Fix test

commit 599bbe236c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jan 23 18:42:46 2017 -0500

    Work on #544
2017-01-24 10:47:24 -05:00
James Agnew dc17157db8 Credit for #539 2017-01-20 18:49:01 -05:00
James Agnew d1542e98c5 JPA server was not correctly validating and expanding SCT codes 2017-01-19 17:37:43 -05:00
James Agnew 22f796fa7c Allow history operation at type level with authorizationinterceptor 2017-01-16 18:41:39 -06:00
James Agnew 9823ac1eaf Add sources and javadocs to the distribution JARs 2017-01-15 12:05:40 -06:00
James Agnew dbc6abc658 Fix #504 - Error if custom type has illegal extensions 2017-01-13 21:46:16 -06:00
James Agnew fa1ad5ba85 Fix #519 - Issues with JPA capabilitystatement related to the _id param 2017-01-13 21:19:19 -06:00
James Agnew 0dd1d77bec Update credit for #503 2017-01-13 12:12:32 -06:00
James Agnew 37c40c4f9e Fix #503 - Checking authorization again patient compartment fails with delete operation 2017-01-13 11:06:00 -05:00
James 3b41d85952 Server interceptor methods were being called twice unnecessarily by the JPA server, and the DaoConfig interceptor registration framework was not actually useful. Thanks to GitHub user @mattiuusitalo for reporting! Fixes #532 2017-01-11 20:57:39 -05:00
James Agnew 5b7abf15dc Properly purge subscriptions 2017-01-11 18:19:46 -05:00
James Agnew fe24841350 Work on #532 2017-01-09 19:00:56 -05:00
James 65f597aeb1 Migrate to new fhirtest.uhn.ca server 2016-12-28 17:02:08 -05:00
James 0ec61533a8 Publish 2.2 2016-12-20 19:00:37 -05:00
James Agnew c1cc4802f3 Release 2.2 docs 2016-12-20 16:23:43 -05:00
James 2a94242f22 Fix web testing UI to handle CapabilityStatement correctly 2016-12-19 14:32:48 -05:00
James 964919d880 Improve parsing 2016-12-19 14:03:11 -05:00
James 7838d511d0 Fix typo in IHttpResponse 2016-12-19 11:29:05 -05:00
James Agnew 74a73e74c5 Dependency version bumps 2016-12-14 09:21:00 -05:00
James Agnew 4eb2e017f8 Fix #528 - Allow reads by compartment in authorizationinterceptor 2016-12-13 18:30:47 -05:00
James fd14750614 Credit for #507 2016-12-12 07:41:40 -05:00
James 826c91087b Credit for #510 2016-12-12 07:32:36 -05:00
James 43adae1d01 Credit for #523 2016-12-11 18:30:05 -05:00
James 9cb014724b Add validator for DSTU2.1 2016-12-11 17:39:05 -05:00
James 191e3b6d4d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-12-10 19:52:25 -05:00
Bill Denton c544dd4053 Merge remote-tracking branch 'upstream/master' 2016-12-10 12:46:18 -08:00
Bill Denton 766fbfe1fb update change log for PR526 2016-12-10 12:25:22 -08:00
James b0d656e5d9 Refactor fix for #520 a bit so that version in DSTU3 is always pulled
from the model
2016-12-10 14:40:27 -05:00
James ee63bbea74 Fix #516 - Handle STU3 invalid enum values with an appropriate exception 2016-12-10 14:14:22 -05:00
James 2f55fdee2e Credit for #525 2016-12-10 07:38:23 -05:00
James Agnew 223df60c1d Doc updates 2016-12-08 10:50:42 -05:00
James Agnew 72653a9ec4 Fix #500 - Next and previous links not working in testpage UI 2016-12-08 10:45:47 -05:00
James 5149e581db Fix #521 - Wrong or missing ID body in update should be an error 2016-12-08 08:31:52 -05:00
James Agnew e8fad33042 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-12-05 14:53:09 -05:00
James Agnew cfb2c51eab CLI upload-examples failed to delete file under windows 2016-12-05 14:51:59 -05:00
James 9688caf8f2 Version bump back from bad spring version 2016-12-04 21:59:16 -05:00
jamesagnew bf05dd86f8 Bump spring version 2016-12-04 18:51:21 -05:00
James Agnew ffefb79bf1 Fix crash in JPA when _include points to external reference 2016-12-01 12:43:31 -05:00
James Agnew a9d7b8d636 Add test and credit for #518 2016-11-25 18:28:18 -05:00
James Agnew 81773de261 Fix #276 - Prevent contained resources being encoded as duplicates 2016-11-25 17:18:57 -05:00
James Agnew 888f42a032 Introduce new CORS interceptor and switch examples to use it 2016-11-21 18:30:51 +01:00
James Agnew 5846ce4518 Make the parser configurable so that when parsing an invalid empty value (e.g. {"status":""} parser will either throw a meaningful exception or log a warning depending on the configured error handler. 2016-11-21 14:48:44 +01:00
James Agnew 285b8aa1dd Document switch in CORS filter 2016-11-21 14:12:04 +01:00
James Agnew b5b57a5d63 Docs for #495 2016-11-21 14:01:52 +01:00
James Agnew ba896e2553 Clean up CORS 2016-11-21 13:37:59 +01:00
James Agnew 4ed17457dd Work on CORS 2016-11-17 17:10:52 +01:00
James Agnew ca9223fb70 Add ability to disable stale search expiry 2016-11-17 10:01:23 +01:00
James 6314f5efb3 Fix structuredefinition regression 2016-11-14 12:04:56 -05:00
James 8676489792 Don't incorrectly block transactions 2016-11-11 23:52:16 -05:00
James 42295caa61 Site changes 2016-11-11 22:30:19 -05:00
James Agnew 5fd4ca3438 Index page for 2.1 release 2016-11-11 20:15:36 -05:00
James Agnew d1d3b18729 Credit for #470 2016-11-11 10:50:04 -05:00
James Agnew 01afc49863 Documentation 2016-11-11 10:43:03 -05:00
James ef9f0bc35b Fix unneccesary database flush operation 2016-11-08 22:48:04 -05:00
James d159e44e52 Documentation for next release 2016-11-06 18:14:21 -05:00
James Agnew f551ffb6ed Merge pull request #479 from vadi2/patch-4
Fix marameter typo
2016-11-04 19:00:34 -04:00
James Agnew 68b4a0cff7 Merge pull request #475 from vadi2/patch-3
Fix download link
2016-11-04 19:00:30 -04:00
James Agnew bb05fa6512 Merge pull request #474 from vadi2/patch-2
Fix formatting for LOINC example
2016-11-04 19:00:26 -04:00
James Agnew d30140cd27 Credit for #479, #475, and #474 2016-11-04 18:59:42 -04:00
James af8ae69ee4 AuthorizationInterceptor enhancements 2016-11-04 07:43:22 -04:00
Vadim Peretokin 3f6dfb6ba8 Fix marameter typo 2016-10-27 09:40:09 +10:00
James Agnew a67171e231 Fix #472 - Wrong header being returned (Content-Location instead of
Location) on STU3 server
2016-10-26 12:12:19 -04:00
James Agnew a246809c92 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-10-25 11:45:42 -04:00
James Agnew 3de62701cd Remove unused field in JPA server 2016-10-25 11:30:11 -04:00
Vadim Peretokin ba46f9a55d Fix download link 2016-10-24 13:00:54 +10:00
Vadim Peretokin 7398a7d7ba Fix formatting for LOINC example
At least I hope I do - don't know how to render it, so I'm just going off the SNOMED example above.
2016-10-24 11:14:56 +10:00
James 2a7fa4d8a5 Make authorizationinterceptor stricter 2016-10-22 18:00:55 -04:00
James Agnew 394bf44843 Credit for #455 2016-10-20 11:28:02 -04:00
James Agnew 79e14798cd Credit for #469 2016-10-19 10:39:54 -04:00
James Agnew 3d686e9383 Fix #464 - Pretty print by default in ResponseHighlighterInterceptor 2016-10-18 14:58:28 -04:00
James Agnew 4c2841436f Enhanced android documentation 2016-10-14 17:34:55 -04:00
James Agnew f80bf98dcd Fix #327 - Correctly serialize JSON extension with a reference to a
contained resource
2016-10-14 16:36:29 -04:00
James Agnew e56c75e80c Switch Android library to use OkHttp by default 2016-10-14 16:15:27 -04:00
James Agnew 80e303b65b Credit for #451 2016-10-12 14:39:17 -04:00
James Agnew 97cd78e6bf Fix #454 - Chinese characters were not being correctly normalized 2016-10-12 12:50:56 -04:00
James Agnew b1266cca71 JPA server shouldn't report a totalCount in Bundle of "-1" when
there are no results
2016-10-07 17:52:06 -04:00
James Agnew b37a1edaae Fix offset error when returning multiple pages in JPA search 2016-10-07 17:42:02 -04:00
James Agnew 0093403860 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-10-07 11:31:12 -04:00
James Agnew 2c4139dc82 Allow fluent client to handle return types other than Parameters when
invoking operations
2016-10-07 11:29:53 -04:00
James Agnew 5384af1004 Add #411 to changelog 2016-10-06 13:27:34 -04:00
James Agnew f5eda76388 Use new STU3 mimetypes by default 2016-10-06 12:17:59 -04:00
James a4975887b8 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-10-06 06:28:06 -04:00
James 2a5c26b08b Dependency bump 2016-10-05 05:17:07 -04:00
James Agnew 1fd881d8f8 Return an error if a parameter is called with a chain even though it
doesn't support chaining
2016-10-04 17:02:13 -04:00
James Agnew 80350a52ec Changelog entry 2016-09-30 18:13:20 -04:00
James Agnew 26cd316343 Fix #414: Parser should not choke with a NullPointerException if it
encounters an extension without a URL
2016-09-30 17:35:29 -04:00
James Agnew ff4755fbf3 Fix #441: Correctly handle search with chains across a field with choice
type
2016-09-30 14:03:20 -04:00
James Agnew 8b80d932da Fix #443 - XhtmlNode.equalsDeep() did not work 2016-09-29 15:00:01 -04:00
James Agnew 5da1d22d02 Docs 2016-09-28 17:04:55 -04:00
James Agnew 8a9a031a8d Fix uploading CLI DSTU2 examples 2016-09-28 16:25:01 -04:00
James Agnew eba136d706 Correctly handle custom types in programatic access to JPA 2016-09-27 14:22:48 -04:00
James Agnew 3d73aad275 Fix unit tests 2016-09-21 16:58:57 -04:00
James Agnew ff4e270ca4 Changes 2016-09-18 16:10:12 -04:00
James Agnew ae97165a0a Add interceptor method on server which will be called after all other
processing
2016-09-18 16:08:16 -04:00
James Agnew b20a5e6b90 Bundles for history did not validate 2016-09-18 10:28:24 -04:00
James Agnew d8c99363db Patch modifications 2016-09-18 08:35:54 -04:00
James Agnew 40286f49c2 Merge branch 'patch' of github.com:jamesagnew/hapi-fhir into patch 2016-09-17 23:40:54 -04:00
James Agnew 364c18e06e Use more compatible Accept header in STU3 client. Also fixes missing
Woodstox library in android builds per #450)
2016-09-16 23:46:06 -04:00
James Agnew f92c5a7232 Fix #446 - Don't give child resources the ID of the parent 2016-09-16 15:01:14 -04:00
James Agnew 12790d385c Fix #445 - Server was using the wrong mimetype for conf statement 2016-09-16 13:25:03 -04:00
James Agnew 4de0e38e01 Add credit for #446 and #448 2016-09-16 13:16:28 -04:00
James Agnew a2ffc6af05 Fix #444 - Correct handling of parsing milliseconds in dates before 1970 2016-09-09 18:18:28 -04:00
James Agnew d41b412dee Fix #440 - Don't depend on Saxon 2016-09-08 15:56:15 -04:00
James Agnew 6357c38180 Support _has param in conditional URLs in JPA 2016-09-08 13:14:15 -04:00
James Agnew 202a1ea885 Fix web testing UI regression 2016-09-06 17:59:04 -04:00
James Agnew 98e0753b93 Properly add include resources 2016-08-30 16:38:09 -04:00
James Agnew d27aad487e Bump to 2.0 release 2016-08-30 10:50:04 -04:00
James Agnew faed05c258 Don't include animal sniffer plugin 2016-08-29 19:23:44 -04:00
James 333aa0afde Correctly update versions on transactipn update 2016-08-28 22:56:59 -04:00
James 64066a93ce Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-25 23:07:45 -04:00
James e87a5f9159 Update STU3 version 2016-08-25 23:07:37 -04:00
James Agnew a1105fac1e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-25 18:27:32 -04:00
James Agnew 17940b8a24 Improve performance when parsing contained resources 2016-08-25 17:41:33 -04:00
James 3c65b64ed7 Fix changelog typos 2016-08-25 08:16:27 -04:00
James acdbdc0be7 Fix #426 - Extension with datatype of ID failed to parse 2016-08-25 07:32:37 -04:00
James Agnew c4d302df8d Upgrade to Thymeleaf 3 2016-08-23 19:11:49 -04:00
James aa16a46b74 Fix #428 - Fix NPE when encoding extension 2016-08-23 07:23:07 -04:00
James Agnew e07b5299ac Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-22 09:19:22 -04:00
James 35a890db34 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-22 07:42:02 -04:00
James b70165630a Improve partial string handling in JPA server 2016-08-22 07:05:49 -04:00
James Agnew 7f15520db8 Don't include Location header in server responses for DSTU3 servers 2016-08-21 11:39:44 -07:00
James Agnew da8abca1ff Add custom extension example 2016-08-21 10:24:42 -07:00
James Agnew 379abb8e47 Don't strip urn: prefixes from references when encoding 2016-08-16 11:23:07 -07:00
James Agnew eee168ced6 Add support for conditional operations to AuthorizationInterceptor 2016-08-15 13:35:50 -04:00
James b0d19c3a65 Fix #423 - Encode custom types with custom type fields correctly 2016-08-14 13:05:16 -04:00
James Agnew ac2d55139d Add option to upload-terminology for security header 2016-08-09 15:38:30 -04:00
James Agnew 74950a4efc Fix regression when parsing contained resources 2016-08-05 18:01:44 -04:00
jamesagnew 681f4e153d Credit for #416 2016-08-02 20:18:59 -04:00
jamesagnew 545b359697 Fix #406 - Allow arbitrary authentication realm 2016-08-01 21:36:50 -04:00
James Agnew dd8b1cd979 Use corrrect types from client 2016-07-27 18:15:09 -04:00
jamesagnew 41b58108f2 Bump version dependencies and return 200 for conditional delete with no matches 2016-07-25 08:46:02 -04:00
jamesagnew ca97c0d000 Fix #401 - Don't clear fullUrl on stored bundles 2016-07-24 11:02:20 -04:00
jamesagnew 294e467811 Fix #409 - Tag#setCode did not work 2016-07-24 09:28:22 -04:00
jamesagnew a9b29d5088 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-23 18:51:08 -04:00
jamesagnew 350e82b6cf Fix #403 - Allow references to keep versions when encoding 2016-07-23 18:48:00 -04:00
James Agnew 748c13d0dc Remove bad dependency 2016-07-22 18:33:16 -04:00
James Agnew 7bea8431f7 Add interceptor for rejecting TRACE and other invalid verbs 2016-07-19 19:16:09 -04:00
James Agnew 4177994ad8 Add credit for #404 2016-07-19 19:15:56 -04:00
James Agnew 8f7a374a25 Auto-detect disabled hibernate search 2016-07-18 16:56:41 -04:00
jamesagnew 5073692eda Always include SUBSETTED tag when _elements is used on server 2016-07-18 07:05:11 -04:00
jamesagnew 196c11bfa2 Use new style mimetypes but keep supportuing the old ones as well 2016-07-17 18:35:06 -04:00
jamesagnew ef1c81e241 Fix #150 - Don't encode null fluent client values 2016-07-14 07:18:48 -04:00
James Agnew f6601cc347 Add example for terminology uiploading 2016-07-13 09:40:50 -04:00
James Agnew 1fae24e213 Update download page 2016-07-13 09:22:10 -04:00
James Agnew c3e9f618eb Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
jamesagnew 040c098742 Site updates 2016-07-07 07:40:53 -04:00
James Agnew d63e289cbe Validation fixes 2016-07-05 16:56:06 -04:00
jamesagnew 32bdd14639 Work on term service 2016-07-02 17:14:36 -04:00
James Agnew 38d30eef49 Respect order for order=REPLACE_PARENT 2016-06-29 10:26:36 -04:00
jamesagnew 9b6f548970 Work on term service, and allow child classes when serializing 2016-06-29 08:08:42 -04:00
jamesagnew c28a2c40f0 Fix #394 - Don't use a method from Commons-Lang3 3.3 2016-06-27 06:19:22 -04:00
jamesagnew c2dbcc7ff0 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-06-26 23:12:26 -04:00
jamesagnew fae4344c36 Add documentation around security interceptor 2016-06-25 11:27:55 -04:00
jamesagnew 556058a7b7 Tests passing 2016-06-25 10:55:31 -04:00
James Agnew db0a208927 Work on terminology importing 2016-06-24 18:40:44 -04:00
James Agnew 89f3df80a4 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-06-20 10:53:43 -04:00
James Agnew 102548d22c Fix decimaltype float constructor 2016-06-20 10:52:23 -04:00
jamesagnew 2e8c20dc83 More work on terminology services, and add support to operations to AuthorizationInterceptor 2016-06-20 07:19:08 -04:00
jamesagnew b3d8d453de Improve test coverage and clean up UnclassifiedServerFailureException processing 2016-06-18 10:37:43 -04:00
James Agnew 1166a2ee67 Work on support for _at parameter in history operation 2016-06-13 07:31:25 -05:00
James Agnew 23550240ad Fix #378 - Include mandatory elements in server generated
OperationDefinition resources
2016-06-11 15:28:58 -05:00
James Agnew 8f1e45b3f3 Fix #379 - Server generated OperationDefinitions should generate
separate definitions for operations that are implemented against
multiple resource types
2016-06-11 14:46:13 -05:00
James Agnew 035ed27dab Fix #380 - Correct cardinality for OperationDefinitions 2016-06-10 17:15:16 -05:00
James Agnew 189038ad08 Fix #267 2016-06-10 10:49:51 -05:00
James Agnew 6eca6e5efe Update ResponseHighlighterInterceptor to emit raw content for
_format=xml and _format=json
2016-06-10 10:15:41 -05:00
James Agnew 4a7328231e Fix #365 - Don't label methods as unable to return null when they can 2016-06-08 14:48:55 -07:00
James Agnew 0a2b4290ed Fix #370 - Validation failure when validating certain STU3 resources 2016-06-08 14:21:18 -07:00
James Agnew 7e57aed5d6 Significant performance enhancements for context startup 2016-06-06 11:15:11 -07:00
James Agnew 99568a4b30 Clean up client fluent param types and add some test coverage 2016-06-05 11:33:43 -04:00
James Agnew 87eabe6bf8 More work on terminology server 2016-06-05 09:40:06 -04:00
James Agnew d966190f9e Fix #371 - STU3 server and client should use new sort parameter style 2016-06-04 12:34:44 -04:00
James Agnew 39a96f0258 Fix #374 - Include ETag and Last-Modified headers in response 2016-05-31 13:44:21 -04:00
James Agnew f45ad117fe Improve error messages for invalid validate request 2016-05-29 22:23:30 -04:00
James Agnew a5debc07a3 DateTime parser incorrectly parsed times where more than 3 digits of
precision were provided on the seconds
after the decimal point
2016-05-25 19:20:51 -04:00
James Agnew eabf0039ba Merge branch 'term_svc' 2016-05-24 10:18:08 -04:00
James Agnew e1513a6060 Allow transactions to be posted in web ui for DSTU3 2016-05-24 10:03:19 -04:00
jamesagnew 35ffbf1568 Sync DSTU2 validator with RI 2016-05-24 09:22:16 -04:00
jamesagnew ee031667c5 Fix #369 - FhirTerser cloneInto method fails if target contains extension 2016-05-23 09:20:40 -04:00
jamesagnew 1b58aa33fa Credit for #367 2016-05-22 14:56:27 -04:00
jamesagnew 61ce6021d6 Doc 2016-05-22 14:52:58 -04:00
jamesagnew 77a84195f5 Encode lanugage as a string instead of an array 2016-05-22 14:38:20 -04:00
jamesagnew a65191baa2 Examples for #364 2016-05-22 09:01:24 -04:00
jamesagnew 8863ff25be Add documentation for custom structures 2016-05-22 08:44:35 -04:00
jamesagnew 20b6994cc8 Fix #364 - Allow serializing custom types that contain custom datatypes 2016-05-21 14:35:10 -04:00
jamesagnew 021025ffa9 Fix #366 - Return HTTP 400 instead of 500 when boolean values contain invalid string 2016-05-21 13:07:46 -04:00
jamesagnew 3d8776f6ed Fix #363 - Allow remote references in JPA resources 2016-05-21 12:58:04 -04:00
jamesagnew b03bea3a58 Version bump a few dependencies 2016-05-21 09:37:58 -04:00
James Agnew 7942d69d5d Accept conditional updates with _id as parameter 2016-05-16 19:11:25 -04:00
James Agnew d5e2170595 Don't discard _count from parameters when method has @Count 2016-05-13 19:13:39 -04:00
James Agnew 563f4e4c46 Treat date eq params correctly 2016-05-13 18:49:41 -04:00
James Agnew 84a7856c19 Treat missing ID in resource body as warning 2016-05-13 18:04:07 -04:00
James Agnew 54d0fa0faa Add a new option to CLI run-server called "--lowmem" which puts the
server into low memeory mode
2016-05-10 13:45:30 -04:00
James Agnew bca8589177 Index DSTU3 timing datatypes 2016-05-09 16:32:31 -04:00
James Agnew 061243b5c7 Allow delete bundle to contain multiple deletes for the same resource 2016-05-08 13:11:55 -04:00
James Agnew 81cb769d18 Allow operation names to be escaped in URL 2016-05-07 19:28:36 -04:00
James Agnew af2b702aa4 Fixes from Montreal connectathon 2016-05-07 14:24:33 -04:00
James Agnew 848ad158e2 Remove Remittance resource from DSTU2 2016-05-06 19:52:10 -04:00
James Agnew 4ae4b1a8d8 Support composite parametrs with quantity type in JPA 2016-05-06 18:43:07 -04:00
James Agnew 8c8434943c Credit for #361 2016-05-06 17:55:16 -04:00
James Agnew fd2671d28e Fix validation issue 2016-05-06 17:44:23 -04:00
jamesagnew 689df98cf9 Credit for #359 2016-05-05 07:08:48 -04:00
jamesagnew 1c082f7f6e Credit for #356 2016-05-05 07:03:58 -04:00
jamesagnew 387c4793f7 Credit for #355 2016-05-05 06:59:50 -04:00
jamesagnew b4d3a7bb74 Don't highlight AJAX requests 2016-05-04 06:59:28 -04:00
jamesagnew 244cad6224 Allow validator exceptions to be ignored via confoguration 2016-05-03 21:58:09 -04:00
jamesagnew cce0ce6b8e Add parser for URL parameters to avoid Servlets using ISO-8859-1 instead of UTF-8 2016-05-03 08:58:56 -04:00
jamesagnew dcd32b6127 Correctly handle search parameter target types in JPA 2016-05-03 07:03:44 -04:00
James Agnew 3e8638a65f Fix tests 2016-05-02 19:03:36 -04:00
James Agnew 804149205a Work on getting tests passing 2016-05-02 11:42:55 -04:00
James Agnew c90795ccef Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-05-02 09:03:48 -04:00
jamesagnew 9b55d0000b Fix #354 - Bring back setFoo(List) and getFooFirstRep() methods to DSTU3 structures 2016-05-01 10:19:50 -04:00
jamesagnew e3e81ff202 Fix #352 - Client should auto download resource if server ignores prefer header 2016-05-01 09:30:12 -04:00
jamesagnew 2bc1950bc1 JPA server transactions sometimes created an incorrect resource reference if a resource being saved contained references that had a display value but not an actual reference. Thanks to David Hay for reporting! 2016-04-29 09:21:12 -04:00
James Agnew 2d81612cd8 Fix #350 - Correct serialization for custom types which have fields
replacing other fields
2016-04-28 13:25:20 -04:00
jamesagnew d45a9b67dc Allow forced IDs to be reused between resource types 2016-04-24 19:24:55 -04:00
jamesagnew 514da88787 Improve performance in parser when parsing large bundles 2016-04-23 13:54:16 -04:00
jamesagnew 3eb805fb0a Respect _format=application/xml+fhir 2016-04-23 12:17:27 -04:00
jamesagnew 941091dbf7 Deprecate fluent search without an explicit bundle type declaration 2016-04-23 10:15:13 -04:00
jamesagnew d76e0008ac Fix #342 - The HTTP 400 if request fail to parse 2016-04-22 07:19:57 -04:00
jamesagnew dd3f1dd33c Fix #345 - ResponseValidatingInterceptor throws an exception with response has no content 2016-04-22 07:04:14 -04:00
jamesagnew fcf0604e98 Site doc updates 2016-04-21 07:15:01 -04:00
James Agnew a8b121d868 Try to fix tests 2016-04-20 09:03:43 -04:00
James Agnew 8bb00839d0 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-20 07:28:17 -04:00
jamesagnew 8b59b61250 Release docs 2016-04-20 07:03:30 -04:00
James Agnew 2c665d1b39 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-19 21:58:37 -04:00
James Agnew 81fa46820a Correctly support _summary=search option 2016-04-19 21:58:20 -04:00
jamesagnew 3a0de6e6f8 Fix #339 - Disable XXE XML parsing vulnerability 2016-04-19 07:55:24 -04:00
jamesagnew 43969cb8ce Fix tests on CLI 2016-04-19 06:35:15 -04:00
jamesagnew 59c44a3b0b More test fixes 2016-04-17 20:57:27 -04:00
jamesagnew f3a41570d3 Try to get tests workign on Travis.. yet again 2016-04-17 19:25:11 -04:00
jamesagnew 846e216c04 Fix tests 2016-04-17 12:58:36 -04:00
jamesagnew 1af65ff5a8 Fix #335 (also fixes #336) - Correctly parse and serialize IDs on elements within a resource 2016-04-17 10:12:34 -04:00
jamesagnew 81dec23faf Correctly populate Bundle.entry.fullUrl on Hl7OrgDstu2 servers 2016-04-14 06:59:43 -04:00
James Agnew 07d86c50d6 Work on cobertura 2016-04-13 08:09:51 -04:00
jamesagnew 2f37015d57 Clean up parsers so that elements are always encoded according to their order in the structures that contain them 2016-04-11 08:36:12 -04:00
jamesagnew b81a343f5d Add support for JPA searches with _tag:not=foo 2016-04-07 09:50:05 -04:00
jamesagnew e30ebf69ba Fix #325 - Fix equalsShallow and equalsDeep when a field is null on one side and empty on the other 2016-04-05 22:05:45 -04:00
James Agnew 39fc134482 Fix #326 - Correctly serialize DSTU3 references in JsonParser. Thanks to
@fw060 for the patch!
2016-04-05 16:33:29 -04:00
jamesagnew 079f966086 Parser enhancements when parsing bundles 2016-04-05 08:59:24 -04:00
jamesagnew 45390ebc89 Don't parse 1974-12-25+10:00 as this is not a valid FHIR time 2016-04-03 18:45:08 -04:00
James Agnew 1aebff9a43 Add RES_ID indexes to help performance searchin across large datasets 2016-03-27 08:59:39 -04:00
James Agnew b2f11e0bfc Fix #317 - Allow search params to be used when doing REST operations 2016-03-26 13:44:54 -04:00
James Agnew 20081a419d Fix #320 - Don't generate binding enums for example binding fields on
resources
2016-03-25 20:15:01 +01:00
James Agnew 6ffb1c8c56 Fix #312 - Don't fail if extension list contains a null 2016-03-25 19:27:18 +01:00
James Agnew f49130baf8 Add unit tests and documentation to the JAX-RS client implementation 2016-03-25 19:17:41 +01:00
James Agnew f9fa6265df Correctly handle JPA search by token with system but no code 2016-03-25 16:20:43 +01:00
James Agnew de3cd6fdf6 Credit for #321 2016-03-25 11:42:40 +01:00
James Agnew c6f06548fc Fix #315 - Use custom types for searches and other client operations
when requested
2016-03-24 11:09:41 +01:00
James Agnew 1adfc4b4d9 Fix #315 - Allow declaring of custom types for specific profiles 2016-03-22 11:46:08 +01:00
James Agnew 82c6d82444 Sere up Binary resources as binary content even if the browser puts
application/xml in the Accept header
2016-03-18 18:38:44 +01:00
James Agnew 3922ff026e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-03-16 17:42:54 -04:00
jamesagnew 9aa7eea274 Add mode to parser to force it to not encode certain elements when serializing 2016-03-16 07:53:21 -04:00
jamesagnew 2ae2cbba23 Roll back site plugin to 3.4. What a nightmare. 2016-03-16 07:01:20 -04:00
James Agnew 9c8d9db7e6 Use separate index columns 2016-03-15 10:35:24 -04:00
James Agnew 00ced6a652 Improve performance of _lastUpdated queries in JPA server 2016-03-14 06:31:45 -04:00
James Agnew 6ddf91d9e2 Correctly handle extended operation in annotation based client where the
response is a raw resource and not a Parameters resource
2016-03-12 15:10:02 -05:00
James Agnew 452316aed7 Fix #313 - Do not treat OPTIONS [base]/foo as a request for server's
conformance statement. Thanks to Michael Lawley for reporting!
2016-03-12 14:53:20 -05:00
James Agnew ce253bed70 Properly deserialize bound codes 2016-03-12 13:23:55 -05:00
jamesagnew 232afee955 Improved error messages for #305 2016-03-11 07:56:00 -05:00
jamesagnew ed92f64e52 Fix #305 - Don't allow update resource body IDs to be missing or incorrect 2016-03-10 07:44:05 -05:00
jamesagnew 3897167518 Return correct bundle type on $everything operation 2016-03-09 23:11:40 -05:00
James Agnew 6f79f6c5e2 Keep the complete resource history in the history table, including the
current version
2016-03-09 15:34:49 -05:00
James Agnew 3bfcb57783 Page JPA search results to the database 2016-03-07 07:23:44 -05:00
jamesagnew fb882f899e Changelog tweak 2016-03-06 12:04:54 -05:00
jamesagnew 99a4b2c29e Refactor JPA SearchBuilder 2016-03-05 20:46:04 -05:00
jamesagnew eba3ca8e59 Improve documentation per Issue #309 2016-03-02 22:44:09 -05:00
jamesagnew 0ea8457a00 Fix VRead in web testing UI 2016-03-02 22:35:17 -05:00
jamesagnew b147083f5a Fix #308 - Remove unneded warning on parsing declared extension 2016-03-02 22:18:33 -05:00
jamesagnew 94f50686bc Fix #304 - Better error message if wrong generic type is used 2016-03-02 07:06:17 -05:00
jamesagnew 3fd9f9518a Handle unexpected extensions when parsing using IParserErrorHandler 2016-03-02 06:52:46 -05:00
jamesagnew c44b23f493 Fix #280 - Don't leave web testing UI buttons disabled when you return to a page via the back button 2016-03-01 07:15:02 -05:00
jamesagnew 496d866f48 Fix #274 - Primitive elements with no value but an extension were sometimes not encoded correctly in XML, and sometimes not parsed correctly in JSON. 2016-02-28 22:15:43 -05:00