Commit Graph

285 Commits

Author SHA1 Message Date
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
michael.i.calderero 7a203fa7d5 ensure ElementDefinition properties with longer names are processed
first in order to find the property that most matches the given nodeName
2016-12-02 21:42:09 -06:00
James Agnew a9d7b8d636 Add test and credit for #518 2016-11-25 18:28:18 -05:00
James Agnew 81773de261 Fix #276 - Prevent contained resources being encoded as duplicates 2016-11-25 17:18:57 -05:00
jamesagnew 69871bb8c2 Improve testing on CorsInterceptor 2016-11-24 19:25:37 -05:00
James 233e979963 Fix build 2016-11-22 06:33:20 -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 Agnew ba896e2553 Clean up CORS 2016-11-21 13:37:59 +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 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 Agnew a03805a6d4 Clean up patch client 2016-11-11 15:08:16 -05:00
James a5d5d3e031 Bump FHR version 2016-11-06 17:34:13 -05: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 Agnew f5bec16cb4 Fix tests for #472 2016-10-26 14:10:43 -04:00
James Agnew a67171e231 Fix #472 - Wrong header being returned (Content-Location instead of
Location) on STU3 server
2016-10-26 12:12:19 -04:00
James Agnew f80bf98dcd Fix #327 - Correctly serialize JSON extension with a reference to a
contained resource
2016-10-14 16:36:29 -04:00
James Agnew e56c75e80c Switch Android library to use OkHttp by default 2016-10-14 16:15:27 -04:00
James Agnew deae820ebe Fix up comnpile issue 2016-10-12 15:29:40 -04:00
James Agnew 97cd78e6bf Fix #454 - Chinese characters were not being correctly normalized 2016-10-12 12:50:56 -04:00
James Agnew 11d3ae9447 Fix #411 - Searching by POST with urlencoded parameters doesn't work if
interceptors are accessing the parameters and there is are also
parameters on the URL
2016-10-06 13:23:32 -04:00
James Agnew f5eda76388 Use new STU3 mimetypes by default 2016-10-06 12:17:59 -04:00
James Agnew 1fd881d8f8 Return an error if a parameter is called with a chain even though it
doesn't support chaining
2016-10-04 17:02:13 -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 8b80d932da Fix #443 - XhtmlNode.equalsDeep() did not work 2016-09-29 15:00:01 -04:00
James Agnew 5da1d22d02 Docs 2016-09-28 17:04:55 -04:00
James Agnew 8a9a031a8d Fix uploading CLI DSTU2 examples 2016-09-28 16:25:01 -04:00
James Agnew 090f079442 Try to fix race conditions in tests 2016-09-26 12:56:37 -04:00
James Agnew cb31e706c7 Add test for #411 2016-09-26 10:50:04 -04:00
James 714adcd4be Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-09-22 21:55:11 -04:00
James 3428aa40f3 Logging changes 2016-09-22 21:55:05 -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 b20a5e6b90 Bundles for history did not validate 2016-09-18 10:28:24 -04:00
James Agnew 40286f49c2 Merge branch 'patch' of github.com:jamesagnew/hapi-fhir into patch 2016-09-17 23:40:54 -04:00
James Agnew 1343badba4 Working on patch 2016-09-17 13:40:03 -04:00
James Agnew 364c18e06e Use more compatible Accept header in STU3 client. Also fixes missing
Woodstox library in android builds per #450)
2016-09-16 23:46:06 -04:00
James Agnew f92c5a7232 Fix #446 - Don't give child resources the ID of the parent 2016-09-16 15:01:14 -04:00
James Agnew 12790d385c Fix #445 - Server was using the wrong mimetype for conf statement 2016-09-16 13:25:03 -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 d41b412dee Fix #440 - Don't depend on Saxon 2016-09-08 15:56:15 -04:00
James Agnew 202a1ea885 Fix web testing UI regression 2016-09-06 17:59:04 -04:00
James Agnew 98e0753b93 Properly add include resources 2016-08-30 16:38:09 -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 333aa0afde Correctly update versions on transactipn update 2016-08-28 22:56:59 -04:00
James ddc0abe4ed Update to final STU3 ballot definitions 2016-08-26 07:55:10 -04:00
James Agnew a1105fac1e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-25 18:27:32 -04:00
James Agnew 17940b8a24 Improve performance when parsing contained resources 2016-08-25 17:41:33 -04:00
James acdbdc0be7 Fix #426 - Extension with datatype of ID failed to parse 2016-08-25 07:32:37 -04:00
James Agnew c4d302df8d Upgrade to Thymeleaf 3 2016-08-23 19:11:49 -04:00
James Agnew 82da79cd5f Add a new test 2016-08-23 13:49:31 -04:00
James Agnew cc6c32f987 Fix tests 2016-08-22 09:43:01 -04:00
James Agnew 7f15520db8 Don't include Location header in server responses for DSTU3 servers 2016-08-21 11:39:44 -07:00
James Agnew da8abca1ff Add custom extension example 2016-08-21 10:24:42 -07:00
James Agnew 379abb8e47 Don't strip urn: prefixes from references when encoding 2016-08-16 11:23:07 -07: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 8354f4b565 Use correct accept header 2016-08-05 18:39:44 -04:00
James Agnew 74950a4efc Fix regression when parsing contained resources 2016-08-05 18:01:44 -04:00
James Agnew a3f4864bd6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-05 12:37:06 -04:00
James Agnew 3e7cd153fd Update DSTU3 definitions to latest 2016-08-05 12:36:41 -04:00
jamesagnew 545b359697 Fix #406 - Allow arbitrary authentication realm 2016-08-01 21:36:50 -04:00
James Agnew dd8b1cd979 Use corrrect types from client 2016-07-27 18:15:09 -04:00
jamesagnew 7dbd5a21ca Fix tests 2016-07-24 09:20:54 -04:00
jamesagnew a9b29d5088 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-23 18:51:08 -04:00
jamesagnew 350e82b6cf Fix #403 - Allow references to keep versions when encoding 2016-07-23 18:48:00 -04:00
James Agnew 748c13d0dc Remove bad dependency 2016-07-22 18:33:16 -04:00
James Agnew 7bea8431f7 Add interceptor for rejecting TRACE and other invalid verbs 2016-07-19 19:16:09 -04:00
jamesagnew 5073692eda Always include SUBSETTED tag when _elements is used on server 2016-07-18 07:05:11 -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 ef1c81e241 Fix #150 - Don't encode null fluent client values 2016-07-14 07:18:48 -04:00
James Agnew 0b69367b11 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-13 09:22:19 -04:00
jamesagnew 5b46e9655a Fix compile errors 2016-07-13 07:59:08 -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 c550681aeb Update defs to 1.5.0 versions 2016-07-12 18:29:10 -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 74feb38085 Fix test regression 2016-07-05 17:30:14 -04:00
James Agnew d63e289cbe Validation fixes 2016-07-05 16:56:06 -04:00
James Agnew 9226e43090 Fix tests 2016-07-05 09:57:55 -04:00
James Agnew a8585c881d Fix #396 - Make tests timezone independent 2016-07-04 13:48:05 -04:00
jamesagnew 32bdd14639 Work on term service 2016-07-02 17:14:36 -04:00
jamesagnew 4a49e5b7f9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-01 14:31:25 -04:00
James Agnew 38d30eef49 Respect order for order=REPLACE_PARENT 2016-06-29 10:26:36 -04:00
James Agnew 1eb1dc7e36 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-06-29 09:56:12 -04:00
James Agnew ea99672e6c Add tests for term svc 2016-06-29 09:56:05 -04:00
jamesagnew 9b6f548970 Work on term service, and allow child classes when serializing 2016-06-29 08:08:42 -04:00
James Agnew d7fdaf7618 Add custom type test 2016-06-27 17:51:08 -04:00
jamesagnew e9cb518012 Fix teerm sevice indexing 2016-06-26 23:10:02 -04:00
James Agnew b84150ff5e Randomly set locale after each test in order to make sure we aren't
dependent on a specific environment
2016-06-21 09:53:24 -04:00
James Agnew 0d65ec3f4e Fix test that fails on Windows 2016-06-21 09:44:42 -04:00