Commit Graph

1470 Commits

Author SHA1 Message Date
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
Sebastien Riviere c3447c3b4d Remove substitution string to use relative url, Fix client parser and custom extension. 2017-02-08 11:14:19 +01:00
James b7f165019d Tweak re-indexing 2017-02-07 07:00:51 -05:00
James 116cb1c8f7 Work on repopulating 2017-02-06 21:57:23 -05:00
Sebastien Riviere 3bf6555d61 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir into jaxrs-sever-evolution 2017-02-06 11:34:31 +01:00
James d4dda1dace headers 2017-02-04 18:21:09 -05:00
James 7149d2e053 Merge branch 'custom_jpa_search_params' 2017-02-04 16:34:05 -05:00
James Agnew 3f8a8cd8aa Merge pull request #548 from sekaijin/cleanup
Cleanup
2017-02-04 16:02:50 -05:00
James Agnew c85c2269a1 Work on custom params 2017-02-04 14:41:11 -05:00
James 97ff79d730 Work on custom params 2017-02-02 20:37:58 -05:00
James Agnew 3191c907a3 Work on JPA 2017-02-02 06:23:28 -05:00
James b4a362b8ee Work in progress 2017-02-01 05:55:35 -05:00
James Agnew ea1ebb245e Merge pull request #547 from daliboz/master
Fix #546 CapturingInterceptor will now buffer response
2017-01-31 07:20:01 -05:00
James 11f1f4f6ee Deprecate getAllPopulatedChildElementsOfType 2017-01-31 06:53:04 -05:00
James ce80007f8d Bump spring version and refactor examples 2017-01-29 22:55:22 -05:00
James Agnew 788792e004 Merge pull request #538 from CarthageKing/feature-parameterutil-fix
Ensure ParameterUtil.splitParameterString correctly parses consecutive unescaped delimiter
2017-01-29 17:53:39 -05:00
James Agnew 0223b5341c Merge pull request #489 from jkiddo/master
Added new independant overlay build for example usage and lenient handling
2017-01-29 17:50:20 -05:00
James b66aa9761e Allow parsing of RSQuot 2017-01-29 15:49:10 -05:00
sekaijin a150a96089 dependencies convergence
correct dependencies convergence
correct version use ${project.version}
2017-01-29 19:22:28 +01:00
sekaijin 23784c1619 remove .settings .project .classpath file of eclipse 2017-01-28 17:13:47 +01:00
Jenni Syed c1e6f82385 Fix #546 CapturingInterceptor will now buffer response if the entity is not repeatable. 2017-01-27 17:45:53 -06:00
Sebastien Riviere dabb3ea2c5 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir into jaxrs-sever-evolution
# Conflicts:
#	hapi-fhir-structures-dstu3/src/test/java/ca/uhn/fhir/parser/JsonParserDstu3Test.java
2017-01-27 10:16:43 +01:00
James 12598b4e3b Correctly handle declared extensions with multiple possible types
Squashed commit of the following:

commit d6ea0552b7
Author: James <jamesagnew@gmail.com>
Date:   Thu Jan 26 09:04:58 2017 -0500

    FIx test

commit e5876f7d86
Author: James <jamesagnew@gmail.com>
Date:   Thu Jan 26 08:35:38 2017 -0500

    Work on extensison

commit 7e573c2299
Author: James <jamesagnew@gmail.com>
Date:   Thu Jan 26 07:27:25 2017 -0500

    Work on extensions

commit 234b4a0c1c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jan 26 06:25:47 2017 -0500

    More work on these extensison

commit 2eb780a690
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed Jan 25 22:35:57 2017 -0500

    Work on multitype extensions
2017-01-26 11:07:52 -05:00
James 8e444fab93 Javadocs 2017-01-25 05:56:22 -05:00
James 8e0a904997 Add adapter for IServerOperationInterceptor 2017-01-24 13:34:30 -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 3ff29370e6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-01-21 18:03:58 -05:00
James d616d20511 Send correct status code from ResponseHighliterInterceptor 2017-01-21 18:03:41 -05:00
Sebastien Riviere cac44c736c Add the possibility to use the serverBaseUrl to generate the url of extension, if %BASE_SERVER_URL% is found 2017-01-19 14:54:17 +01:00
hugosoares c9e11f64aa Merge branch 'master' into master 2017-01-19 09:03:43 +00:00
Hugo Soares 59d29c45b3 Feature Request: Add client support for $process-message special operation #407
Changed client to send messages to a processing server:
Object response = client
.operation()
.onServer()
.processMessage()
.setResponseUrlParam("http://myserver/fhir")
.setMessageBundle(msgBundle)
.execute();
2017-01-18 19:33:56 +00:00
michael.i.calderero b59c24ab7c return 404 instead of 400 when the FHIR resource/endpoint is not
recognized/not supported
2017-01-17 20:37:43 -06:00
James Agnew 22f796fa7c Allow history operation at type level with authorizationinterceptor 2017-01-16 18:41:39 -06:00
James Agnew 322051a383 Fix failing tests 2017-01-14 07:55:42 -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
michael.i.calderero a6a1416888 Place empty values when splitting a parameter with a certain char and
here are at least two unescaped and consecutive variants of the given
char in the string.

This ensures that for example a QuantityParam with a param value of
"5.5||mg" the "mg" will not be treated as the 'system' but be treated
correctly as the 'unit' of the parameter object.
2017-01-12 14:21:30 -06: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 c7767937fc License version bumps 2017-01-09 17:48:42 -05:00
James e05b0e5d8a Add test for localizer and add some docs 2016-12-30 08:53:42 -05:00
James Agnew 118c2c4238 Dependency changes 2016-12-25 12:49:07 -05:00
James b448e13edd Version bump to 2.3 2016-12-20 19:01:31 -05:00
James 0ec61533a8 Publish 2.2 2016-12-20 19:00:37 -05:00
James Agnew 750d6d4655 Switch public server to use CapabilityStatement for metadata return type 2016-12-20 15:35:54 -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 4eb2e017f8 Fix #528 - Allow reads by compartment in authorizationinterceptor 2016-12-13 18:30:47 -05:00
James ab17ee68a3 Revert IFhirVersion method signature changes for #520 2016-12-11 18:55:59 -05:00
James e678908087 Licenses 2016-12-11 18:04:59 -05:00
James 9cb014724b Add validator for DSTU2.1 2016-12-11 17:39:05 -05:00
James 901a85880c Update STU3 definitions and being in STU2.1 defs too 2016-12-10 19:51:25 -05:00