Commit Graph

219 Commits

Author SHA1 Message Date
jamesagnew 9b55d0000b Fix #354 - Bring back setFoo(List) and getFooFirstRep() methods to DSTU3 structures 2016-05-01 10:19:50 -04:00
jamesagnew e3e81ff202 Fix #352 - Client should auto download resource if server ignores prefer header 2016-05-01 09:30:12 -04:00
Phillip Warner 8e6a78d6ff Updated ServerConformanceProvider and test
ServerConformanceProvider only placed a string reference to
OperationDefinitions, which were nowhere to be found in the Conformance
statement.  With this change, SCP assigns a reference containing the
OperationDefinition for each operation.  The OperationDefinitions are, per the
spec, located in the 'contained' portion of the Conformance statement.
2016-04-29 12:57:41 -06:00
jamesagnew 3fce4cb087 Fix #344 - make getResourceDefinition(String) and getElementDefnition(String) case insensitive 2016-04-25 07:19:31 -04:00
jamesagnew f29cda00d0 Add test for #341 2016-04-24 21:55:55 -04:00
jamesagnew 9631160942 Add unit test 2016-04-23 18:43:11 -04:00
jamesagnew 3ceac6d576 Add test for #347 2016-04-23 18:19:30 -04:00
jamesagnew 3eb805fb0a Respect _format=application/xml+fhir 2016-04-23 12:17:27 -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 8b59b61250 Release docs 2016-04-20 07:03:30 -04:00
jamesagnew 3a0de6e6f8 Fix #339 - Disable XXE XML parsing vulnerability 2016-04-19 07:55:24 -04:00
jamesagnew 43969cb8ce Fix tests on CLI 2016-04-19 06:35:15 -04:00
jamesagnew 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 72640dc720 Correct encoding order for DSTU2 resources 2016-04-14 07:53:37 -04:00
jamesagnew 81dec23faf Correctly populate Bundle.entry.fullUrl on Hl7OrgDstu2 servers 2016-04-14 06:59:43 -04:00
James Agnew a090f5481f Try to get cobertura working 2016-04-13 10:33:58 -04:00
James Agnew fe0824fd7c Disable fake test 2016-04-11 16:05:25 -04:00
James Agnew f616c22429 Fix cobertura fails 2016-04-11 14:53:38 -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
jamesagnew e30ebf69ba Fix #325 - Fix equalsShallow and equalsDeep when a field is null on one side and empty on the other 2016-04-05 22:05:45 -04:00
James Agnew 39fc134482 Fix #326 - Correctly serialize DSTU3 references in JsonParser. Thanks to
@fw060 for the patch!
2016-04-05 16:33:29 -04:00
jamesagnew 079f966086 Parser enhancements when parsing bundles 2016-04-05 08:59:24 -04:00
jamesagnew a4066b1de5 Fix build 2016-04-03 18:57:34 -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 57abd0a3bb New structures 2016-04-01 18:10:02 -04:00
James Agnew c345209ce4 Fix #318 - Apply setDefaultTypeForProfile to contained resources 2016-04-01 17:10:49 -04:00
jamesagnew bb96ae4e25 Fix build 2016-03-29 08:36:08 -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 20081a419d Fix #320 - Don't generate binding enums for example binding fields on
resources
2016-03-25 20:15:01 +01:00
James Agnew cf22277d6e Fix build issue 2016-03-25 19:42:08 +01:00
James Agnew 6ffb1c8c56 Fix #312 - Don't fail if extension list contains a null 2016-03-25 19:27:18 +01:00
James Agnew 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 bb33cf735f Fix test 2016-03-18 19:54:52 +01:00
James Agnew 5ad384c11a One more test 2016-03-18 19:45:00 +01:00
James Agnew ab4deb406c Allow runtime query of bound enum type 2016-03-18 19:41:43 +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 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 970bc3ed89 One more test for #304 2016-03-02 07:29:09 -05:00
jamesagnew 3fd9f9518a Handle unexpected extensions when parsing using IParserErrorHandler 2016-03-02 06:52:46 -05:00
jamesagnew 4573b86972 Add tests for #275 2016-03-01 07:34:11 -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 ed5bffba9e Fix #299 - Don't crash if the client receives extensions in Bundle.entry.search 2016-02-28 19:38:54 -05:00
jamesagnew f1e1ee9ff9 Merge JAX-RS client fixes 2016-02-28 13:34:57 -05:00
James Agnew 7fdbee6f21 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-02-26 18:20:32 -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
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 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 f21851099c Version bump 2016-02-08 13:59:09 -05:00
James Agnew e0e52f96c6 Version bump to 1.4 (finally!) 2016-02-03 15:25:32 -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