Commit Graph

1914 Commits

Author SHA1 Message Date
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
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
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 Agnew 47ea6c3426 Merge pull request #520 from aehrc/feature/legacyContentTypeFHIR140
Ensure that older DSTU3 versions use the legacy mime types
2016-12-10 14:18:15 -05:00
James ee63bbea74 Fix #516 - Handle STU3 invalid enum values with an appropriate exception 2016-12-10 14:14:22 -05:00
jamesagnew 1fba4ff265 Test refactor 2016-12-10 08:47:28 -05:00
James Agnew 0def3d5a72 Merge pull request #525 from aehrc/feature/parser_exception_handling
#516 Report invalid values for enums through parser error handler
2016-12-10 07:39:36 -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
Michael Lawley a9a3507544 #516 Report invalid values for enums through parser error handler 2016-12-06 10:32:23 +10:00
James fd26f074e5 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-12-04 21:09:48 -05:00
James ccfe74ba38 Add license headers 2016-12-04 21:09:28 -05:00
Michael Lawley 8846477b7b Ensure that older DSTU3 versions (ie Baltimore / May2016 / 1.4.0) use the legacy mime types 2016-11-30 12:03:02 +10:00
James Agnew fc55c2cae8 Merge pull request #518 from aehrc/master
#517 Add fallback for for pre-CapabilityStatement STU3 client
2016-11-25 18:00:36 -05:00
James Agnew 81773de261 Fix #276 - Prevent contained resources being encoded as duplicates 2016-11-25 17:18:57 -05:00
Michael Lawley fcf8894d11 silly missing bracket 2016-11-25 13:14:48 +10:00
Michael Lawley f6ae22c59c #517 Add fallback for for pre-CapabilityStatement STU3 client 2016-11-25 12:05:59 +10:00
jamesagnew 69871bb8c2 Improve testing on CorsInterceptor 2016-11-24 19:25:37 -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 03935be97f Work on common FluentPath interface 2016-11-21 15:52:17 +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 bf35f7e4b2 Fix #495 - Auto-detect DSTU3 mode when those resources are on classpath 2016-11-21 13:44:54 +01:00
Jens Kristian Villadsen f710094c93 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2016-11-15 13:42:07 +01:00
Jens Kristian Villadsen 6aba4610e6 Added initial lenient handling 2016-11-15 13:41:13 +01:00
James Agnew 72a62817aa Improve detection for #477 2016-11-15 05:54:56 -05:00
James Agnew 4252415e9c Fix #477 - Gracefully handle unexpected elements starting with _ 2016-11-15 05:44:45 -05:00
James 8676489792 Don't incorrectly block transactions 2016-11-11 23:52:16 -05:00
James 2d7592f7a8 Version bump to 2.2-SNAPSHOT 2016-11-11 22:39:45 -05:00
James 047ca6a308 license header 2016-11-11 20:17:06 -05:00
James 2dd26b6367 Version bump to 2.1 2016-11-11 15:16:53 -05:00
James Agnew a03805a6d4 Clean up patch client 2016-11-11 15:08:16 -05:00
James Agnew 846aecfe89 Merging #470 2016-11-11 10:45:53 -05:00
James Agnew 01afc49863 Documentation 2016-11-11 10:43:03 -05:00
James a5d5d3e031 Bump FHR version 2016-11-06 17:34:13 -05:00
James af8ae69ee4 AuthorizationInterceptor enhancements 2016-11-04 07:43:22 -04:00
James f838b80373 Work on authorization interceptor 2016-11-04 06:53:26 -04:00
James 6cb502266c More cleanup for auth interceptor 2016-11-03 08:27:14 -04:00
James 8c53ad24f7 Clean up authorization interceptor tests 2016-11-03 08:10:54 -04:00
James 3a5a771de7 Fix #484 - Correctly parse resources containing an empty div tag as the narrative 2016-11-03 07:51:11 -04:00
James e7e0bf8d54 Fix regression in AutohrizationInterceptor 2016-10-26 21:55:08 -04:00
James Agnew f5bec16cb4 Fix tests for #472 2016-10-26 14:10:43 -04: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 2a7fa4d8a5 Make authorizationinterceptor stricter 2016-10-22 18:00:55 -04:00
James Agnew 173d40496d Merge pull request #455 from hnnesv/dstu1-atom-entry-author
DSTU1: Add entry author to encoded xml bundle
2016-10-20 11:28:59 -04:00
Bill Denton 913fd32c2b Support JSON-like resource structures (#469)
* rebuild on 2.1 code and add more test coverage

* additional test coverage
2016-10-19 10:40:38 -04:00
James Agnew 3d686e9383 Fix #464 - Pretty print by default in ResponseHighlighterInterceptor 2016-10-18 14:58:28 -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 deae820ebe Fix up comnpile issue 2016-10-12 15:29:40 -04:00
James Agnew f47597d2ec Rename client param method 2016-10-12 14:51:47 -04:00
James Agnew 8c455d41b6 Rename method from #451 2016-10-12 14:47:51 -04:00
James 09af42200c License headers 2016-10-11 05:30:22 -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 11d3ae9447 Fix #411 - Searching by POST with urlencoded parameters doesn't work if
interceptors are accessing the parameters and there is are also
parameters on the URL
2016-10-06 13:23:32 -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 61d6f1ba8d Second attempt to fix #459 2016-10-04 17:55:28 -04:00
James Agnew 012090b719 Fix #459 - Race condition in unit tests 2016-10-04 17:15:51 -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 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 eba136d706 Correctly handle custom types in programatic access to JPA 2016-09-27 14:22:48 -04:00
hnnesv 92e6b6d884
DSTU1 Atom: Add entry author to encoded xml bundle 2016-09-23 13:06:21 +02:00
James Agnew 3d73aad275 Fix unit tests 2016-09-21 16:58:57 -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 40286f49c2 Merge branch 'patch' of github.com:jamesagnew/hapi-fhir into patch 2016-09-17 23:40:54 -04:00
James Agnew 6e97936eca More work on patch 2016-09-17 16:55:21 -04:00
qagwaai 58185d199b Updated GenericClient to call MethodUtil updated signature 2016-09-17 14:24:18 -04:00
James Agnew ad447126f2 Merge in patch changes 2016-09-17 13:55:12 -04:00
James Agnew e50a34b540 Merge branch 'patch' of github.com:jamesagnew/hapi-fhir into patch 2016-09-17 13:41:17 -04:00
James Agnew 1343badba4 Working on patch 2016-09-17 13:40:03 -04:00
qagwaai 5ebc3ef513 initial patch scaffolding 2016-09-17 13:36:56 -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
FilipDomazet e2f03a9a26 Fixed issue with adding profile information to an unmodifiable list (#448) 2016-09-16 15:02:22 -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 1db9f726f9 Localizer update 2016-09-15 09:05:49 -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 ed7e6929a7 Add gitignore 2016-09-09 08:32:45 -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 6b9f8ec487 Fix unit tests 2016-08-30 18:27:57 -04:00
James Agnew 98e0753b93 Properly add include resources 2016-08-30 16:38:09 -04:00
James Agnew 906bcfb803 Version bump to 2.1 2016-08-30 10:55:55 -04:00
James Agnew d27aad487e Bump to 2.0 release 2016-08-30 10:50:04 -04:00
James d36e0013c0 Add version constant for dstu2.1 2016-08-29 07:33:29 -04:00
James 333aa0afde Correctly update versions on transactipn update 2016-08-28 22:56:59 -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 9d3bd1ada4 Don't add an empty narrative if no template exists 2016-08-24 13:06:08 -04:00
James 9f5d672133 Improve error handling in narrative generator 2016-08-24 06:09:55 -04:00
James Agnew c4d302df8d Upgrade to Thymeleaf 3 2016-08-23 19:11:49 -04:00
James 1ca39a9e71 Fix tests 2016-08-23 07:49:18 -04:00
James aa16a46b74 Fix #428 - Fix NPE when encoding extension 2016-08-23 07:23:07 -04:00
James 0e7405cef2 Better error message when localizer can't find key 2016-08-22 21:33:07 -04:00
James Agnew cc6c32f987 Fix tests 2016-08-22 09:43:01 -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 Agnew 7f15520db8 Don't include Location header in server responses for DSTU3 servers 2016-08-21 11:39:44 -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 8354f4b565 Use correct accept header 2016-08-05 18:39:44 -04:00
James Agnew 74950a4efc Fix regression when parsing contained resources 2016-08-05 18:01:44 -04:00
James Agnew 4ff25b093f Add license headers 2016-08-05 15:50:53 -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 fd4979f56a Fix compile issues 2016-07-24 11:11:27 -04:00
jamesagnew 294e467811 Fix #409 - Tag#setCode did not work 2016-07-24 09:28:22 -04:00
jamesagnew 7dbd5a21ca Fix tests 2016-07-24 09:20:54 -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 94128e2e6d Fix tests 2016-07-18 13:50:08 -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
jamesagnew fa37afb61f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-12 21:44:52 -04:00
jamesagnew ed941a116b Update to use GSON 2016-07-12 21:44:40 -04:00
James Agnew c3e9f618eb Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
jamesagnew 8156abf803 More prep for 1.6 2016-07-06 08:19:27 -04:00
jamesagnew acaf2135c5 Finalize 1.6 release 2016-07-06 07:29:20 -04:00
James Agnew a8585c881d Fix #396 - Make tests timezone independent 2016-07-04 13:48:05 -04:00
jamesagnew a3af502ee2 Add test for #391 2016-07-03 10:23:48 -04:00
jamesagnew 32bdd14639 Work on term service 2016-07-02 17:14:36 -04:00
jamesagnew 4a49e5b7f9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-01 14:31:25 -04:00
jamesagnew b8f1f39ead Add tests and get :below queries working for built-in code systems 2016-07-01 08:51:47 -04:00
James Agnew 7ef48413c4 Term service enhancements 2016-06-30 17:45:41 -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
James Agnew b587e3695b Add client integration test 2016-06-27 13:43:12 -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 b84150ff5e Randomly set locale after each test in order to make sure we aren't
dependent on a specific environment
2016-06-21 09:53:24 -04:00
jamesagnew f4c6f09f08 Fix tests 2016-06-20 07:52:44 -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 36505c60d8 More work on term service importing 2016-06-19 10:35:27 -04:00
jamesagnew a7cbb5c022 More test coverage 2016-06-18 13:32:45 -04:00
jamesagnew b3d8d453de Improve test coverage and clean up UnclassifiedServerFailureException processing 2016-06-18 10:37:43 -04:00
jamesagnew 785ce1deb9 Remove some dead code and improve test coverage 2016-06-17 07:40:17 -04:00
jamesagnew dcecde5db9 Improve test coverage 2016-06-16 22:52:10 -04:00
jamesagnew c9f85111ab Add some tests to GenericClient 2016-06-16 07:42:06 -04:00
James Agnew 1683cf8cef Switch to jacoco 2016-06-15 17:34:50 -04:00
James Agnew e2f1beef2c Fix some tests 2016-06-14 22:03:24 -04:00
James Agnew f3dcc3e893 Add lots of tests 2016-06-14 17:57:08 -04:00
James Agnew dba470f8d6 Add some tests 2016-06-14 07:24:03 -05:00
James Agnew aac914df22 Refactor OperationParameter to try and improve test coverage 2016-06-14 07:11:47 -05:00
James Agnew 1166a2ee67 Work on support for _at parameter in history operation 2016-06-13 07:31:25 -05:00
James Agnew 69572f7b3a More tests for #381 2016-06-11 13:04:58 -05:00
James Agnew 23840ecb7a Fix some tests 2016-06-11 06:43:27 -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 6c9707b86e More work on #381 2016-06-10 10:16:10 -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 4cfabfe4a6 Rework tests for #381 2016-06-10 09:29:30 -05:00
James Agnew a3484f84c1 Work on #381 - Still need to apply these changes to STU3 type 2016-06-09 21:48:53 -04:00
James Agnew cf1ea276c9 Fix #362 - Dead code in OperationParameter 2016-06-08 14:49:36 -07:00
James Agnew 7123205a83 Fix build 2016-06-07 10:04:37 -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 9a42ec16f7 Update license files# Please enter the commit message for your changes. Lines starting 2016-06-02 21:25:05 -04:00
jamesagnew 8a933cd2c2 Remove some cruft from the model 2016-06-01 09:18:38 -04:00
jamesagnew 25f8d8d22d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-06-01 09:11:06 -04:00
jamesagnew 1b8843aa5e More work on terminology service 2016-06-01 09:10:47 -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 eb3b656a5f Syn RI - Build still failing :( 2016-05-28 12:53:59 -04:00
jamesagnew eae96983e8 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-05-28 10:37:27 -04:00
jamesagnew e1e6a0d5b0 Sync model with RI latest version 2016-05-28 10:35:08 -04:00
James Agnew b4de3aa5dd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-05-27 10:27:27 -04:00
jamesagnew 9ed1bb94f9 Remove some unused code 2016-05-26 21:42:03 -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
jamesagnew efe9cd1dd1 Work on term svc 2016-05-24 06:34:06 -04:00
jamesagnew ee031667c5 Fix #369 - FhirTerser cloneInto method fails if target contains extension 2016-05-23 09:20:40 -04:00
jamesagnew de65184afb Fix tests 2016-05-21 20:52:37 -04:00
jamesagnew 20b6994cc8 Fix #364 - Allow serializing custom types that contain custom datatypes 2016-05-21 14:35:10 -04:00
jamesagnew 3d8776f6ed Fix #363 - Allow remote references in JPA resources 2016-05-21 12:58:04 -04:00
James Agnew 6c3446dee1 Fix build 2016-05-17 11:30:57 -04:00
jamesagnew ddb35d0faa Merge branch 'term_svc' of github.com:jamesagnew/hapi-fhir into term_svc 2016-05-17 09:05:47 -04:00
jamesagnew 78fa6eaeaf More work on terminology service 2016-05-17 09:05:37 -04:00
James Agnew 7942d69d5d Accept conditional updates with _id as parameter 2016-05-16 19:11:25 -04:00
jamesagnew c7d191dc38 Fix all tests 2016-05-14 16:59:31 -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 abd8bc2f14 Work on term svc 2016-05-13 17:40:56 -04:00
James Agnew c94f4bb19b Work on term services 2016-05-11 06:30:45 -04:00
James Agnew 3e77d3e37e Add _has support (this is an experimental parameter being tested) 2016-05-10 11:47:30 -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
Virdulys 2cf79d2767 Wrong comment, unable to set type in new versions 2016-05-05 15:23:50 +03:00
James Agnew 03e90b90c0 Merge pull request #359 from subhrajyotim/master
Fix: Add null check in JsonParser, Relax property handling introduced in Jaxp 1.5
2016-05-05 07:09:06 -04:00
James Agnew ad9ff20f8e Merge pull request #355 from euvitudo/jaxrsserver-with-dstu3
Updated jaxrsserver base and example for DSTU3
2016-05-05 06:58:17 -04:00
James Agnew 82c1e687fd Fix NPE in LoggingInterceptor 2016-05-04 11:48:50 -04:00
James Agnew ff562a3f00 Fix #360 - Correctly parse spaces in URL parameters 2016-05-04 10:09:02 -04:00
jamesagnew b4d3a7bb74 Don't highlight AJAX requests 2016-05-04 06:59:28 -04:00
Subhro 284f0f14b0 Fix: Add null check in JsonParser, Relax property handling introduced in Jaxp 1.5 for some compatibility with existing 1.4 version 2016-05-04 15:24:36 +05:30
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
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 27ec35338a Update to latest structure defs and validator 2016-05-01 21:31:14 -04:00
jamesagnew e3e81ff202 Fix #352 - Client should auto download resource if server ignores prefer header 2016-05-01 09:30:12 -04:00
Phillip Warner 31d16fca03 Updated jaxrsserver base and example for DSTU3
Added support for specifying DSTU3 in the constructors, where the default is DSTU2, to maintain backwards compatibility.
Updated interface usage to IBase... (e.g., IResource -> IBaseResource), which is compatible with DSTU3.
Added tests specifically for DSTU3; kept the existing tests as DSTU2.
Provided examples for DSTU3.
2016-04-29 12:50:15 -06: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 8b3dd4234c Fix tests 2016-04-25 08:01:16 -04:00
jamesagnew 3fce4cb087 Fix #344 - make getResourceDefinition(String) and getElementDefnition(String) case insensitive 2016-04-25 07:19:31 -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 38e80531bb Bump version to 1.6-SNAPSHOT 2016-04-22 07:05:05 -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 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
James Agnew 153c3ac5aa Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-18 10:07:22 -04:00
James Agnew 54f89073fe Add option to validation uploader to specify FHIR version 2016-04-18 10:07:09 -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 5a818a38e8 FIx tests 2016-04-17 10:49:16 -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 3f2b5fdeb7 Get security interceptor working 2016-04-16 10:22:43 -04:00
jamesagnew 533c0c87ab Fix tests 2016-04-14 09:14:32 -04:00
jamesagnew 72640dc720 Correct encoding order for DSTU2 resources 2016-04-14 07:53:37 -04:00
jamesagnew 8a37ed3b59 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-14 06:38:08 -04:00
jamesagnew 0780b7e472 Add tests 2016-04-14 06:36:29 -04:00
James Agnew a090f5481f Try to get cobertura working 2016-04-13 10:33:58 -04:00
James Agnew 072ec29f13 Fix build error 2016-04-11 10:52:27 -04:00
jamesagnew d7c683f6b9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-11 09:08:34 -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
James Agnew 88157fe1a6 Test data uploader fixes 2016-04-08 16:31:42 -04:00
jamesagnew 5cd13bc73f Improve error logging when the wrong version structure is passed into a parser 2016-04-07 13:55:38 -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 891dddff1e Work on auth interceptor 2016-04-04 06:21:49 -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
jamesagnew 20e04a7c80 Merge branch 'dstu3_structs' 2016-04-03 18:16:02 -04:00
jamesagnew 18b3d0df65 Update to DSTU3 Montreal definitions 2016-04-03 18:14:31 -04:00
jamesagnew 6d0dcc0213 More work on auth module 2016-04-02 08:59:01 -04:00
James Agnew c345209ce4 Fix #318 - Apply setDefaultTypeForProfile to contained resources 2016-04-01 17:10:49 -04:00
James Agnew 21b42acc94 Update licenses 2016-03-29 13:01:51 -04:00
James Agnew 46ba27ec8f Work on security interceptor 2016-03-28 20:51:27 -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 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 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 ab4deb406c Allow runtime query of bound enum type 2016-03-18 19:41:43 +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
jamesagnew 9aa7eea274 Add mode to parser to force it to not encode certain elements when serializing 2016-03-16 07:53:21 -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 8de41ca8b4 Attempting to reduce memory usage during tests 2016-03-06 14:38:18 -05:00
jamesagnew 99a4b2c29e Refactor JPA SearchBuilder 2016-03-05 20:46:04 -05:00
jamesagnew b147083f5a Fix #308 - Remove unneded warning on parsing declared extension 2016-03-02 22:18:33 -05:00
jamesagnew 970bc3ed89 One more test for #304 2016-03-02 07:29:09 -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 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
jamesagnew 66ec863bde Fix build 2016-02-28 21:19:39 -05:00
jamesagnew ed5bffba9e Fix #299 - Don't crash if the client receives extensions in Bundle.entry.search 2016-02-28 19:38:54 -05:00
jamesagnew c7d3f39457 Fix #296 - Handle :missing qualifier on QuantityParam 2016-02-28 18:32:43 -05:00
jamesagnew d8c571dfdc Just some cleanup 2016-02-28 18:25:20 -05:00
jamesagnew c14a1330b4 Fix #302 - Don't crash server when adding profiles 2016-02-28 16:07:28 -05:00
jamesagnew 524b16b1e8 Fix header generation for clients 2016-02-28 15:44:10 -05:00
jamesagnew 1da5855c9c Add Eclipse files to git 2016-02-28 14:02:29 -05:00
jamesagnew f1e1ee9ff9 Merge JAX-RS client fixes 2016-02-28 13:34:57 -05:00
jamesagnew 69450c7dab Merge branch 'master' into jaxrs-client 2016-02-27 09:48:36 -05:00
James Agnew 7fdbee6f21 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-02-26 18:20:32 -05:00
James Agnew 39f6420066 Start working on compartment support 2016-02-26 18:16:35 -05:00
James Agnew d383b402d1 Correct handling of Binary resources in client and server where the
binary contains embedded FHIR content
2016-02-25 14:31:26 -08:00
James Agnew 4a26064cd6 In the client, the create/update operations on a Binary resource (which
use the raw binary's content type as opposed to the FHIR content type)
were not including any request headers (Content-Type, User-Agent, etc.) Thanks to Peter Van Houte of Agfa Healthcare for reporting!
2016-02-25 12:54:52 -08:00
James Agnew d11cbab15c Don't add WWW-Authenticate header to response on AuthenticationException 2016-02-25 11:03:04 -08:00
petervanhoute d64cf57b0d Inclusion of jaxrs-client : complete removal of the dependencies for jaxrsserver project to apache httpclient and httpcore and only rely on jax-rs 2016-02-25 13:38:31 +01:00
petervanhoute f8ea639af9 Merge remote-tracking branch 'remotes/petervanhoute/jax-rs-client': inclusion of jaxrs client by addition of interfaces around the apache client classes 2016-02-24 18:04:49 +01:00
James Agnew 1ba0ae3960 Support inline match URL references, per Simone's requast for the next
connectathon
2016-02-23 13:12:30 -08:00
jamesagnew fd2eaff12d Fix javadoc 2016-02-19 06:53:23 -05:00
jamesagnew 6ce4056f7a Fix #298 - Don't handle /metadata for methods other than GET 2016-02-19 06:40:07 -05:00
jamesagnew 43bdfc0345 Fix #297 - Resource not populated in ActionRequestDetails for validate method 2016-02-19 06:21:05 -05:00
jamesagnew 4975d212fa Add userdata map to interceptors which can be passed around 2016-02-17 08:05:55 -05:00
jamesagnew 9b304748ad Work on terminology service 2016-02-16 21:29:00 -05:00
jamesagnew c1141eb18f Reorganize how search param prefixes are handled and modelled based on new DSTU2 style prefixes 2016-02-15 10:05:39 -05:00
jamesagnew 23f9292b50 Add support for comments in XML and JSON parsing/encoding 2016-02-08 22:05:17 -05:00
James Agnew 961cde41bd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-02-08 14:22:20 -05:00
James Agnew f21851099c Version bump 2016-02-08 13:59:09 -05:00
jamesagnew d93c54c0aa Version bump to 1.5 2016-02-06 14:18:56 -05:00
jamesagnew 0ff111be87 Fix #291 - Don't fail the server for untyped list returns 2016-02-06 14:18:04 -05:00
petervanhoute f9e4398c89 fix pom 2016-02-05 14:59:10 +01:00
James Agnew 68b816dce7 Prepare for 1.4 release 2016-02-03 16:56:32 -05:00
James Agnew e0e52f96c6 Version bump to 1.4 (finally!) 2016-02-03 15:25:32 -05:00
James Agnew def7fc93e0 Merge pull request #289 from petromykhailysyn/master
ServletContextPath can start with servletPath, it should be taken into consideration
2016-02-03 14:06:18 -05:00
jamesagnew 93d9011691 Fail server if conditional param is not of type String 2016-02-02 07:11:18 -05:00
jamesagnew 32daeb6f58 Switch DSTU2.1 to DSTU3 per FMB's decision 2016-02-01 08:55:58 -05:00
James Agnew 914f615b8e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-01-28 11:35:16 -05:00
jamesagnew ecc48317f2 Version bump dependencies 2016-01-28 08:31:19 -05:00
jamesagnew 00f0ea4a0b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-01-27 08:36:10 -05:00
jamesagnew 1bc35f1ba3 Support modifiers on token parameters 2016-01-27 07:05:41 -05:00
petromykhailysyn a7313023f7 Revert "If servletContextPath is not root (application is deployed not to the root) we should take it into consideration while determinating server base."
This reverts commit 0e3bb5a797.
2016-01-26 17:02:24 +02:00
petromykhailysyn 83823aad35 ServletContextPath can start with servletPath, now it's taking into consideration while determinate contextIndex. 2016-01-26 16:29:16 +02:00
James Agnew 7ed14d538a Remove warning 2016-01-24 14:53:40 -05:00
petromykhailysyn 0e3bb5a797 If servletContextPath is not root (application is deployed not to the root) we should take it into consideration while determinating server base. 2016-01-22 10:42:36 +02:00
Matt Blanchette 0f835b5e55 Exposing http client request pool max parameters on restful client factory:
* added setters on restful client factory to allow changing max total connections and max connections per route for pooling http connection manager
* added defaults for max total connections and max connections per route on restful client factory interface
2016-01-20 11:50:49 -05:00
jamesagnew 1ba03f4a9b Fix #283 - Remove servlet 3.0 dependency where possible 2016-01-20 08:11:03 -05:00
jamesagnew 944afc2785 Add better constructors for date types 2016-01-20 07:40:57 -05:00
James Agnew f9960b22d5 Clean up validation 2016-01-15 18:44:28 -05:00
James Agnew d290110126 Fix validation 2016-01-15 18:02:20 -05:00
James Agnew 589059256f Correct issues uncovered during connectathon 2016-01-11 07:42:13 -05:00
petervanhoute 8dadc77420 create jax-rs client 2016-01-08 12:01:56 +01:00
petervanhoute b6d3a003d3 move client api-classes into api package 2016-01-08 11:47:00 +01:00
petervanhoute 1271c36d1b create a jax-rs client 2016-01-08 10:50:04 +01:00
James Agnew c1afb4f54d Get overlay working for DSTU2.1 2016-01-07 15:04:56 -05:00
James Agnew 0c8c414784 Try to get travis working 2016-01-07 11:17:54 -05:00
James Agnew 479da24cfb Bump license files 2016-01-07 08:50:07 -05:00
James Agnew a54cb06c03 More travis cleanup 2016-01-06 14:02:20 -05:00
jamesagnew 56620eebfb Clean up testpage-overlay to work with DSTU2.1 2016-01-06 08:49:24 -05:00
James Agnew 2e434650ea Fixed to testpage overlay for DSTU2.1 2016-01-05 17:02:37 -05:00
jamesagnew b7aa4e15b9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-01-05 08:31:24 -05:00
jamesagnew 59da230702 Improving validation documentation 2016-01-05 07:20:54 -05:00
James Agnew 7005cd52d9 Performance tweaks to the validator and get the DSTU2.1 endpoint working
with validation
2016-01-04 17:57:00 -05:00
jamesagnew 685bd9345b Add request/response validator interceptors 2016-01-03 21:52:11 -05:00
jamesagnew 5789db8743 Remove dependency on cobertura at compile time 2016-01-02 10:55:52 -05:00
jamesagnew c8365ab566 Fix build 2016-01-01 23:18:44 -05:00
jamesagnew 718a26671f DSTU2.1 structures working 2016-01-01 16:59:19 -05:00
jamesagnew 056900f324 Lots more work on DSTU2.1 structures 2015-12-30 11:27:12 -06:00
jamesagnew 7692e5d714 More work on DSTU2.1 structs 2015-12-22 09:32:06 -05:00
jamesagnew 2469aa3725 Lots of DSTU2.1 structure work 2015-12-20 23:35:47 -05:00
jamesagnew aaf85f2323 Lots of work on DSTU2.1 structures 2015-12-20 09:29:52 -05:00
jamesagnew 6ac62a5b46 Merge branch 'master' into hl7org_dstu21 2015-12-15 20:33:31 -05:00
jamesagnew 3005c9a766 Still working on unit tests 2015-12-15 09:11:01 -05:00
jamesagnew 22ff1db183 Work on tests 2015-12-15 07:14:21 -05:00
jamesagnew 2b0a800d98 travis.... 2015-12-14 22:44:05 -05:00
jamesagnew c8535b72b6 More travis 2015-12-14 22:34:53 -05:00
jamesagnew 0bf5172de6 More travis work 2015-12-14 22:28:03 -05:00
jamesagnew b2a9836cda More logging to try and figure out the travis failures 2015-12-14 22:12:54 -05:00
jamesagnew a623003a56 Fix #240 - Support target resource type in server _include and _revinclude values 2015-12-14 21:50:35 -05:00
jamesagnew d95bd269c0 Correctly encode value[x] field names when the datatype is a profiled type such as markdown 2015-12-14 21:04:27 -05:00
James Agnew 2eaa1eddae Fix compile 2015-12-14 18:22:21 -05:00
James Agnew 9ef0498775 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-12-14 10:56:33 -05:00