Commit Graph

422 Commits

Author SHA1 Message Date
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
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
James Agnew 479da24cfb Bump license files 2016-01-07 08:50:07 -05:00
jamesagnew 09b0982df1 Merge branch 'hl7org_dstu21' 2016-01-01 17:00:58 -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
Bill de Beaubien c66429ef3c #274 - test illustrating bug 2015-12-20 21:09:58 -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 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
jamesagnew 0a0daedcfd Still not working DSTU2.1 2015-12-09 22:49:02 -05:00
jamesagnew ea89f3af28 Correctly return profile 2015-12-09 07:07:05 -05:00
James Agnew 2f8278ff78 Fix build 2015-12-02 10:10:10 -05:00
jamesagnew 9dbeee3576 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-12-01 07:49:52 -05:00
jamesagnew 1eddb4db7f Delete commented line per #251 2015-12-01 07:49:31 -05:00
de Beaubien, Bill cc0bbc2f43 #264 - added test to demonstrate bundle validation issue 2015-11-30 12:38:43 -05:00
jamesagnew 07078e4ce3 Add GZip support to client and server for client-to-server uploads 2015-11-29 15:03:28 -05:00
jamesagnew e6b47855e6 Merge branch 'master' of git://github.com/petervanhoute/hapi-fhir into petervanhoute-master 2015-11-27 14:59:53 -05:00
James Agnew a046afe1d0 Merge pull request #259 from nrpeterson/boundcodeableconcept-serialization
Add serializability for BoundCodeableConceptDt
2015-11-26 06:59:14 -05:00
James Agnew 1fe3bb9ff0 Updates from DevDays 2015-11-23 06:13:02 -05:00
Nick Peterson 13b3601843 Make IBoundCodeableConcept and IValueSetEnumBinder extend java.io.serializable; add a test to verify that MaritalStatusCodesEnum in DSTU2 is now serializable. 2015-11-20 12:15:31 -08:00
James Agnew 2f12c9ed01 Bump version to 1.4-SNAPSHOT 2015-11-15 20:11:05 -05:00
James Agnew f9f33f059b Version bump to 1.3 2015-11-15 12:53:02 -05:00
James Agnew 614b7e09e5 Bump to 1.0.2 FHIR definitions 2015-11-15 12:22:56 -05:00
jamesagnew f13820b627 Fix #248 - Remove failing test in Italian locale 2015-11-03 22:22:13 -05:00
James Agnew d3685e72ba Fix #241 and fix #247 - Don't encode UUID IDs on resources, and preserve
bundle type when retrieving pages
2015-10-29 15:38:19 -04:00
petervanhoute 367163c46a fix return url 2015-10-29 15:55:37 +01:00
jamesagnew 30ab0203a3 Refactor search capability in JPA out of resource specific module 2015-10-28 08:44:52 -04:00
jamesagnew f3552015cc Work on splitting out search in JPA 2015-10-27 20:23:49 -04:00
jamesagnew 5a2ee77142 Parser (XML and JSON) shouldn't encode an ID tag in resources
which are part of a bundle when the resource has a UUID/OID
				            ID.
2015-10-26 22:47:06 -04:00
jamesagnew 69658ab754 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-10-23 08:22:40 -04:00
jamesagnew eea406e10e ResourceReferenceDt#loadResource(IRestfulClient) did not
use the client's read functionality, so it did not
				            handle JSON responses or use interceptors. Thanks to
								            JT for reporting!
2015-10-23 08:21:25 -04:00
James Agnew 8d515feb6d Fix #242 - Allow compartment and read method to coexist for server 2015-10-21 11:58:19 -04:00
James Agnew ec623ac55f Tests passing 2015-10-16 10:29:31 -04:00
James Agnew 0430eb1626 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-10-13 12:13:43 -04:00
jamesagnew 6d93cbcaae Get content search working correctly 2015-10-13 09:18:34 -04:00
James Agnew 16989435b0 Don't export a _format on paging links if the request didn't have one 2015-10-09 17:42:45 -04:00
de Beaubien, Bill 43f21c0dcf #241 - added ignored test demonstrating failure 2015-10-09 08:48:54 -04:00
James Agnew 4dbd180cf6 Clean up testing 2015-10-08 17:38:14 -04:00
petervanhoute 7f910974a2 create seperate response and server interfaces and classes for servlets and jaxrs 2015-10-07 17:11:16 +02:00
James Agnew 9fef4f6bab Allow valueset operations to work against type in JPA 2015-10-06 18:53:09 -04:00
James Agnew b62eb1168c Allow server operations to work at the type level 2015-10-06 11:45:49 -04:00
James Agnew 3d330de8ef Fix compile issue 2015-10-06 06:57:55 -04:00
James Agnew 80575b5380 Generic client now allows search by URL 2015-10-05 15:30:30 -04:00
James Agnew 48d56b4722 Fix connectathon discovered issues 2015-10-03 23:52:30 -04:00
James Agnew aa32e6f0a9 Improve ValueSet operations in JPA 2015-10-02 12:37:56 -04:00
petervanhoute b4df6f9612 add server using jaxrs 2015-10-02 11:27:21 +02:00
James Agnew 68a5bd3b23 Add tests 2015-09-29 17:04:14 -04:00
James Agnew 1cc6a05273 FIx validation for resources using v2 tables 2015-09-29 10:51:36 -04:00
jamesagnew 9492744018 Work on subsciprions 2015-09-28 09:06:57 -04:00
James Agnew 51a046ea26 Handle sort by number, uti and token 2015-09-25 16:53:22 -04:00
James Agnew 1361e69177 Respect server default encoding if an Accept header is received which
indicates equal weight for both encodings
2015-09-24 17:52:52 -04:00
James Agnew 072c1ece87 Send Accept header on client requests, and allow string responses in
QuestionnaireResponse validator for questions of type OPENCHOICE
2015-09-24 13:40:07 -04:00
jamesagnew 70eff0dc7f Improve error message when $meta-add and $meta-delete are called with no meta element in the
input parameters. Also improve OperationOutcome rendering in narrative generator.
2015-09-24 08:36:25 -04:00
jamesagnew 7e6844be56 Improve error message when JSON parser finds an object where an array is expected 2015-09-24 07:27:43 -04:00
jamesagnew d59c0ff404 Correctly index reference paths with multiple paths, and don't store duplicate indexes in JPA 2015-09-20 08:23:03 -04:00
jamesagnew 70e942e9f8 Version bump to 1.3-SNAPSHOT 2015-09-19 11:00:57 -04:00
jamesagnew 31934ff582 Version bump to 1.2 2015-09-16 07:09:03 -04:00
James Agnew 73121e222c Add tests 2015-09-15 14:11:55 -04:00
jamesagnew d0bac3d419 Work on CLI tool 2015-09-13 22:06:31 -04:00
jamesagnew 48ee2cbee8 JPA server now correctly suppresses contents of deleted resources
in history
2015-09-12 09:45:12 -04:00
jamesagnew 847b382ee8 Add tests 2015-09-10 07:51:13 -04:00
jamesagnew 8120ab2228 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-09 22:46:48 -04:00
jamesagnew 437625505c Add some tests and some cleanup of unused code 2015-09-09 22:41:10 -04:00
de Beaubien, Bill 5b64a7f569 #221 and now, with null-checking so the tests don't break... 2015-09-09 17:06:27 -04:00
de Beaubien, Bill b1db2bf2d8 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2015-09-09 16:47:20 -04:00