Commit Graph

2269 Commits

Author SHA1 Message Date
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
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
jamesagnew c532d1a25b Add test for #410 2016-07-21 07:35:15 -04:00
James Agnew d0383a29da Merge pull request #404 from mion00/fix-id-dstu2org
Fix missing ID with JAX-RS and DSTU2 RI
2016-07-19 19:16:55 -04:00
James Agnew 7bea8431f7 Add interceptor for rejecting TRACE and other invalid verbs 2016-07-19 19:16:09 -04:00
James Agnew 4177994ad8 Add credit for #404 2016-07-19 19:15:56 -04:00
James Agnew 8f7a374a25 Auto-detect disabled hibernate search 2016-07-18 16:56:41 -04:00
James Agnew 94128e2e6d Fix tests 2016-07-18 13:50:08 -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
James Agnew ee0e3bda82 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-14 09:17:10 -04:00
James Agnew b4fa165938 Fix dependency on DNS in test 2016-07-14 09:16:43 -04:00
jamesagnew ef1c81e241 Fix #150 - Don't encode null fluent client values 2016-07-14 07:18:48 -04:00
Carlo Mion cf6474dd7b Fix missing ID with JAX-RS and DSTU2 RI
While using DSTU2 reference implementation, the ID was not correctly initialized in the request object
2016-07-13 20:08:23 +02:00
James Agnew f6601cc347 Add example for terminology uiploading 2016-07-13 09:40:50 -04:00
James Agnew 0b69367b11 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-13 09:22:19 -04:00
James Agnew 1fae24e213 Update download page 2016-07-13 09:22:10 -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 040c098742 Site updates 2016-07-07 07:40:53 -04:00
jamesagnew 8156abf803 More prep for 1.6 2016-07-06 08:19:27 -04:00
jamesagnew acaf2135c5 Finalize 1.6 release 2016-07-06 07:29:20 -04:00
James Agnew 83c2e7d1fb Another test fix 2016-07-05 18:22:08 -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