Commit Graph

391 Commits

Author SHA1 Message Date
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 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 e011f6a843 Add tests for #372 2016-06-02 21:45:02 -04:00
James Agnew 39a96f0258 Fix #374 - Include ETag and Last-Modified headers in response 2016-05-31 13:44:21 -04:00
jamesagnew 820d1e0165 Fix build 2016-05-30 06:38:40 -04:00
James Agnew f45ad117fe Improve error messages for invalid validate request 2016-05-29 22:23:30 -04:00
James Agnew 6fcf2df8b4 Fix test 2016-05-27 10:38:35 -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 ee031667c5 Fix #369 - FhirTerser cloneInto method fails if target contains extension 2016-05-23 09:20:40 -04:00
jamesagnew d022b7771b Add test for #368 2016-05-22 15:10:57 -04:00
jamesagnew 77a84195f5 Encode lanugage as a string instead of an array 2016-05-22 14:38:20 -04:00
jamesagnew 20b6994cc8 Fix #364 - Allow serializing custom types that contain custom datatypes 2016-05-21 14:35:10 -04:00
jamesagnew 021025ffa9 Fix #366 - Return HTTP 400 instead of 500 when boolean values contain invalid string 2016-05-21 13:07:46 -04:00
James Agnew abd8bc2f14 Work on term svc 2016-05-13 17:40:56 -04:00
James Agnew 54d0fa0faa Add a new option to CLI run-server called "--lowmem" which puts the
server into low memeory mode
2016-05-10 13:45:30 -04:00
James Agnew af2b702aa4 Fixes from Montreal connectathon 2016-05-07 14:24:33 -04:00
James Agnew 848ad158e2 Remove Remittance resource from DSTU2 2016-05-06 19:52:10 -04:00
jamesagnew fb277a0595 Fix tests 2016-05-05 07:45:59 -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
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 3e8638a65f Fix tests 2016-05-02 19:03:36 -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 9b55d0000b Fix #354 - Bring back setFoo(List) and getFooFirstRep() methods to DSTU3 structures 2016-05-01 10:19:50 -04: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 d45a9b67dc Allow forced IDs to be reused between resource types 2016-04-24 19:24:55 -04:00
jamesagnew 9631160942 Add unit test 2016-04-23 18:43:11 -04:00
jamesagnew 3eb805fb0a Respect _format=application/xml+fhir 2016-04-23 12:17:27 -04:00
jamesagnew 38e80531bb Bump version to 1.6-SNAPSHOT 2016-04-22 07:05:05 -04:00
James Agnew 81fa46820a Correctly support _summary=search option 2016-04-19 21:58:20 -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 f616c22429 Fix cobertura fails 2016-04-11 14:53:38 -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
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 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 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 e5f353c27e Fix #268 - Technically already fixed, just updating unit tests 2016-03-25 18:47:52 -04:00
James Agnew d3dc9a9c2b Fix build issue 2016-03-25 20:23:22 +01: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 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 1adfc4b4d9 Fix #315 - Allow declaring of custom types for specific profiles 2016-03-22 11:46:08 +01:00
James Agnew 5895881fa5 Add test 2016-03-18 20:33:38 +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
James Agnew 8de41ca8b4 Attempting to reduce memory usage during tests 2016-03-06 14:38:18 -05:00
jamesagnew b147083f5a Fix #308 - Remove unneded warning on parsing declared extension 2016-03-02 22:18:33 -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 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 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 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 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
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
jamesagnew 4975d212fa Add userdata map to interceptors which can be passed around 2016-02-17 08:05:55 -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
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 b7ec8f8ac0 Try to fix test 2016-01-30 11:16:12 -05:00
jamesagnew 0f07cac496 Fix #286 - Resource chains not added to conformance statement 2016-01-28 07:31:37 -05:00
jamesagnew 0aa0721632 Fix sometimes-breaking test 2016-01-21 21:40:04 -05:00
jamesagnew 9808ccd309 Add some tests that can be enhanced for #286 - These don't yet validate anything useful but they have chains 2016-01-21 06:41:04 -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