Commit Graph

495 Commits

Author SHA1 Message Date
James Agnew af2b702aa4 Fixes from Montreal connectathon 2016-05-07 14:24:33 -04:00
James Agnew 804149205a Work on getting tests passing 2016-05-02 11:42:55 -04:00
jamesagnew 514da88787 Improve performance in parser when parsing large bundles 2016-04-23 13:54:16 -04:00
jamesagnew a0ce10cf3f Fix tests for #342 2016-04-22 07:55:55 -04:00
jamesagnew 38e80531bb Bump version to 1.6-SNAPSHOT 2016-04-22 07:05:05 -04:00
jamesagnew 64f84849d7 Fix a bunch of tests - Still trying to get memory down so Cobertura passes 2016-04-17 19:41:28 -04:00
jamesagnew f3a41570d3 Try to get tests workign on Travis.. yet again 2016-04-17 19:25:11 -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 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
James Agnew 46ba27ec8f Work on security interceptor 2016-03-28 20:51:27 -04:00
James Agnew f9fa6265df Correctly handle JPA search by token with system but no code 2016-03-25 16:20:43 +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 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
James Agnew 00ced6a652 Improve performance of _lastUpdated queries in JPA server 2016-03-14 06:31:45 -04:00
jamesagnew 232afee955 Improved error messages for #305 2016-03-11 07:56:00 -05:00
jamesagnew 99a4b2c29e Refactor JPA SearchBuilder 2016-03-05 20:46:04 -05:00
jamesagnew 1da5855c9c Add Eclipse files to git 2016-02-28 14:02:29 -05:00
jamesagnew f1e1ee9ff9 Merge JAX-RS client fixes 2016-02-28 13:34:57 -05:00
jamesagnew 69450c7dab Merge branch 'master' into jaxrs-client 2016-02-27 09:48:36 -05:00
jamesagnew 3f363eff9f Fix compile issues from merge 2016-02-27 09:42:15 -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
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 43bdfc0345 Fix #297 - Resource not populated in ActionRequestDetails for validate method 2016-02-19 06:21:05 -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 32daeb6f58 Switch DSTU2.1 to DSTU3 per FMB's decision 2016-02-01 08:55:58 -05:00
jamesagnew 1bc35f1ba3 Support modifiers on token parameters 2016-01-27 07:05:41 -05:00
jamesagnew 1ba03f4a9b Fix #283 - Remove servlet 3.0 dependency where possible 2016-01-20 08:11:03 -05:00
James Agnew f9960b22d5 Clean up validation 2016-01-15 18:44:28 -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
petervanhoute b6d3a003d3 move client api-classes into api package 2016-01-08 11:47:00 +01:00
petervanhoute 1271c36d1b create a jax-rs client 2016-01-08 10:50:04 +01:00
James Agnew 479da24cfb Bump license files 2016-01-07 08:50:07 -05: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
jamesagnew aaf85f2323 Lots of work on DSTU2.1 structures 2015-12-20 09:29:52 -05:00
jamesagnew 60261672c1 Stricter errors to try and fix travis.. 2015-12-14 22:05:32 -05:00
jamesagnew a623003a56 Fix #240 - Support target resource type in server _include and _revinclude values 2015-12-14 21:50:35 -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
James Agnew 96c0267fe1 Add logging to stupid failing travis test 2015-12-14 18:35:42 -05:00
James Agnew feaf33dfd9 Fix breaking test 2015-12-14 18:25:55 -05:00
James Agnew 9ef0498775 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-12-14 10:56:33 -05:00
jamesagnew 97d6d09663 Work on #240 - Not yet working in JPA 2015-12-14 08:17:33 -05:00
James Agnew 117f9eb977 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-12-10 08:24:30 -05:00
James Agnew 85ec9d9264 Work on 2.1 structures 2015-12-10 08:24:12 -05:00
jamesagnew 67eb06665e Work on test indexing 2015-12-03 22:41:37 -05:00
James Agnew 2f8278ff78 Fix build 2015-12-02 10:10:10 -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 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
jamesagnew 6fd5aecec7 Fix #250 - Honour Accept: text/xml and Accept: text/json 2015-11-05 07:32:33 -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
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
James Agnew 5edd290013 More work on JPA server transactions 2015-10-20 10:52:29 -04:00
jamesagnew 938a251ae9 Cleanup tests for java config in JPA 2015-10-19 20:19:40 -04:00
James Agnew a2bf374470 Merge pull request #239 from botunge/master
Make dependencies truly optionel and clean up android pom.
2015-10-12 20:06:24 -04:00
James Agnew 8794de7a22 Improve validation messages 2015-10-08 18:31:30 -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
Thomas Andersen e040ef3f43 Merge remote-tracking branch 'upstream/master' 2015-10-04 21:07:46 +02:00
James Agnew c666b9c196 Fix compile issues 2015-10-03 16:11:47 -04:00
petervanhoute b4df6f9612 add server using jaxrs 2015-10-02 11:27:21 +02:00
Thomas Andersen 9560ab8dd2 Remove server code from android client and make android client smaller 2015-10-02 00:13:19 +02: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
jamesagnew a15ed8e944 Work on subscriptions, and correct an issue with DateRangeParam where comparators get ignored 2015-09-23 08:36:11 -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
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 27764da19a #221 Conformance date now defaults to the build date/time 2015-09-09 16:47:07 -04:00
jamesagnew aa8334a99a Merge remote-tracking branch 'upstream/master' into osgi-pull-request 2015-09-09 08:41:45 -04:00
bdenton daedf63c46 Decouple RestfulService and ServerConformanceProvider to avoid cycle in
Spring wiring
2015-09-09 07:01:03 -04:00
jamesagnew 68cc2f0cfe Fix tests 2015-09-04 09:00:55 -04:00
James Agnew 97e6073665 Support URI (and prepare for lat/lon search params) in JPA server, and
don't store duplicate tags
2015-09-01 17:02:35 -04:00
de Beaubien, Bill b6f6340eb9 Fix #214 - more failing bundle stuff 2015-09-01 13:40:32 -04:00
de Beaubien, Bill bac4c4a2e9 Fix #214 - added totalResults to the hash of valid dstu1 keywords 2015-09-01 09:58:25 -04:00
de Beaubien, Bill c57ec9912a Added ignored test demonstrating dstu1 json bundle parsing issue 2015-09-01 09:21:51 -04:00
jamesagnew a9f978a8a2 Udate to latest DSTU2 definitions 2015-08-31 08:20:24 -04:00
James Agnew eaa2519696 iAdd some tests 2015-08-28 18:00:32 -04:00
James Agnew 110abf7cb2 Switch from Cobertura to JaCoCo 2015-08-28 17:06:56 -04:00
James Agnew bd13b53099 Fix #212 - Dont accept invalid IDs but do accept IDs starting with a
number
2015-08-28 15:36:56 -04:00
jamesagnew 073fa47807 Add support for _include:recurse behaviour 2015-08-27 19:44:51 -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 3c342c6391 Try to fix regression in #206 2015-08-19 08:52:37 -04:00
jamesagnew 6941f92090 Fix #207 - Confusing error message parsing invalid contained resources 2015-08-17 20:46:56 -04:00
James Agnew bb1e8b9ddd Last commit broke cobertura 2015-08-17 15:54:00 -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 c859c9da91 Add withId(long) to fluent client read() method 2015-08-14 15:43:35 -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 b36e4e5841 Merge branch 'master' into dstu2_final 2015-08-06 18:07:34 -04:00
James Agnew 76c076a2d1 Add test for #205 2015-08-06 11:14:52 -04:00
James Agnew af9c8faf89 Don't crash if resrouce references being parsed have unexpected child
elements
2015-08-06 10:50:36 -04:00
James Agnew 63defc2f30 Merge branch 'master' into dstu2_final 2015-08-05 13:29:20 -04:00
James Agnew fd91ce76ce Fix #192 - Correctly unescape search parameters in the server when they
have a trailing comma or an escaped backslash
2015-08-05 12:57:04 -04:00
James Agnew d9d192cc04 Merge branch 'master' into dstu2_final 2015-07-30 22:34:45 -04:00
James Agnew ab2129d651 Implements support for _tag in JPA server and client 2015-07-30 07:47:37 -04:00
James Agnew 75798cf9fe Use HttpServletRequest.getContextPath to get the context path 2015-07-27 11:19:29 -04:00
jamesagnew b2e17dd746 Add test 2015-07-26 18:07:48 -04:00
jamesagnew e457366ffa Start work on upgrading DSTU2 to QA version 2015-07-25 11:56:47 -04:00
jamesagnew 48917684fd Finish off #152 2015-07-21 08:28:40 -04:00
jamesagnew af0db664db Add tests for #192 2015-07-18 17:14:34 -04:00
jamesagnew 22ffa16bb3 Fix examples 2015-07-18 16:42:59 -04:00
jamesagnew 3bff020c54 Add exception pre processing method to server interceptors 2015-07-18 16:31:32 -04:00
jamesagnew ddbe79cb86 For #126 - Don't use BoundCodeableConcept for empty enums 2015-07-17 08:34:44 -04:00
jamesagnew 3bdf846a3d Improve error messages in JPA server 2015-07-16 22:47:41 -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 c22aa14d29 Clean up the validation framework and integrate the QuestionnaireAnswers
validator
2015-07-10 16:05:40 -04:00
jamesagnew d5b99c2c10 Fix broken build 2015-07-08 22:27:49 -04:00
James Agnew 3bfecb27a8 Update RI structures 2015-07-08 17:57:53 -04:00
James Agnew d20b7e2c94 A few cleanups to allow example resources to commit cleanly 2015-07-07 17:27:10 -04:00
James Agnew 0f76ba81e1 Fix #196 - Support deep chained parameters in JPA. Also add support for
Prefer header.
2015-07-07 10:41:07 -04:00
jamesagnew 61d4887f77 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-07-05 17:14:48 -04:00
jamesagnew 8a86ad5e76 Wide sweeping changes to get RI structures working in server mode 2015-07-05 17:14:15 -04:00
James Agnew ea2bb36950 Add test for #192 2015-07-03 13:59:28 -04:00
jamesagnew a4157c1339 Add sort on reference param for JPA server 2015-06-22 08:34:47 -04:00
jamesagnew e9ac63688c Finally have travis and coveralls working! 2015-06-21 00:48:10 -04:00
jamesagnew 71fbfe5214 Add consolidated test package and clean up tests for cobertura 2015-06-20 14:23:34 -04:00
James Agnew 9cf2b18d5d Fix broken unit test 2015-06-17 16:17:16 -04:00
jamesagnew 1bde9ac5b3 Fully implement content type negotiation, and add checkstyle 2015-06-17 13:51:05 -04:00
James Agnew 6f7ef96b97 Support $validate operation correctly in DSTU2 clients and in testpage
overlay
2015-06-16 11:56:30 -04:00
jamesagnew 81bfc28147 Support $validate operatioh in DSTU2 client 2015-06-16 08:05:27 -04:00
jamesagnew 4ab8871a41 POM cleanup 2015-06-09 08:22:46 -04:00
jamesagnew 4d9b2c6e8c Fix #175 - Correctly parse ™ 2015-06-04 20:24:47 -04:00
James Agnew f9a9232926 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-04 12:20:17 -04:00
James Agnew 62b0707b36 Support attributes longer than 512kb. 2015-06-04 12:19:10 -04:00
James Agnew 9b97fb0e97 Enable validation ($validate) operation in DSTU2 style 2015-06-04 10:56:13 -04:00
jamesagnew 177afd9f4d Unit tests for #175 2015-06-04 07:59:20 -04:00
jamesagnew e5b402cb14 Allow raw access to resource body in create/update/etc 2015-06-01 09:21:41 -04:00
jamesagnew 064f113133 Clean up resource parameter handling 2015-05-31 19:38:01 -04:00
James Agnew 3280375486 Fix $everything operation in generic client if the server returns JSON 2015-05-29 17:50:18 -04:00
jamesagnew 834710df9b Work on #152 - Improved validation framework to enable failing if unexpected elements are found 2015-05-26 21:03:49 -04:00
James Agnew ff6884223e Fix #170 - Better addXXX methods in structures. Also don't incorrectly
include IDs in client create requests, and add better getLink methods
to the bew Bundle resource structure.
2015-05-21 15:18:46 -04:00
James Agnew 30c7027616 Fix #149 - Use correct base URL on subsequent pages 2015-05-20 17:29:27 -04:00
James Agnew 0f9d4b8059 Add interceptor for syntax highlighting 2015-05-15 18:59:54 -04:00
James Agnew 7517709edb Fix #149 - Respect server address strategy for link-self on search
results
2015-05-15 17:51:06 -04:00
James Agnew fbcd15a16d Test updates 2015-05-12 18:08:10 -04:00