Commit Graph

2350 Commits

Author SHA1 Message Date
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 3c65b64ed7 Fix changelog typos 2016-08-25 08:16:27 -04:00
James acdbdc0be7 Fix #426 - Extension with datatype of ID failed to parse 2016-08-25 07:32:37 -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 Agnew 82da79cd5f Add a new test 2016-08-23 13:49:31 -04:00
James 1ca39a9e71 Fix tests 2016-08-23 07:49:18 -04:00
James aa16a46b74 Fix #428 - Fix NPE when encoding extension 2016-08-23 07:23:07 -04:00
James 696fa8701b Add unit test for #428 2016-08-23 07:10:28 -04:00
James db17342149 Fix tests 2016-08-23 06:52:47 -04:00
James 1eb4dd06be Fix tests 2016-08-22 22:03:02 -04:00
James 0e7405cef2 Better error message when localizer can't find key 2016-08-22 21:33:07 -04:00
James Agnew cc6c32f987 Fix tests 2016-08-22 09:43:01 -04:00
James Agnew e07b5299ac Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-22 09:19:22 -04:00
James 35a890db34 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-22 07:42:02 -04:00
James b70165630a Improve partial string handling in JPA server 2016-08-22 07:05:49 -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 f64337b651 Fix test 2016-08-14 13:22:42 -04:00
James b0d19c3a65 Fix #423 - Encode custom types with custom type fields correctly 2016-08-14 13:05:16 -04:00
James 779b66c5e4 Add unit test 2016-08-11 20:55:11 -04:00
James Agnew ac2d55139d Add option to upload-terminology for security header 2016-08-09 15:38:30 -04:00
James af68a9d3b4 Add some eclipse files 2016-08-08 06:43:24 -04:00
jamesagnew 7f0fe89313 Add eclipse files 2016-08-06 15:48:29 -04:00
jamesagnew c193514ff7 Add eclipse files 2016-08-06 15:44:47 -04:00
jamesagnew e4d79779d9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-08-06 14:03:34 -04:00
jamesagnew 0176611df3 Add DSTU1 project 2016-08-06 14:03:21 -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 4ff25b093f Add license headers 2016-08-05 15:50:53 -04:00
James Agnew 73c52eb7c5 Don't do parallel unit tests on travis 2016-08-05 14:06:24 -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 1fdab136d7 Fix build 2016-08-02 22:07:45 -04:00
jamesagnew ba826ccb7e Fix build 2016-08-02 20:53:38 -04:00
jamesagnew a787970cb2 Add hapi-fhir-client-okhttp to JaCoCo coverage (#416) 2016-08-02 20:31:05 -04:00
Matt Clarke 06b9059a87 OkHttp client (#416)
* Created stub factory, client and test using jaxrs as a template

* OkHttp client, request and response partially implemented

* OkHttp client now adds sensible default headers to requests

* Creating an OkHttp byte request is now implemented

* OkHttp query parameter requests now supported

* Refactored tests, no longer comparing case for charsets

* Added proxy support to okhttpclientfactory
Re-enabled no-fhir-context test

* Fixed no-context test - expected exception message is now generic

* fixed some content type comparisons

* Removing trailing question marks from URLs as OkHttp doesn't do this automatically (like JaxRs)

* Fixed NPE when content-type header doesn't exist

* Correct HTTP method is now set on OkHttp requests (PUT, POST, UPDATE, etc.)

* Removed support for getRequestBodyFromStream - wasn't implemented correctly

* Added response buffering

* Updated test in light of changes pulled in from master

* Extract method refactors in okhttprestfulclient

* Implemented binary request with the OkHttp client

* Extracted out a generic string utils class

* Added relevant file and class headers

* Reformatted code

* Implemented getHttpClient(serverBase) in OkHttpRestfulClientFactory

* Renamed fields and parameters to be consistent with the rest of the project

* Reformat OkHttpClientDstu2Test (removes extraneous blank lines etc.)

* Removed additional blank lines in test

* Copied missing bundle_orion.xml to OkHttp test resources
2016-08-02 20:19:37 -04:00
jamesagnew 681f4e153d Credit for #416 2016-08-02 20:18:59 -04:00
jamesagnew 6aa7aed3cf Fix compile issue 2016-08-01 22:18:23 -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 41b58108f2 Bump version dependencies and return 200 for conditional delete with no matches 2016-07-25 08:46:02 -04:00
jamesagnew fd4979f56a Fix compile issues 2016-07-24 11:11:27 -04:00
jamesagnew ca97c0d000 Fix #401 - Don't clear fullUrl on stored bundles 2016-07-24 11:02:20 -04:00
jamesagnew 294e467811 Fix #409 - Tag#setCode did not work 2016-07-24 09:28:22 -04:00
jamesagnew 7dbd5a21ca Fix tests 2016-07-24 09:20:54 -04:00