Commit Graph

675 Commits

Author SHA1 Message Date
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 ee63bbea74 Fix #516 - Handle STU3 invalid enum values with an appropriate exception 2016-12-10 14:14:22 -05:00
James Agnew a9d7b8d636 Add test and credit for #518 2016-11-25 18:28:18 -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
James Ren 14b28fd436 Update MoneyDt.java
Add Constructors
2016-11-17 13:49:00 -05:00
James 2d7592f7a8 Version bump to 2.2-SNAPSHOT 2016-11-11 22:39:45 -05:00
James 2dd26b6367 Version bump to 2.1 2016-11-11 15:16:53 -05:00
James 89e3021588 Add test for #449 2016-11-07 07:53:56 -05:00
James af8ae69ee4 AuthorizationInterceptor enhancements 2016-11-04 07:43:22 -04:00
James 14f47b2048 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-11-04 06:53:39 -04:00
James f838b80373 Work on authorization interceptor 2016-11-04 06:53:26 -04:00
James Agnew 7c6ca640d1 Fix failing test 2016-11-03 11:41:49 -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 2a7fa4d8a5 Make authorizationinterceptor stricter 2016-10-22 18:00:55 -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 f5eda76388 Use new STU3 mimetypes by default 2016-10-06 12:17:59 -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 a95341d70f Fix race conditions for tests 2016-09-26 12:37:03 -04:00
James Agnew 2c277864f1 Fix tests 2016-09-26 12:24:54 -04:00
James Agnew 2316a887c2 Add some test logging 2016-09-26 11:27:23 -04: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 4de0e38e01 Add credit for #446 and #448 2016-09-16 13:16:28 -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 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 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 Agnew 17940b8a24 Improve performance when parsing contained resources 2016-08-25 17:41:33 -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 696fa8701b Add unit test for #428 2016-08-23 07:10:28 -04:00
James 35a890db34 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-22 07:42:02 -04: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 74950a4efc Fix regression when parsing contained resources 2016-08-05 18:01:44 -04:00
jamesagnew 7dbd5a21ca Fix tests 2016-07-24 09:20:54 -04:00
James Agnew 94128e2e6d Fix tests 2016-07-18 13:50:08 -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 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 acaf2135c5 Finalize 1.6 release 2016-07-06 07:29:20 -04:00
James Agnew 344b1256ce Add tests 2016-07-04 18:32:57 -04:00
James Agnew e26e31ae02 Add test for #392 2016-07-04 13:25:49 -04:00
jamesagnew a3af502ee2 Add test for #391 2016-07-03 10:23:48 -04:00
jamesagnew 4a49e5b7f9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-01 14:31:25 -04:00
James Agnew ea99672e6c Add tests for term svc 2016-06-29 09:56:05 -04:00
James Agnew d4baf38656 Add missing project file 2016-06-27 16:02:18 -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 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
jamesagnew 16df4566bf Add test for #390 2016-06-24 06:10:03 -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 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 dcecde5db9 Improve test coverage 2016-06-16 22:52:10 -04:00
jamesagnew 3a0f97b6c1 Fix test 2016-06-16 07:52:36 -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 1166a2ee67 Work on support for _at parameter in history operation 2016-06-13 07:31:25 -05:00
James Agnew 23550240ad Fix #378 - Include mandatory elements in server generated
OperationDefinition resources
2016-06-11 15:28:58 -05:00
James Agnew 8f1e45b3f3 Fix #379 - Server generated OperationDefinitions should generate
separate definitions for operations that are implemented against
multiple resource types
2016-06-11 14:46:13 -05:00
James Agnew 69572f7b3a More tests for #381 2016-06-11 13:04:58 -05:00
James Agnew 34a3d7dbfd More trying to fix tests 2016-06-11 07:09:30 -05:00
James Agnew 23840ecb7a Fix some tests 2016-06-11 06:43:27 -05:00
James Agnew fd8d67b9cd Fix more unit tests for #380 2016-06-10 18:57:44 -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 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
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
de Beaubien, Bill 27764da19a #221 Conformance date now defaults to the build date/time 2015-09-09 16:47:07 -04:00
James Agnew 2a3088f2e2 Add tests 2015-09-09 16:08:21 -04:00
jamesagnew aa8334a99a Merge remote-tracking branch 'upstream/master' into osgi-pull-request 2015-09-09 08:41:45 -04:00
jamesagnew f7667d2565 Add test 2015-09-09 07:34:31 -04:00
bdenton daedf63c46 Decouple RestfulService and ServerConformanceProvider to avoid cycle in
Spring wiring
2015-09-09 07:01:03 -04:00
James Agnew c534fb9604 Hopefully tests should pass now - Not using profile datatypes in encoded
choice names has been a pain!
2015-09-08 14:00:11 -04:00
jamesagnew bb5816d8e9 Fix second part of #216 - Correctly encode choice elements on profiled datatypes 2015-09-08 08:01:51 -04:00
jamesagnew 9af3fcf02d Allow browser requetsts to force a raw response 2015-09-07 21:52:35 -04:00
jamesagnew 08633066c6 Fix #216 - Unexpected attributes when parsing composite elements should be logged 2015-09-07 10:08:11 -04:00
James Agnew abdfb50b40 Fix a few tests and don't crash on old Woodstox 2015-09-04 13:59:57 -04:00
jamesagnew 68cc2f0cfe Fix tests 2015-09-04 09:00:55 -04:00
jamesagnew f3e44eea3b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-03 08:08:13 -04:00
jamesagnew 8b20f3a77d Sync to 1.0.0 FHIR definitions 2015-09-03 08:07:43 -04:00
James Agnew ae177b52e8 Populate Bundle.entry.fullUrl 2015-09-02 13:42:59 -04:00
jamesagnew 64cc5d4659 Bump FHIR version to 1.0.0 2015-09-01 08:56:07 -04:00
jamesagnew a9f978a8a2 Udate to latest DSTU2 definitions 2015-08-31 08:20:24 -04:00
James Agnew 110abf7cb2 Switch from Cobertura to JaCoCo 2015-08-28 17:06:56 -04:00
James Agnew 11c5ab7892 More auto qualify resource references 2015-08-24 18:33:28 -04:00
James Agnew 83a57f8e7c Auto qualify resource IDs 2015-08-24 18:21:34 -04:00
James Agnew df4d371edc Add profile and security params for generic search 2015-08-24 15:23:28 -04:00
jamesagnew 11376024fa Fixing test related to summary and elements mode 2015-08-23 21:51:46 -04:00
jamesagnew 44ac164eca Work on #125 - Support _summary and _elements 2015-08-23 13:29:57 -04:00
James Agnew 11f5aeebd9 Clean up the build and hopefully close #206 2015-08-19 11:49:00 -04:00
jamesagnew 6941f92090 Fix #207 - Confusing error message parsing invalid contained resources 2015-08-17 20:46:56 -04:00
James Agnew c2fba2ce21 More work on interceptors 2015-08-17 18:35:51 -04:00
jamesagnew 330dbde983 Add new interceptor hook for auditing 2015-08-16 22:09:01 -04:00
James Agnew 89a7750bf4 Start working on action interceptor framework 2015-08-14 17:05:07 -04:00
James Agnew 77f151901a Get coded valuesets working once again for DSTU2 resoruces 2015-08-13 17:58:31 -04:00
James Agnew 2766af2693 Update definitions and correctly handle exceptions in
incomingRequestPreProcessed method in server interceptors
2015-08-13 16:59:10 -04:00
James Agnew 24634880db Update for QA version of DSTU2 2015-08-09 11:18:04 -04:00
James Agnew b36e4e5841 Merge branch 'master' into dstu2_final 2015-08-06 18:07:34 -04:00
James Agnew c838d651dd Fix fluent client search call so that it can be mocked with Mockito 2015-08-06 18:06:32 -04:00
James Agnew 76c076a2d1 Add test for #205 2015-08-06 11:14:52 -04:00
jamesagnew e457366ffa Start work on upgrading DSTU2 to QA version 2015-07-25 11:56:47 -04:00
James Agnew 11f031d052 Add contributed test 2015-07-21 11:33:36 -04:00
James Agnew 56a4c1b04b Add serialization support and fix build regression 2015-07-21 09:45:53 -04:00
jamesagnew 99e92d8fca Operations in server generated conformance statement should only appear once per name, since the name needs to be unique. 2015-07-19 19:17:39 -04:00
jamesagnew a774a654ce Property document OperationDefinitions generated automatically by server 2015-07-19 11:10:46 -04:00
jamesagnew 61cb60b293 Operations which are not resource type specific were not showing up in REST server's conformance 2015-07-18 18:44:46 -04:00
jamesagnew a35d20b999 Fix #158 - Don't encode empty tags 2015-07-18 17:35:54 -04:00
jamesagnew 3bff020c54 Add exception pre processing method to server interceptors 2015-07-18 16:31:32 -04:00
jamesagnew 57ee1fe220 Fix unit tests failing due to OperationDefinition changes 2015-07-18 14:43:59 -04:00
jamesagnew 41283d4ed4 Add $get-resource-counts operation to JPA server 2015-07-17 18:28:47 -04:00
jamesagnew 2fc0d4c7a2 Clean up exception handling in server, and add QuestionnaireAnswers validation for JPA server 2015-07-16 20:16:51 -04:00
James Agnew 901c5c29cf Version bunp for 1.2 2015-07-14 18:08:06 -04:00
James Agnew 3fa7c54526 Tag 1.1 release 2015-07-13 10:31:02 -04:00
James Agnew 350028be73 Implement meta operations in client 2015-07-10 17:36:55 -04:00