Commit Graph

1520 Commits

Author SHA1 Message Date
James Agnew 10ff2dd16c Add test 2017-06-28 19:54:24 -04:00
James b474a1f2ef Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-16 10:00:27 -04:00
James 507cac3127 Respect prefer header on transaction processing 2017-06-16 09:52:12 -04:00
James Agnew 7588a2ecff Modify patch for #655 so that it fixes #604 without causing us to allow
invalid values
2017-06-09 16:30:20 -04:00
christian ohr 872d72629c #604:allow MINUTE precision for datetimes 2017-06-09 15:21:53 -04:00
James Agnew c2e5fa3f18 Fix #667 - When using the AuthorizationInterceptor with the JPA server, when a client is updating a resource from A to B, the user now needs to have write permission for both A and B 2017-06-09 11:48:17 -04:00
James 14edc79ac1 Version bump to 2.6-SNAPSHOT 2017-06-09 07:28:29 -04:00
James 8b5209ff67 Version bump to 2.5 2017-06-08 06:34:44 -04:00
James Agnew c04146a76a Revert "Allow MINUTE precision for datetimes. Closes #604" 2017-06-07 21:42:52 -04:00
James Agnew 1b557b05f0 Merge pull request #655 from ohr/master
Allow MINUTE precision for datetimes. Closes #604
2017-06-07 21:30:33 -04:00
James Agnew 7d5fbe7482 Merge pull request #649 from iceoss/rest-client-patch
Null access fix for BaseClient exception handlers.
2017-06-07 21:15:22 -04:00
christian ohr aafde2eceb #604:allow MINUTE precision for datetimes 2017-05-26 15:27:58 +02:00
James 6dbcd0fc31 Remove import 2017-05-22 16:20:58 -04:00
James 6764079129 Bugfixes to the testpage overlay 2017-05-22 16:15:51 -04:00
James Agnew 5ef8b70a1f Merge branch 'master' into master 2017-05-20 18:25:02 -04:00
James 78643981f6 Credit and test for #636 2017-05-20 18:12:34 -04:00
James Agnew 77109cb76b Merge pull request #636 from gijsbert802/fix-hex-encoded-xml-entity-parsing
Fix parsing of hexadecimal encoded entities.
2017-05-20 18:10:27 -04:00
James Agnew 9ca8a285b9 Merge pull request #633 from gijsbert802/use-charset-from-http-header-2
Use the charset from the content-type header of the HttpRequest instead of always using the default charset.
2017-05-20 17:59:03 -04:00
James d550392047 Fix nullpointer exception 2017-05-20 11:44:03 -04:00
James f6ee4db598 Process :missing qualifier on date params 2017-05-19 20:36:06 -04:00
Eugene Lubarsky 3afab596ab ResponseHighlighter enhancements - hyperlinks and dateTime/UUID whole-string selection via some javascript 2017-05-19 19:32:30 +10: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
maclema 06919f9a20 Update BaseClient.java
Fix for null access on httpRequest in DataFormatException and IOException handlers.
2017-05-16 15:15:54 -06:00
James Agnew 4948cdeef5 Fix broken test 2017-05-15 18:22:46 -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 da2d7c3bc3 Clean up testpage overlay 2017-05-14 11:27:52 -04:00
James Agnew 897c65e818 CLI and HttpClient cleanup 2017-05-14 06:39:23 -04:00
Jeff Chung 663125fe94 Resthook subscription implementation, event driven websocket subscription implementation, Tminus subscription support, notification on delete 2017-05-09 15:08:59 -07:00
James Agnew e53d747f2b Get large searches working on Oracle 2017-05-05 15:45:45 +02:00
James Agnew 1af36db7f7 Add unit test only 2017-05-02 09:20:45 -04:00
James Agnew 2a89ff88f7 Merge pull request #630 from Jaypeg85/concurrency_issue
concurrency_issue
2017-05-01 15:20:45 -04:00
Gijsbert van den Brink 1fc15905db Fix parsing of hexadecimal encoded entities. 2017-04-28 12:07:00 +02:00
Gijsbert van den Brink 9ffbeb892b Use the charset from the content-type header of the HttpRequest instead of always using the default charset. 2017-04-25 15:33:48 +02:00
James 716fa56b8f Merge branch 'jpa_perf_enhancements' 2017-04-21 06:30:22 -04:00
Jeppe Langhoff Sørensen 6eda689fb1 [(concurrency_issue)] Fixed concurrency issues in BaseRuntimeElementCompositeDefinition
Removed exceptions used in control flow in ParserState
Test showing further concurrency issues in FhirContext (committed as ignored).
2017-04-21 09:34:33 +02:00
James cbc652d226 Version bump to 2.5-SNAPSHOT 2017-04-20 16:13:15 -04:00
James Agnew 8887f57577 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-04-20 16:12:02 -04:00
James Agnew bc545f8e3c Issue #590 - Handle paging requests for AuthorizationInterceptor 2017-04-20 16:11:09 -04:00
James 9d3d15ce6f Version bump to 2.4 2017-04-19 21:38:36 -04:00
James cc526f6d99 Upgrade to STU3 2017-04-18 21:58:23 -04:00
James 077676fd03 Bring DSTU3 structs up to FHIR R3
Squashed commit of the following:

