1446 Commits

Author SHA1 Message Date
James Agnew
344e324929 Fix #544
Squashed commit of the following:

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

    Changes working now

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

    Get JPA working with new uuid: logic

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

    Fix test

commit 599bbe236c81fc050f421bced67578fdcafb9371
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