commit 65b70d30c9
Author: James <jamesagnew@gmail.com>
Date:   Tue Apr 18 07:44:08 2017 -0400

    More work on bringing structs up to date

commit 1df2de0667
Author: James <jamesagnew@gmail.com>
Date:   Tue Apr 18 07:12:45 2017 -0400

    Working

commit 9a51323e03
Author: James <jamesagnew@gmail.com>
Date:   Mon Apr 17 22:18:24 2017 -0400

    Updates to STU3

commit 40aebba0a7
Author: James <jamesagnew@gmail.com>
Date:   Mon Apr 17 18:30:26 2017 -0400

    Fix regression caused by #610
2017-04-18 07:48:38 -04:00
James 6a5d0f95ae Add double-check for #610 2017-04-17 18:10:57 -04:00
James Agnew 9201692c70 Merge pull request #610 from dangerousben/init-race-condition
Fix FhirContext initialisation race condition.
2017-04-17 18:02:06 -04:00
James Agnew 282e02801a Merge pull request #624 from CarthageKing/feature-make-bundle-fullurl-override-configurable
Feature make bundle fullurl override configurable
2017-04-17 17:46:45 -04:00
James Agnew eea84815c3 Merge pull request #623 from aehrc/feature/legacyContentTypeFHIR140take2
Accept header and MIME type fixes for DSTU2_1
2017-04-17 17:44:22 -04:00
James 5adc09ad56 perf enhancements finally working 2017-04-17 16:56:53 -04:00
James 1d9e0dc4cc Merge branch 'jpa_perf_enhancements' of github.com:jamesagnew/hapi-fhir into jpa_perf_enhancements 2017-04-16 15:58:38 -04:00
James cf938752b5 Doc fix 2017-04-16 15:58:27 -04:00
James Agnew 08ec97e78a More work on perf 2017-04-16 15:57:58 -04:00
James Agnew 62ece72e6f More perf work 2017-04-16 12:08:23 -04:00
James Agnew 54055f5bfb Support extensions pointing to references for JPA custom search params 2017-04-14 07:26:49 -04:00
James 1039bbec97 More perf work 2017-04-14 07:25:01 -04:00
michael.i.calderero 7d9883014a add configuration setting to disable overriding of resource ids when the
Bundle.entry.fullUrl is specified
2017-04-13 11:32:05 -05:00
James Agnew 23b7de5dd8 More perf work 2017-04-12 18:28:10 -04:00
Michael Lawley 51f8ef7f7f fix FhirVersionEnum order tests wrt equivalent; fix Accept headers 2017-04-12 18:00:18 +10:00
James Agnew cba5aeb47b More perf work 2017-04-10 17:55:50 -04:00
James 90a4e2def2 More work on perf improvements 2017-04-08 19:46:51 -04:00
James Agnew dd84fced5e Merge branch 'master' into jpa_perf_enhancements 2017-04-08 06:54:13 -04:00
James Agnew bf94d78872 Doc updates 2017-04-08 06:53:49 -04:00
James Agnew 660c2bde72 More work on perf 2017-04-06 22:23:20 -04:00
James Agnew 9b1366734a Merge branch 'master' into jpa_perf_enhancements 2017-04-03 15:20:55 -04:00
James Agnew 6ab1cb4c2e Fix compile issues from new version of errorprone 2017-04-03 14:43:59 -04:00
James Agnew efaa7a74cb Work on perf enhancements to JPA 2017-03-30 19:58:32 +08:00
James Agnew ce73e89715 For bit of work on JPA perf enhancements 2017-03-30 06:28:34 +08: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
Ben Spencer 42819dba77 Fix FhirContext initialisation race condition. 2017-03-28 17:24:48 +01: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 69748538d6 Fix a big with the new permissions 2017-03-24 21:10:44 +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 40848b1beb Version bump to 2.4-SNAPSHOT 2017-03-18 12:24:39 -04:00
James 8e800a10b7 Header fixes 2017-03-18 09:38:33 -04:00
James 295e9ec185 Updates for 2.3 2017-03-17 21:49:19 -04:00
James e18ab206d7 Version bump to 2.3 2017-03-17 21:21:59 -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 Agnew 64be79e295 Merge pull request #571 from jodue/master
Pull request for issue #551 to fix parsing of input fields > 512kb with JBoss
2017-03-17 06:46:25 -04:00
James Agnew 45e4bd92ee Merge branch 'master' into jaxrs-sever-evolution 2017-03-16 22:04:55 -04:00
James fc7ac7ab00 Credit for #542 2017-03-16 21:57:55 -04:00
James 8a32e4bae5 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-03-16 21:36:14 -04:00
James 2f367a1a4e Get process message working 2017-03-16 21:32:59 -04:00
James 9501ea0961 Merge branch 'master' of https://github.com/hugosoares/hapi-fhir into hugosoares-master 2017-03-16 21:32:51 -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 120227da2f License headers 2017-03-11 14:57:43 -05:00
James Agnew 01d102accc Correct handling of contained resources in a response for annotation
client
2017-03-01 17:23:31 -05:00
Diederik Muylwyk 3def6f508a New hooks for request validating (#565)
* Initial work on hooks for tags.

* Added a post-processing hook for subclasses of BaseValidatingInterceptor.

* Added more performant conversion from Enum ordinal to Enum type to ResultSeverityEnum.
2017-03-01 08:53:16 -05:00
johannes.duenser 0af1041bee Catch Exception on check for Woodstox version property to be on the safe side 2017-02-27 16:04:38 +01:00
johannes.duenser 194074e0cc merged with upstream branch.
Merge remote-tracking branch 'upstream/master'
2017-02-27 14:21:24 +01:00
johannes.duenser 837264ea48 Check if Woodstox is used not only by class instance but also by property to fix max-element-size issue for JBoss 2017-02-27 14:14:25 +01:00
James Agnew 0d066275a3 Add base to search param 2017-02-18 16:41:36 -05:00
James Agnew 5811702a92 Merge branch 'master' into master 2017-02-17 17:39:55 -05:00
James Agnew 82ac69d86c Throw correct HTTP status when validation fails because of missing ID 2017-02-11 19:22:25 -05:00
Hugo Soares da9daf86c0 Merge remote-tracking branch 'refs/remotes/jamesagnew/master'
# Conflicts:

#	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/GenericClient.java
2017-02-09 15:19:08 +00:00
hugosoares 09f44ebc2d Merge branch 'master' into master 2017-02-09 14:23:33 +00:00
Hugo Soares 6eee5e696e Changes requested by james
https://github.com/jamesagnew/hapi-fhir/pull/542
2017-02-09 13:59:00 +00:00
James 12e047b931 Fix a couple of compile issues 2017-02-09 06:53:22 -05:00
James Agnew 0dd6364fe5 Improve paging in JPA server for _history operation 2017-02-08 21:42:17 -05:00
sekaijin 7adb35d003 resolve some warnings
unused
then clause does not complete normally
serial
missing @Override
remove unnecessary cast
2017-02-08 16:41:03 +01:00