Commit Graph

2143 Commits

Author SHA1 Message Date
jamesagnew 970c48ec37 A bit more test cleanup 2018-10-04 13:29:09 -04:00
James Agnew 95f00e1c94 Fix NPE in tests 2018-10-04 08:33:40 -04:00
James Agnew b265c0281b Expand search range when searching by date 2018-10-03 21:31:01 -04:00
James Agnew 5d5ee78873 API cleanup following JPA search performance enhancements 2018-10-03 07:43:01 -04:00
James Agnew 62d6771814 Use a select count query for summary count searches in JPA server 2018-09-29 21:58:14 -04:00
James Agnew 3e445faf47 Squashed commit of the following:
commit df641506885e09e63f80efc6c658d01a1a3a8142
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sat Sep 29 13:47:22 2018 -0400

    Shrink validation resources

commit 4c1550eafa26f4235b4b8804741aecc03276b5c6
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Sep 28 22:45:28 2018 -0400

    Updates to get R4 working

commit 8332f15291006691ed9b07ead3e3524b0fc85510
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Fri Sep 28 09:02:13 2018 -0400

    Ongoing work on gettign R4 working

commit f7146cab7aed937bb625a8aec95744d76db00041
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Sep 28 05:21:01 2018 -0400

    More work on sync

commit f48de4a10b1bab2584fee813017d9b27b237bfa9
Merge: 9e4f3cc722 aacb78b779
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:11:29 2018 -0400

    Merge branch 'sync_r4' of github.com:jamesagnew/hapi-fhir into sync_r4

commit 9e4f3cc722668aae31a77b19bf9b032af3ae01b0
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:11:19 2018 -0400

    Fix compile error

commit 7ec29e0ceda8f9013cbabb95767cbe15b4b81303
Merge: 23f7517325 002c4b3ff7
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:04:23 2018 -0400

    Merge branch 'master' into sync_r4

commit aacb78b7793ab2c71e0a2a774240ee2b5d3f9e7f
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:01:42 2018 -0400

    Keep working on getting R4 building

commit 4950de46d99897e74d41dfdb10d3d8a3435cb0c9
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Tue Sep 25 13:11:27 2018 -0400

    Ongoing work to get R4 working

commit 819d69c20e112dd3c72569ec50114ddb8263c300
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Sep 20 08:15:36 2018 -0400

    Work on getting build working

commit 2c61b6cd1205ced5d7b822cf10942c69272ea078
Merge: 16b5bb06c8 dfb4de86f1
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Sep 20 05:16:53 2018 -0400

    Merge branch 'master' into sync_r4

commit 16b5bb06c8cdaf8d67c3b80f5aa9be9fccd99aef
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Mon Sep 17 05:30:39 2018 -0400

    Work on R4 sync

commit 23f7517325a14dd2ca1eb5641296ead2776634ae
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Sep 16 10:19:00 2018 -0400

    Work on sync

commit 6cc413c1f1dea538295aa4c16c21a5677494ac4c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Sep 14 17:28:28 2018 -0400

    Work on R$ sync

commit df6f6ad2ce783b07ccc383134705d874bc5d2cf1
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Fri Sep 14 08:33:07 2018 -0400

    Work on R4
2018-09-29 13:48:35 -04:00
Heinz-Dieter Conradi ea5cf9f956 Fix the null pointer problems in the DataRangeParam class 2018-09-27 11:25:56 +02:00
Heinz-Dieter Conradi 734835de96 Add some test demonstrating null pointer problems in the DateRangeParam class 2018-09-27 11:25:56 +02:00
James Agnew c0051f309b Avoid NPE on parser 2018-09-21 09:48:18 -04:00
jamesagnew dfb4de86f1 License updates 2018-09-20 05:16:15 -04:00
James Agnew 706e004b9d Bump to 3.6.0-SNAPSHOT 2018-09-19 10:24:48 -04:00
jamesagnew 321e88c811 License header updates 2018-09-14 05:25:07 -04:00
James Agnew ce6a9dbc36 Fix regression from new jetty version 2018-09-11 08:27:34 -04:00
James Agnew daef975734 Version bump to 3.5.0 2018-09-08 07:22:21 +08:00
James Agnew f5d567cd00 Work on migrator 2018-09-08 03:30:35 +08:00
James Agnew 0f7c4219cb Merge branch 'master' into jpa_migration 2018-09-02 06:05:11 +08:00
James Agnew f4a21eadda Fix this issue 2018-09-01 14:38:52 +08:00
James Agnew 07cfed14b8 Work on migrator 2018-08-27 08:21:20 -04:00
jamesagnew df651c830e Remove dynamic mode 2018-08-19 17:35:08 -04:00
James Agnew bc1ee1f9dc Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-08-13 11:54:36 -04:00
James Agnew ea1f17762e Don't apply last updated to includes 2018-08-11 12:20:07 -04:00
jamesagnew 64b3b64208 License header updates 2018-08-06 19:06:09 -04:00
James Agnew 4eb3281fa6 Merge branch 'client_enhancements' 2018-07-30 18:34:49 -04:00
James Agnew 709a5dbd0a
Merge pull request #965 from jbalbien/fixBundleUtilBug
fix bundle util bug
2018-07-30 09:45:09 -04:00
James Agnew d6293cf9b3 Merge branch 'client_enhancements' 2018-07-30 09:42:38 -04:00
James Agnew db0f082222
Merge pull request #996 from anamariaradu10/master
Changes regarding behavior for Prefer header
2018-07-30 09:16:20 -04:00
jamesagnew 0f1724ac0a Credit and a unit test for #912 2018-07-30 05:48:38 -04:00
James Agnew d50dda19ae
Merge pull request #912 from InfiniteLoop90/911-contains-modifier
Fixes #911 - Adds support for :contains modifier
2018-07-30 05:39:27 -04:00
jamesagnew fc9f2ec0fb FIx test issue 2018-07-29 18:20:09 -04:00
James Agnew 518092cbd4 More updates 2018-07-29 17:10:26 -04:00
anamariaradu10 3a5556006b
Merge branch 'master' into master 2018-07-27 16:59:52 +03:00
Ana Maria Radu 9c39733aff Fixed issues 2018-07-27 16:48:44 +03:00
James Agnew 75a68a0332 Unit test fix 2018-07-26 18:58:23 +07:00
James Agnew a4e4111376 Fix a unit test 2018-07-26 18:08:59 +07:00
James Agnew 3c80238f0e Ongoing work on interceptors 2018-07-24 17:22:21 +07:00
James Agnew 23083a9283 Improvements to client and SP indexing in JPA server 2018-07-23 17:37:49 +09:00
James Agnew b4aa4c0e89 Add protection against HTML injection attacks 2018-07-19 08:56:22 -04:00
jamesagnew 401a4cd738 Clean up concept reindexing 2018-07-15 17:18:07 -04:00
jamesagnew 43ac912033 Clean up terminology uploading 2018-07-15 15:22:52 -04:00
jamesagnew 6d83edabb6 License header updates 2018-07-01 20:59:04 -04:00
patrick-werner a2d6435597 adding contentType matching independent of Charset to non-strict method 2018-06-25 10:51:05 +02:00
Patrick Werner b1e09fcdf7
Merge pull request #1007 from jamesagnew/1006-Writing-structured-Binary
1006 writing structured binary
2018-06-21 18:03:14 +02:00
Patrick Werner 8bd1313492
removed unused import 2018-06-21 14:56:38 +02:00
patrick-werner f470653ba4 fixing tests 2018-06-21 11:50:58 +02:00
patrick-werner ef9f97a576 fixes #1006 2018-06-20 17:26:23 +02:00
James Agnew ed0b5f54a5 More authorizationinterceptor tweaks for better security 2018-06-12 21:52:01 +08:00
Ana Maria Radu dc476aeeea In my opinion these changes should be made in order to have the behavior
for the Prefer header values as the one explained in the official
documentation from https://www.hl7.org/fhir/http.html
2018-06-12 14:04:05 +03:00
patrick-werner 9498247082 Allows the Cache-Control Header in CORS header for jpa-example-server & CLI 2018-06-04 16:12:31 +02:00
James Agnew d819d685ee Test fix 2018-05-30 09:57:41 -04:00
Diederik Muylwyk 0e2c57fa60 Bumping version. 2018-05-28 17:44:38 -04:00
Diederik Muylwyk 2871920734 Preparing release. 2018-05-28 10:45:47 -04:00
Jeff Balbien d417bf1225 fix bundle util bug 2018-05-25 09:19:59 -07:00
James Agnew a3687e446e Correctly handle missing search params with new indexing infrastructure 2018-05-23 11:42:38 -04:00
James Agnew 2e74ad72cb Improve timeouts on test ports 2018-05-23 08:52:24 -04:00
James Agnew 2f2900e837 Improve indexing on JPA server in anticipation of a new indexing
strategy in HAPI FHIR 3.5.0
2018-05-23 08:09:57 -04:00
James Agnew cadb51d36c
Merge pull request #875 from RuthAlk/fix_codeableconcept_narrative
Fix error in narrative for CodeableConcept
2018-05-23 06:38:08 -04:00
James Agnew 851ce85ac6
Merge branch 'master' into wip-DateRangeParam 2018-05-23 06:03:26 -04:00
James Agnew 4d93b78c24 Credit for #836 2018-05-22 08:44:17 -04:00
James Agnew 3a68bc19e7
Merge pull request #836 from RuthAlk/include_patch
Fix problem with _include=MedicationRequest:medication
2018-05-22 08:40:08 -04:00
James Agnew 4fd868afae Credit for #946 and add extensions to the CLI uploader 2018-05-16 19:32:12 -04:00
James Agnew a3ff08d9ec
Replace phloc with ph for #775 (#930)
* Replace phloc with ph

* Enable schematron tests

* Make HAPI-FHIR ph-schematron on OSGI

* Work on getting tests passing

* Another test fix

* Fix up transaction handling for DSTU2

* Add changelog

* Avoid double transaction

* Dont use readonly

* One more test fix

* Update to snapshow build

* Resolve a circular dependency

* Try to fix tests

* Solve recurring NPE in DSTU2 tests

* Fix one more test

* Test fix

* More test threading fixes

* One more attempt to get tests passing

* Refactoring for tests

* Refactoring for tests
2018-05-14 17:38:40 -04:00
jamesagnew ccb859fdbe FIxes to get the synced build working 2018-05-13 08:08:34 -04:00
jamesagnew 150f27a9ca Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-05-12 19:40:31 -04:00
jamesagnew 3d762b984b Sync to R4 definitions 2018-05-12 19:35:42 -04:00
James Agnew f1ba0016b2 Improve the error message thrown by JPA server 2018-05-11 17:03:48 -04:00
James Agnew b17eebd8d2 Squashed commit of the following:
commit 2be11651c2
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 11:50:53 2018 -0400

    Update changelog

commit b3bb5f9052
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 11:19:28 2018 -0400

    Parameter updates

commit f6b1082ba4
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 07:24:30 2018 -0400

    More test fixes

commit 81a69c265f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:26:48 2018 -0400

    Fix compile error

commit 935938e92c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:25:18 2018 -0400

    Another test fix

commit 43568a1f8d
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:18:06 2018 -0400

    Fix compile error

commit e95894e643
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:13:50 2018 -0400

    More work on tests

commit 9393fb8f4f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 05:36:27 2018 -0400

    One more fix

commit 437f5051e4
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 21:32:10 2018 -0400

    Work on validator

commit 20c51add4f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 19:34:10 2018 -0400

    Validator fix

commit 7bf2b0a0e9
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 18:44:04 2018 -0400

    Fix test

commit adc73e75c9
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 17:22:34 2018 -0400

    Merge validator
2018-05-10 11:53:32 -04:00
Diederik Muylwyk d97fb8f5cf
709 the conceptmap operation called translate needs to be implemented (#923)
The ConceptMap operation $translate has been implemented.
2018-05-10 10:52:56 -04:00
jamesagnew 5bd191d192 FIx some failing tests 2018-04-28 13:21:48 -04:00
James Agnew 593a705365 Performance enhancements on the CapabilityStatement generator for JPA
server
2018-04-28 11:06:42 -04:00
jamesagnew e299b062a6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-04-24 19:14:56 -04:00
jamesagnew f1db751d1e Update headers 2018-04-24 19:14:33 -04:00
James Agnew 09b1f547d0 Add expunge 2018-04-24 15:11:00 -04:00
James Agnew 07e7af746f Work on expunge operation 2018-04-22 22:03:23 -04:00
James Agnew 591539cf13 Add expunge method 2018-04-22 18:34:56 -04:00
jamesagnew 8c889267e5 One more parser fix 2018-04-18 06:20:11 -04:00
James Agnew 162069776a Correctly handle encoding contained resources where some have user
assigned IDs and some do not
2018-04-17 18:26:06 -04:00
jamesagnew 9013e44ba0 Fix a couple of broken compile issues 2018-03-31 06:08:49 -04:00
Clayton Bodendein ac8e412e49 Fixes #911 - Adds support for :contains modifier
Adds support for the :contains modifier in StringClientParam.
2018-03-30 23:49:06 -05:00
jamesagnew 180336e076 Sync to master 2018-03-29 06:54:24 -04:00
jamesagnew 53c2d8a38d Merge branch 'master' into loinc_loader_update 2018-03-29 06:21:55 -04:00
jamesagnew 418e82032f Prep for 3.3.0 2018-03-29 05:48:13 -04:00
jamesagnew 94b880fd4d Remove accidentally committed useless file 2018-03-28 10:13:51 -04:00
James Agnew b56d65ef5b
Merge pull request #871 from johnpoth/hapi-fhir-osgi
Implement #826 - add OSGI support and Apache Karaf features with inte…
2018-03-27 06:06:34 -04:00
James Agnew d9fcf1ef54
Merge pull request #864 from splatch/master
Avoid unecessary reference to javassist.
2018-03-23 06:49:59 -04:00
Łukasz Dywicki 9125a78f33 Avoid unecessary reference to javassist. 2018-03-20 15:39:33 +01:00
James Agnew 308ac63a77 Merge branch 'master' into loinc_loader_update 2018-03-20 07:53:41 -04:00
James Agnew 9c5e32d7eb Fix up some logging 2018-03-20 07:53:21 -04:00
James Agnew 6359f7f8a1 More work on loinc 2018-03-19 08:51:02 -04:00
James Agnew 6e2acd0689
Merge pull request #890 from jamesagnew/arglineFix
changed in *.pom: ${argLine} -> @{argLine}
2018-03-19 05:55:54 -04:00
jamesagnew 4578b3889f Allow for locale differences in StopwatchTest 2018-03-19 05:54:12 -04:00
patrick-werner ff04ab3358 ${argLine} -> [at]{argLine}
see:
http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation
2018-03-19 10:45:33 +01:00
James Agnew 142c4c6caa
Merge pull request #800 from InfiniteLoop90/issue-799-jaxrsrequest-fhir-version-support
Fixes issue #799 by adding logic to handle the R4 and DSTU2_1 contexts in ca.uhn.fhir.jaxrs.server.util.JaxRsRequest.
2018-03-19 05:41:20 -04:00
James Agnew 60354a4cc8
Merge branch 'master' into master 2018-03-12 07:41:22 -03:00
James Agnew cb2f5a0bba
Merge pull request #786 from CarthageKing/bugfix-chaining-urlvalue
ensure to use resourceType properly when it is explicitly provided in a chained reference param
2018-03-12 07:32:27 -03:00
jamesagnew 30cd63b929 More loinc work 2018-03-11 19:11:31 -04:00
James Agnew 5a653aeb20 Work on loinc mapping 2018-03-10 20:31:27 -03:00
James Agnew 611ee457cb Lots of addition of loinc 2018-03-07 13:33:49 -03:00
James Agnew e31aa760dd Fix stopwatch ETA calculations 2018-03-05 19:06:05 -05:00
Ruth Alkema fee70b1a7a Fix error in narrative for CodeableConcept 2018-03-05 16:27:07 +01:00
jamesagnew e201091e3a Update licenses for changed files 2018-03-04 13:53:04 -05:00
James Agnew 2f7751a079 Move stopwatch into hapi-fhir-base and add timing into to client
LoggingInterceptor
2018-03-04 12:13:18 -05:00
James Agnew 928cf23b4c Logging enhancements 2018-03-04 10:21:39 -05:00
James Agnew 0c0b9bd74b Fix #814 - Don't create duplicate contained resources 2018-03-02 09:46:29 -05:00
James Agnew fe140a55dd
Merge pull request #868 from Tastelezz/wip-DateParam
equals() and hashCode() for DateRangeParam and DateParam
2018-03-02 08:58:07 -05:00
Gaetano Gallo 3009ec7f74 - added guava-testlib as test dependency to modules hapi-fhir-structures-dstu2 and hapi-fhir-structures-dstu3
- added DateRangeParam.equals(Object) and DateRangeParam.hashCode()
- fixed broken DateParamTest
2018-03-02 13:03:30 +01:00
jpoth 66ebfa0ed3 Implement #826 - add OSGI support and Apache Karaf features with integration tests 2018-02-28 11:32:53 +01:00
Gaetano Gallo 1caf768fd5 - implemented DateParam.equals() and DateParam.hashCode() which comes in handy when writing tests ... 2018-02-27 10:15:19 +01:00
James Agnew 458401864b Handle deletes properly in HashMapResourceProvider 2018-02-25 14:20:04 -05:00
James Agnew ef6ee83744 Remove test which is no longer applicable 2018-02-24 23:09:30 -05:00
jamesagnew 1a9522cfdd Update license header 2018-02-24 12:05:42 -05:00
James Agnew f026f8a1ac Fix compile error 2018-02-24 12:05:05 -05:00
James Agnew 6e47951220 Remove unneccesary log lines and clean up some documentation 2018-02-24 10:57:32 -05:00
Gaetano Gallo 01ff2e7c3b - according to the design of all other IQueryParameterXXX types changed the methods setUpperBound() and setLowerBound() to return this, supporting method chaining.
- changed the order in which the state of a DateRangeParam instance got first modified and then verified.
- renamed the private method validateAndThrowDataFormatExceptionIfInvalid() to validateAndSet(DateParam, DateParam).
- replaced the methods haveLowerBound() and haveUpperBound() with the stateless method hasBound(DateParam).
2018-02-21 08:39:44 +01:00
jamesagnew 2f4ac42edb One more test fix 2018-02-18 09:17:04 -05:00
jamesagnew 3f1a0e81c7 Avoid endless reindex loop 2018-02-17 16:10:44 -05:00
jamesagnew e89f8e5ba4 Fix crash with unique search parameter updates in JPA 2018-02-16 07:39:46 -05:00
James Agnew e6253b7f22 Refresh search parameter cache asynchronously 2018-02-14 11:10:30 -05:00
James Agnew 2edc9910e5 Add a test 2018-02-09 10:29:20 -05:00
jamesagnew a395e48cd4 Don't crash when a multitenant server has a request for / 2018-02-04 18:44:37 -05:00
jamesagnew fb327c60cd FIx spring boot issue 2018-02-04 15:04:45 -05:00
James Agnew 17b1ff727e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-03 15:48:09 -05:00
James Agnew 3cbf669007 Don't crash on startup if an invalid subscription is in the database 2018-02-03 15:47:48 -05:00
jamesagnew 1d541c1588 Formatting issues 2018-02-02 14:03:53 -05:00
jamesagnew 371be03b0f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-02 13:20:09 -05:00
James Agnew efc812bf56 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-02 12:32:13 -05:00
James Agnew 0e2d55081f Fix a crash when no count parameter supplied 2018-02-02 12:31:59 -05:00
jamesagnew 351a2fc2f1 Fix #837 - Use non-legacy content-type for plain json and xml accept
header
2018-02-02 06:43:19 -05:00
jamesagnew 3f1ef0e7f6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-01 06:33:00 -05:00
jamesagnew 17edf5e727 FIx some license headers 2018-02-01 06:31:21 -05:00
James Agnew b61887e841 Improve performance of base64 validation 2018-01-30 17:37:12 -06:00
James Agnew 1c5a07b5a0 Fix #822 - Respect chained method params in a transaction search 2018-01-30 16:20:25 -06:00
James Agnew e52f582769 An experimental interceptor called VersionedApiConverterInterceptor has been added, which automaticaly converts response payloads to a client-specified version according to transforms built into FHIR. 2018-01-29 12:10:05 -06:00
James Agnew 044b9f584a Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-01-28 14:02:53 -06:00
James Agnew f976b7bf7e Add new interceptor method which enabled interceptors to modify response 2018-01-28 14:01:20 -06:00
Simon Janic 97a1ccac3d Merge remote-tracking branch 'upstream/master' 2018-01-28 16:43:32 +01:00
jamesagnew 2e4f80d7a3 Fix #831 - Remove useless TagListParam annotation 2018-01-26 10:03:21 -05:00
Ruth Alkema 9a4933f536 Fix problem with _include=MedicationRequest:medication
A query for MedicationRequest that should include medication
did not work, because the SearchParamDefinition defined the
path as MedicationRequest.medication.as(Reference)
2018-01-24 14:59:03 +01:00
jamesagnew c081f7c15d More rule fixes 2018-01-23 11:33:31 -05:00
James Agnew 16038ece26 Version bump to 3.3.0-SNAPSHOT 2018-01-23 10:31:01 -05:00
James Agnew 4dcce4e582 Fix #832 - Correctly normalize text with Korean characters 2018-01-21 14:55:14 +08:00
James Agnew 3644151a69 Fix crash in JSON parser when parsing extensions on primitive elements 2018-01-18 09:07:23 +07:00
James Agnew 6468ca474a Verion bump to 3.2.0 2018-01-13 02:14:33 -05:00
James Agnew 01186ec8cb Squashed commit of the following:
commit ab876ef864005b6758d3e00a1bb1ef2dad5d2161
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Jan 12 18:59:15 2018 -0500

    Tests all passing

commit 4f8a5d98307da1bb5ca7602e34b1d3b791f73d25
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Fri Jan 12 08:21:58 2018 -0500

    Almost compiling
2018-01-12 18:59:43 -05:00
James Agnew f6c9e3d0fe Add multitenancy support for server 2018-01-11 11:14:54 -05:00
jamesagnew 0352d48720 Bump copyright message to 2018 2018-01-08 13:52:15 -05:00
jamesagnew 7e2459fbdc FIx up tests 2018-01-08 08:18:34 -05:00
James Agnew 3e8fc0c89c Merge branch 'dstu2_custom_structs' 2017-12-12 21:47:05 -05:00
James Agnew d00c7dbea8 Giant breakthrough in fixing sporadic test failures! 2017-12-05 12:08:56 -05:00
Clayton Bodendein b81e89604c Related to issue #799, adding DSTU2_1 and R4 contexts to the FhirContext#(FhirVersionEnum, Collection<Class<? extends IBaseResource>>) method 2017-11-29 15:50:10 -06:00
Simon Janic 8427fc4547 Merge remote-tracking branch 'upstream/master' 2017-11-26 14:23:33 +01:00
Simon Janic f426b0679c Refactored the meta extensions, so it reuses the existing logic that is
used for encoding and parsing extensions on resources.
2017-11-26 14:22:41 +01:00
James Agnew 3e296f9d1b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-11-25 17:53:01 -05:00
James Agnew 6afe6804db Fix #796 - Correctly escape spaces in generated URLs 2017-11-25 17:52:12 -05:00
jamesagnew 5b909b4746 Version bump to 3.2.0-SNAPSHOT 2017-11-24 13:32:47 -05:00
jamesagnew 42dd34252d Version bump to 3.1.0 2017-11-23 13:27:21 -05:00
James Agnew 6293bb112b
Merge pull request #769 from InfiniteLoop90/issue-768-exclude-stacktrace-jax-rs
Fixes issue #768 to conditionally include stacktraces for DataFormatExceptions in OperationOutcomes when using AbstractJaxRsProviders
2017-11-22 20:00:44 -05:00
jamesagnew 059265a041 Test cleanup 2017-11-22 19:15:27 -05:00
James Agnew 4042a3a353 Prevent accidental deletion of deeply nested resources in JPA server 2017-11-22 18:17:35 -05:00
Simon Marco Janic 46fcceb9c6 [(master)] Merge remote-tracking branch 'upstream/master' 2017-11-21 11:15:50 +01:00
Simon Marco Janic 0077215b19 [(master)] Added support for references in meta 2017-11-21 10:38:14 +01:00
James Agnew 60b6c3745b Add test for #794 2017-11-20 12:03:45 -05:00
michael.i.calderero 874390df61 treat reference param values as opaque and not an url when the param is
chained
2017-11-15 15:03:53 -06:00
michael.i.calderero b277693106 ensure to use resourceType properly when it is explicitly provided in a
chained reference parameter
2017-11-14 19:00:28 -06:00
James Agnew 8dbcd29c8d Dont reuse ports in tests 2017-11-08 17:12:06 -05:00
James Agnew 59f4177a59 Fix #750 - Elements are not preserved in page requests 2017-11-06 19:49:50 -05:00
Simon Marco Janic f0477ac807 [(master)] Fixed faulty test 2017-11-06 13:38:25 +01:00
Simon Marco Janic ee3d540607 [(master)] Remove duplicated code by Git 2017-11-06 13:00:47 +01:00
Simon Marco Janic 78744ac9e4 [(master)] Merge remote-tracking branch 'origin/master'
# Conflicts:
#	hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/codesystems/DeviceStatusEnumFactory.java
2017-11-06 12:59:44 +01:00
Simon Marco Janic bb767d7f1c [(master)] Added missing import. 2017-11-06 12:59:13 +01:00
Simon Marco Janic 1c1098a2b7 [(master)] Added check for sub-extensions. 2017-11-06 12:32:11 +01:00
Simon Marco Janic b4032f4e8c [(master)] Added support for extensions in Meta resource 2017-11-06 12:32:07 +01:00
Simon Marco Janic bdb15f57e0 [(master)] Added check for sub-extensions. 2017-11-06 11:06:42 +01:00
James bde05c8b4d Fix broken DeviceStatus enums 2017-11-05 19:20:49 -05:00
James Agnew 75bfb6af1b Add support for Binary X-Security-Context header in server 2017-11-02 11:38:43 -04:00
James Agnew 256d541dda
Merge pull request #736 from malcolmm83/master
Fix for Binary.securityContext is not being encoded #734
2017-11-01 15:37:43 -04:00
Simon Marco Janic 53674db357 [(master)] Added support for extensions in Meta resource 2017-11-01 11:37:51 +01:00
James 0fb74e5d42 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-10-31 20:22:59 -04:00
James Agnew 1d06c9165b Remove more windows line ending dependencies 2017-10-31 17:55:16 -04:00
James 5a5933f232 Remove dependencies on StAX on Android 2017-10-30 16:41:31 -04:00
James Agnew 7c1ab11b02 Clean up places where CORS headers are declared - Related to #718 2017-10-30 16:37:47 -04:00
James Agnew 64e120cef8 Custom structs in progress 2017-10-30 16:19:09 -04:00
James 15ba0dff03 Clean up email subscription type 2017-10-26 06:02:12 -04:00
Clayton Bodendein d0e747d6ec Fixed issue #768 in a different way by wrapping the DataFormatException as an InvalidRequestException so that it still gets sent as a 400 response but now DataFormatException stacktraces can now be conditionally sent based on the ExceptionHandlingInterceptor#setReturnStackTracesForExceptionTypes(Class<?>...) configuration 2017-10-22 22:20:48 -05:00
James Agnew 16e19a9fed Fix #720 - Failure to parse custom type 2017-10-21 13:47:03 -04:00
James Agnew 175f9dfc5a Remove dependency on StAX for XML parsing in DSTU2 Xhtml type 2017-10-16 17:22:50 -04:00
James Agnew 9ca85b4cf3 Re-enable errorprone on standard hapi fhir build. woohoo! 2017-10-15 11:27:30 -04:00
James Agnew 0a2525e1e0 Remove some duplicate classes 2017-10-14 15:42:55 -04:00
James 31fb1236a1 Reuse bundle ID when returning query cache results 2017-10-11 06:05:14 -04:00
James 432c511a30 Add license 2017-10-06 15:41:40 -04:00
James ce720f5601 Add support for Cache-Control header in JPA server and client 2017-10-05 13:38:53 -04:00
James Agnew 87383ad802 Version bump to 3.1.0-SNAPSHOT 2017-09-27 21:23:34 -04:00
Malcolm McRoberts 511f4939c8 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir
Changes to encoding for Binary and unit test.
2017-09-25 00:02:10 -04:00
Malcolm McRoberts a57003808d Added unit test for encoding Binary with securityContext, and fixed encoding in JasonParser 2017-09-24 23:55:27 -04:00
James 49bdaa1a45 Version bump to 3.0.0 2017-09-23 17:31:39 -04:00
James Agnew fc7144ee03 Work on JPA optimization 2017-09-17 20:05:28 -04:00
James Agnew e94d639d29 Refactor websockets to use queuing mechanism 2017-09-14 21:29:57 -05:00
James Agnew 836d4d051b Work on IG Pack uploading 2017-09-07 20:33:19 -07:00
James Agnew 2aa538bd56 Add ability for system to track unique constraints 2017-09-05 17:33:19 -07:00
James Agnew cae21f4898 Update syntax highlighter to not use tables 2017-08-28 10:26:07 -04:00
Eugene Lubarsky 5d3a985ae1 ResponseHighlighter - added performance logging to the browser console 2017-08-17 12:55:18 +10:00
James f04b080d50 Honour headers in rest hook subscribers 2017-08-15 07:42:18 -04:00
James 94953e8a5c Merge in latest work on subscriptions and GraphQL 2017-08-14 22:00:59 -04:00
James b9494c179a Squashed commit of the following:
commit fa508e27b2
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Aug 14 20:38:12 2017 -0400

    Fix android tests

commit dea567e960
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Aug 14 20:25:28 2017 -0400

    Still trying to get tests passing

commit 6bbfec381f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Aug 14 20:00:59 2017 -0400

    Work on getting tests passing

commit 5e0a7672b7
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Aug 14 18:12:58 2017 -0400

    Work on GraphQL integration

commit 1c88fd154d
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Aug 14 15:19:41 2017 -0400

    Upgrade subscriptions to use interceptors across the board

commit de5c01c00d
Author: James <jamesagnew@gmail.com>
Date:   Mon Aug 14 09:09:32 2017 -0400

    Work on subscription

commit 387d504098
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Aug 14 06:19:25 2017 -0400

    Work on subscriptions

commit 95a607d155
Merge: d851de7ffd b9dbd64101
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Aug 13 22:42:22 2017 -0400

    Merge branch 'hapi3_refactor' of github.com:jamesagnew/hapi-fhir into hapi3_refactor

commit d851de7ffd
Merge: 5413b276af 209752cd63
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Aug 13 22:42:00 2017 -0400

    Merge branch 'hapi3_refactor' of github.com:jamesagnew/hapi-fhir into hapi3_refactor

commit b9dbd64101
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 22:40:35 2017 -0400

    Work on subscriptions

commit 12f89a423a
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 14:38:51 2017 -0400

    Minimize validation resources

commit f6868cce5c
Merge: 3b80779fd3 1e158311d8
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 14:05:34 2017 -0400

    Forward port fix for #710

    Merge branch 'master' into hapi3_refactor

commit 3b80779fd3
Merge: 1f534985e8 356d9acaf7
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 12:31:09 2017 -0400

    Forward port #705, #708, and #710

    Merge branch 'master' into hapi3_refactor

commit 1f534985e8
Merge: 7c39a47852 dedd3d635b
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 10:52:59 2017 -0400

    Forward port #695

    Merge branch 'master' into hapi3_refactor

commit 7c39a47852
Merge: e0ffb84d21 6efafe62f1
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 09:53:17 2017 -0400

    Forward port #688

    Merge branch 'master' into hapi3_refactor

commit e0ffb84d21
Merge: 52388c11c1 d19b00ff09
Author: James <jamesagnew@gmail.com>
Date:   Sat Aug 12 14:59:46 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit 52388c11c1
Author: James <jamesagnew@gmail.com>
Date:   Sat Aug 12 06:21:46 2017 -0400

    Cleanup

commit 5413b276af
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Aug 10 11:36:25 2017 -0400

    Work on graph QL support

commit 209752cd63
Author: James <jamesagnew@gmail.com>
Date:   Thu Aug 10 11:18:19 2017 -0400

    Fix tests

commit 4543408dc8
Author: James <jamesagnew@gmail.com>
Date:   Sat Aug 5 06:55:50 2017 -0400

    Fix a potential deadlock

commit ee360f5376
Author: James <jamesagnew@gmail.com>
Date:   Sat Aug 5 06:22:06 2017 -0400

    Add R4 code to CLI

commit 1a95ba3b65
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Aug 3 06:14:01 2017 -0400

    More cleanup

commit f0d8802681
Author: James <jamesagnew@gmail.com>
Date:   Wed Aug 2 11:27:43 2017 -0400

    Tests are working!

commit a4cbda357e
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed Aug 2 10:42:04 2017 -0400

    Connection handling cleanup for new tests

commit 0e2cecfbd0
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed Aug 2 10:16:28 2017 -0400

    Clean up R4 JPA tests

commit 40317a650d
Author: James <jamesagnew@gmail.com>
Date:   Wed Aug 2 09:12:38 2017 -0400

    Work on R4 for JPA server

commit e7f8f8c30d
Author: James <jamesagnew@gmail.com>
Date:   Tue Aug 1 20:43:47 2017 -0400

    More work on porting tests

commit 43c9003258
Author: James <jamesagnew@gmail.com>
Date:   Tue Aug 1 07:09:29 2017 -0400

    Work on porting DSTU1 tests

commit 602857f1e2
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jul 31 22:34:08 2017 -0400

    More work on bring unit tests up to date

commit e326a7b0cd
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jul 31 17:36:38 2017 -0400

    Credit for #686 and forward port the fix to R4 validator

commit 96543c3992
Merge: 3fb75aa61a 9901b802c4
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jul 31 17:12:33 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit 3fb75aa61a
Author: James <jamesagnew@gmail.com>
Date:   Mon Jul 31 15:21:30 2017 -0400

    More work on cleanup

commit b02fbb6804
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jul 30 22:11:07 2017 -0400

    Work on porting STU1 tests

commit 1ae37b0db3
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jul 30 20:56:10 2017 -0400

    Try to get coverage report working

commit 72b88849b3
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jul 30 20:27:02 2017 -0400

    Fix android tests

commit e5f6c35aea
Author: James <jamesagnew@gmail.com>
Date:   Sun Jul 30 19:31:18 2017 -0400

    More work on getting legacy code cleaned up

commit 0b513b0845
Author: James <jamesagnew@gmail.com>
Date:   Sun Jul 30 18:41:13 2017 -0400

    Continue work on removing deprecated API

commit defea69aa3
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jul 30 17:10:01 2017 -0400

    More cleanup of legacy code

commit 9ae7295705
Author: James <jamesagnew@gmail.com>
Date:   Sun Jul 30 07:11:45 2017 -0400

    More cleanup of legacy code

commit ebd3eeb5ee
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jul 30 06:43:25 2017 -0400

    More work on removing legacy code

commit 92224c2532
Author: James <jamesagnew@gmail.com>
Date:   Sat Jul 29 18:44:06 2017 -0400

    Remove DSTU1 Bundle

commit c52cacf71b
Author: James <jamesagnew@gmail.com>
Date:   Sat Jul 29 14:27:42 2017 -0400

    Now compiling

commit b405e51773
Merge: c3ddf04e25 cb2cea54d7
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Jul 28 06:21:02 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit c3ddf04e25
Author: James <jamesagnew@gmail.com>
Date:   Thu Jul 27 11:06:06 2017 -0400

    Sync R4 releases in

commit b13333c3c0
Author: James <jamesagnew@gmail.com>
Date:   Fri Jul 14 05:52:33 2017 -0400

    JPA server is now able to handle placeholder IDs (e.g. urn:uuid:00....000) being used in Bundle.entry.request.url as a part of the conditional URL within transactions.

commit 2e60ff7521
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 13 20:02:46 2017 -0400

    Fix imports

commit a92ace2e0d
Merge: 3196db96d1 1a6b3ea867
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 13 12:02:27 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit 3196db96d1
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 13 11:48:10 2017 -0400

    Don't add false paging link to request

commit bd4e1d3388
Author: James <jamesagnew@gmail.com>
Date:   Sun Jul 9 21:32:16 2017 -0400

    Finally building correctly!

commit 6464ce9304
Author: James <jamesagnew@gmail.com>
Date:   Sun Jul 9 16:38:28 2017 -0400

    Work on refactor

commit 0059f2e48e
Author: James <jamesagnew@gmail.com>
Date:   Sat Jul 8 07:16:20 2017 -0400

    Keep working on refactor

commit 6c2e87e8cc
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 6 22:35:13 2017 -0400

    Lots of work on refactor

commit 11cab97504
Merge: 34ec6b8807 6c47bd4c51
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 6 21:43:57 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit 34ec6b8807
Merge: f8e647511b c520e60ac1
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 6 21:43:49 2017 -0400

    Merge branch 'hapi3_refactor' of github.com:jamesagnew/hapi-fhir into hapi3_refactor

commit f8e647511b
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 6 18:46:55 2017 -0400

    Work on hapi3 changes

commit c520e60ac1
Author: James <jamesagnew@gmail.com>
Date:   Wed Jul 5 08:08:40 2017 -0400

    Keep working on refactor

commit f1d2ee9092
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jul 3 22:10:59 2017 -0400

    Continue refactor for HAPI 3

commit 9281ccafc3
Merge: ea1264cd8e 294d080bd3
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jul 3 20:34:16 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit ea1264cd8e
Author: James <jamesagnew@gmail.com>
Date:   Wed Jun 28 10:26:01 2017 -0400

    Continue work on refactor

commit fbe2f98a02
Merge: b2bef47100 0a4dcc32ec
Author: James <jamesagnew@gmail.com>
Date:   Wed Jun 28 06:21:22 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit b2bef47100
Author: James <jamesagnew@gmail.com>
Date:   Tue Jun 27 21:13:23 2017 -0400

    Work on refactor

commit 8f76e4e463
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jun 25 21:55:35 2017 -0400

    Lots of work on refactoring
2017-08-14 21:35:56 -04:00
James be5c5ebecd Merge in HAPI 3.0.0 working branch!
Squashed commit of the following:

commit 12f89a423a
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 14:38:51 2017 -0400

    Minimize validation resources

commit f6868cce5c
Merge: 3b80779fd3 1e158311d8
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 14:05:34 2017 -0400

    Forward port fix for #710

    Merge branch 'master' into hapi3_refactor

commit 3b80779fd3
Merge: 1f534985e8 356d9acaf7
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 12:31:09 2017 -0400

    Forward port #705, #708, and #710

    Merge branch 'master' into hapi3_refactor

commit 1f534985e8
Merge: 7c39a47852 dedd3d635b
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 10:52:59 2017 -0400

    Forward port #695

    Merge branch 'master' into hapi3_refactor

commit 7c39a47852
Merge: e0ffb84d21 6efafe62f1
Author: James <jamesagnew@gmail.com>
Date:   Sun Aug 13 09:53:17 2017 -0400

    Forward port #688

    Merge branch 'master' into hapi3_refactor

commit e0ffb84d21
Merge: 52388c11c1 d19b00ff09
Author: James <jamesagnew@gmail.com>
Date:   Sat Aug 12 14:59:46 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit 52388c11c1
Author: James <jamesagnew@gmail.com>
Date:   Sat Aug 12 06:21:46 2017 -0400

    Cleanup

commit 209752cd63
Author: James <jamesagnew@gmail.com>
Date:   Thu Aug 10 11:18:19 2017 -0400

    Fix tests

commit 4543408dc8
Author: James <jamesagnew@gmail.com>
Date:   Sat Aug 5 06:55:50 2017 -0400

    Fix a potential deadlock

commit ee360f5376
Author: James <jamesagnew@gmail.com>
Date:   Sat Aug 5 06:22:06 2017 -0400

    Add R4 code to CLI

commit 1a95ba3b65
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Aug 3 06:14:01 2017 -0400

    More cleanup

commit f0d8802681
Author: James <jamesagnew@gmail.com>
Date:   Wed Aug 2 11:27:43 2017 -0400

    Tests are working!

commit a4cbda357e
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed Aug 2 10:42:04 2017 -0400

    Connection handling cleanup for new tests

commit 0e2cecfbd0
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed Aug 2 10:16:28 2017 -0400

    Clean up R4 JPA tests

commit 40317a650d
Author: James <jamesagnew@gmail.com>
Date:   Wed Aug 2 09:12:38 2017 -0400

    Work on R4 for JPA server

commit e7f8f8c30d
Author: James <jamesagnew@gmail.com>
Date:   Tue Aug 1 20:43:47 2017 -0400

    More work on porting tests

commit 43c9003258
Author: James <jamesagnew@gmail.com>
Date:   Tue Aug 1 07:09:29 2017 -0400

    Work on porting DSTU1 tests

commit 602857f1e2
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jul 31 22:34:08 2017 -0400

    More work on bring unit tests up to date

commit e326a7b0cd
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jul 31 17:36:38 2017 -0400

    Credit for #686 and forward port the fix to R4 validator

commit 96543c3992
Merge: 3fb75aa61a 9901b802c4
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jul 31 17:12:33 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit 3fb75aa61a
Author: James <jamesagnew@gmail.com>
Date:   Mon Jul 31 15:21:30 2017 -0400

    More work on cleanup

commit b02fbb6804
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jul 30 22:11:07 2017 -0400

    Work on porting STU1 tests

commit 1ae37b0db3
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jul 30 20:56:10 2017 -0400

    Try to get coverage report working

commit 72b88849b3
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jul 30 20:27:02 2017 -0400

    Fix android tests

commit e5f6c35aea
Author: James <jamesagnew@gmail.com>
Date:   Sun Jul 30 19:31:18 2017 -0400

    More work on getting legacy code cleaned up

commit 0b513b0845
Author: James <jamesagnew@gmail.com>
Date:   Sun Jul 30 18:41:13 2017 -0400

    Continue work on removing deprecated API

commit defea69aa3
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jul 30 17:10:01 2017 -0400

    More cleanup of legacy code

commit 9ae7295705
Author: James <jamesagnew@gmail.com>
Date:   Sun Jul 30 07:11:45 2017 -0400

    More cleanup of legacy code

commit ebd3eeb5ee
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jul 30 06:43:25 2017 -0400

    More work on removing legacy code

commit 92224c2532
Author: James <jamesagnew@gmail.com>
Date:   Sat Jul 29 18:44:06 2017 -0400

    Remove DSTU1 Bundle

commit c52cacf71b
Author: James <jamesagnew@gmail.com>
Date:   Sat Jul 29 14:27:42 2017 -0400

    Now compiling

commit b405e51773
Merge: c3ddf04e25 cb2cea54d7
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Jul 28 06:21:02 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit c3ddf04e25
Author: James <jamesagnew@gmail.com>
Date:   Thu Jul 27 11:06:06 2017 -0400

    Sync R4 releases in

commit b13333c3c0
Author: James <jamesagnew@gmail.com>
Date:   Fri Jul 14 05:52:33 2017 -0400

    JPA server is now able to handle placeholder IDs (e.g. urn:uuid:00....000) being used in Bundle.entry.request.url as a part of the conditional URL within transactions.

commit 2e60ff7521
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 13 20:02:46 2017 -0400

    Fix imports

commit a92ace2e0d
Merge: 3196db96d1 1a6b3ea867
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 13 12:02:27 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit 3196db96d1
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 13 11:48:10 2017 -0400

    Don't add false paging link to request

commit bd4e1d3388
Author: James <jamesagnew@gmail.com>
Date:   Sun Jul 9 21:32:16 2017 -0400

    Finally building correctly!

commit 6464ce9304
Author: James <jamesagnew@gmail.com>
Date:   Sun Jul 9 16:38:28 2017 -0400

    Work on refactor

commit 0059f2e48e
Author: James <jamesagnew@gmail.com>
Date:   Sat Jul 8 07:16:20 2017 -0400

    Keep working on refactor

commit 6c2e87e8cc
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 6 22:35:13 2017 -0400

    Lots of work on refactor

commit 11cab97504
Merge: 34ec6b8807 6c47bd4c51
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 6 21:43:57 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit 34ec6b8807
Merge: f8e647511b c520e60ac1
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 6 21:43:49 2017 -0400

    Merge branch 'hapi3_refactor' of github.com:jamesagnew/hapi-fhir into hapi3_refactor

commit f8e647511b
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jul 6 18:46:55 2017 -0400

    Work on hapi3 changes

commit c520e60ac1
Author: James <jamesagnew@gmail.com>
Date:   Wed Jul 5 08:08:40 2017 -0400

    Keep working on refactor

commit f1d2ee9092
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jul 3 22:10:59 2017 -0400

    Continue refactor for HAPI 3

commit 9281ccafc3
Merge: ea1264cd8e 294d080bd3
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jul 3 20:34:16 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit ea1264cd8e
Author: James <jamesagnew@gmail.com>
Date:   Wed Jun 28 10:26:01 2017 -0400

    Continue work on refactor

commit fbe2f98a02
Merge: b2bef47100 0a4dcc32ec
Author: James <jamesagnew@gmail.com>
Date:   Wed Jun 28 06:21:22 2017 -0400

    Merge branch 'master' into hapi3_refactor

commit b2bef47100
Author: James <jamesagnew@gmail.com>
Date:   Tue Jun 27 21:13:23 2017 -0400

    Work on refactor

commit 8f76e4e463
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Jun 25 21:55:35 2017 -0400

    Lots of work on refactoring
2017-08-13 14:39:47 -04:00
James 356d9acaf7 Revert one change from #706 2017-08-13 11:04:24 -04:00
James Agnew 72be7ab795 Merge pull request #706 from InfiniteLoop90/master
Fixes #705 - Client correctly validates the server's conformance statement FHIR version
2017-08-13 11:03:52 -04:00
James Agnew dedd3d635b Merge pull request #695 from SRiviere/#622
#622 Extension lost on ID datatype or extension of type primiti…
2017-08-13 10:03:58 -04:00
James Agnew 6efafe62f1 Merge pull request #688 from CarthageKing/bugfix-issue659
Correctly serialize baseurl/FooResource references
2017-08-12 14:51:46 -04:00
Clayton Bodendein 9a32202d03 Also related to issue #705, added an explicit check for DSTU2.1 as well when the client checks the server's conformance statement FHIR version 2017-08-06 21:27:05 -05:00
Clayton Bodendein 1743d108b6 Fixed #705 by making RestfulClientFactory check for the correct FHIR version strings when the client code tries to validate the server's conformance statement. Also fixed the corresponding unit tests. 2017-08-06 14:03:15 -05:00
James Agnew 274e218494 Fix #696: Corresctly handle negative numbers 2017-07-26 16:59:35 -04:00
Sebastien Riviere 0fd5a44b5e Fixed #622 Extension lost on ID datatype or extension of type primitive during parsing 2017-07-24 13:43:55 +02:00
James 42a81f4a85 Fix some unit tests 2017-07-24 06:06:27 -04:00
James f7d4296046 Tweak to #683 2017-07-14 06:16:41 -04:00
James Agnew 65cc41e376 Allow patch to proceed with AuthorizationInterceptor 2017-07-12 11:14:14 -04:00
James Agnew 73ddf0e0d9 More enhancements to ResponseHighlighterInterceptor 2017-07-12 10:00:47 -04:00
James Agnew 45b05326c5 Improve display of syntaxt highlighting 2017-07-12 09:47:10 -04:00
James Agnew 38b7212e52 Add line selection and header display to ResponseHighlighterInterceptor 2017-07-12 09:04:05 -04:00
michael.i.calderero 11aa1c5a9e fix for #659 2017-07-10 18:10:31 -05:00
James Agnew f1f72980de Merge pull request #651 from eug48/master
ResponseHighlighter enhancement proposal - hyperlinks and selections
2017-07-10 16:03:40 -04:00
James b44bdeec88 Clean up rest hook interceptor a bit 2017-06-30 07:24:33 -04:00
James Agnew 7834bb2625 Do not load results into the database in JPA if there is no paging
provider
2017-06-29 22:15:23 -04:00
James Agnew 674424a30b Add tests 2017-06-29 21:34:56 -04:00
James Agnew 10ff2dd16c Add test 2017-06-28 19:54:24 -04:00
James b474a1f2ef Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-16 10:00:27 -04:00
James 507cac3127 Respect prefer header on transaction processing 2017-06-16 09:52:12 -04:00
James Agnew 7588a2ecff Modify patch for #655 so that it fixes #604 without causing us to allow
invalid values
2017-06-09 16:30:20 -04:00
christian ohr 872d72629c #604:allow MINUTE precision for datetimes 2017-06-09 15:21:53 -04:00
James Agnew c2e5fa3f18 Fix #667 - When using the AuthorizationInterceptor with the JPA server, when a client is updating a resource from A to B, the user now needs to have write permission for both A and B 2017-06-09 11:48:17 -04:00
James 14edc79ac1 Version bump to 2.6-SNAPSHOT 2017-06-09 07:28:29 -04:00
James 8b5209ff67 Version bump to 2.5 2017-06-08 06:34:44 -04:00
James Agnew c04146a76a Revert "Allow MINUTE precision for datetimes. Closes #604" 2017-06-07 21:42:52 -04:00
James Agnew 1b557b05f0 Merge pull request #655 from ohr/master
Allow MINUTE precision for datetimes. Closes #604
2017-06-07 21:30:33 -04:00
James Agnew 7d5fbe7482 Merge pull request #649 from iceoss/rest-client-patch
Null access fix for BaseClient exception handlers.
2017-06-07 21:15:22 -04:00
christian ohr aafde2eceb #604:allow MINUTE precision for datetimes 2017-05-26 15:27:58 +02:00
James 6dbcd0fc31 Remove import 2017-05-22 16:20:58 -04:00
James 6764079129 Bugfixes to the testpage overlay 2017-05-22 16:15:51 -04:00
James Agnew 5ef8b70a1f Merge branch 'master' into master 2017-05-20 18:25:02 -04:00
James 78643981f6 Credit and test for #636 2017-05-20 18:12:34 -04:00
James Agnew 77109cb76b Merge pull request #636 from gijsbert802/fix-hex-encoded-xml-entity-parsing
Fix parsing of hexadecimal encoded entities.
2017-05-20 18:10:27 -04:00
James Agnew 9ca8a285b9 Merge pull request #633 from gijsbert802/use-charset-from-http-header-2
Use the charset from the content-type header of the HttpRequest instead of always using the default charset.
2017-05-20 17:59:03 -04:00
James d550392047 Fix nullpointer exception 2017-05-20 11:44:03 -04:00
James f6ee4db598 Process :missing qualifier on date params 2017-05-19 20:36:06 -04:00
Eugene Lubarsky 3afab596ab ResponseHighlighter enhancements - hyperlinks and dateTime/UUID whole-string selection via some javascript 2017-05-19 19:32:30 +10:00
James Agnew 45041830bc Server now respects the If-Modified-Since header for read operations 2017-05-17 14:57:05 -04:00
James Agnew a92d80d860 Correctly encode extensions on the root of a resource with type
reference
2017-05-17 12:40:10 -04:00
maclema 06919f9a20 Update BaseClient.java
Fix for null access on httpRequest in DataFormatException and IOException handlers.
2017-05-16 15:15:54 -06:00
James Agnew 4948cdeef5 Fix broken test 2017-05-15 18:22:46 -04:00
James Agnew 7f2faae85e Fix #563: JSON Parser gave a very unhelpful error message (Unknown attribute 'value' found during parse) when a scalar value was found in a spot where an object is expected. This has been corrected to include much more information 2017-05-15 18:06:55 -04:00
James Agnew 48520832ef Doc updates and allow DSTU3 resources in some annotations that
previously didn't allow it
2017-05-14 22:03:38 -04:00
James da2d7c3bc3 Clean up testpage overlay 2017-05-14 11:27:52 -04:00
James Agnew 897c65e818 CLI and HttpClient cleanup 2017-05-14 06:39:23 -04:00
Jeff Chung 663125fe94 Resthook subscription implementation, event driven websocket subscription implementation, Tminus subscription support, notification on delete 2017-05-09 15:08:59 -07:00
James Agnew e53d747f2b Get large searches working on Oracle 2017-05-05 15:45:45 +02:00
James Agnew 1af36db7f7 Add unit test only 2017-05-02 09:20:45 -04:00
James Agnew 2a89ff88f7 Merge pull request #630 from Jaypeg85/concurrency_issue
concurrency_issue
2017-05-01 15:20:45 -04:00
Gijsbert van den Brink 1fc15905db Fix parsing of hexadecimal encoded entities. 2017-04-28 12:07:00 +02:00
Gijsbert van den Brink 9ffbeb892b Use the charset from the content-type header of the HttpRequest instead of always using the default charset. 2017-04-25 15:33:48 +02:00
James 716fa56b8f Merge branch 'jpa_perf_enhancements' 2017-04-21 06:30:22 -04:00
Jeppe Langhoff Sørensen 6eda689fb1 [(concurrency_issue)] Fixed concurrency issues in BaseRuntimeElementCompositeDefinition
Removed exceptions used in control flow in ParserState
Test showing further concurrency issues in FhirContext (committed as ignored).
2017-04-21 09:34:33 +02:00
James cbc652d226 Version bump to 2.5-SNAPSHOT 2017-04-20 16:13:15 -04:00
James Agnew 8887f57577 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-04-20 16:12:02 -04:00
James Agnew bc545f8e3c Issue #590 - Handle paging requests for AuthorizationInterceptor 2017-04-20 16:11:09 -04:00
James 9d3d15ce6f Version bump to 2.4 2017-04-19 21:38:36 -04:00
James cc526f6d99 Upgrade to STU3 2017-04-18 21:58:23 -04:00
James 077676fd03 Bring DSTU3 structs up to FHIR R3
Squashed commit of the following:

commit 65b70d30c9
Author: James <jamesagnew@gmail.com>
Date:   Tue Apr 18 07:44:08 2017 -0400

    More work on bringing structs up to date

commit 1df2de0667
Author: James <jamesagnew@gmail.com>
Date:   Tue Apr 18 07:12:45 2017 -0400

    Working

commit 9a51323e03
Author: James <jamesagnew@gmail.com>
Date:   Mon Apr 17 22:18:24 2017 -0400

    Updates to STU3

commit 40aebba0a7
Author: James <jamesagnew@gmail.com>
Date:   Mon Apr 17 18:30:26 2017 -0400

    Fix regression caused by #610
2017-04-18 07:48:38 -04:00
James 6a5d0f95ae Add double-check for #610 2017-04-17 18:10:57 -04:00
James Agnew 9201692c70 Merge pull request #610 from dangerousben/init-race-condition
Fix FhirContext initialisation race condition.
2017-04-17 18:02:06 -04:00
James Agnew 282e02801a Merge pull request #624 from CarthageKing/feature-make-bundle-fullurl-override-configurable
Feature make bundle fullurl override configurable
2017-04-17 17:46:45 -04:00
James Agnew eea84815c3 Merge pull request #623 from aehrc/feature/legacyContentTypeFHIR140take2
Accept header and MIME type fixes for DSTU2_1
2017-04-17 17:44:22 -04:00
James 5adc09ad56 perf enhancements finally working 2017-04-17 16:56:53 -04:00
James 1d9e0dc4cc Merge branch 'jpa_perf_enhancements' of github.com:jamesagnew/hapi-fhir into jpa_perf_enhancements 2017-04-16 15:58:38 -04:00
James cf938752b5 Doc fix 2017-04-16 15:58:27 -04:00
James Agnew 08ec97e78a More work on perf 2017-04-16 15:57:58 -04:00
James Agnew 62ece72e6f More perf work 2017-04-16 12:08:23 -04:00
James Agnew 54055f5bfb Support extensions pointing to references for JPA custom search params 2017-04-14 07:26:49 -04:00
James 1039bbec97 More perf work 2017-04-14 07:25:01 -04:00
michael.i.calderero 7d9883014a add configuration setting to disable overriding of resource ids when the
Bundle.entry.fullUrl is specified
2017-04-13 11:32:05 -05:00
James Agnew 23b7de5dd8 More perf work 2017-04-12 18:28:10 -04:00
Michael Lawley 51f8ef7f7f fix FhirVersionEnum order tests wrt equivalent; fix Accept headers 2017-04-12 18:00:18 +10:00
James Agnew cba5aeb47b More perf work 2017-04-10 17:55:50 -04:00
James 90a4e2def2 More work on perf improvements 2017-04-08 19:46:51 -04:00
James Agnew dd84fced5e Merge branch 'master' into jpa_perf_enhancements 2017-04-08 06:54:13 -04:00
James Agnew bf94d78872 Doc updates 2017-04-08 06:53:49 -04:00
James Agnew 660c2bde72 More work on perf 2017-04-06 22:23:20 -04:00
James Agnew 9b1366734a Merge branch 'master' into jpa_perf_enhancements 2017-04-03 15:20:55 -04:00
James Agnew 6ab1cb4c2e Fix compile issues from new version of errorprone 2017-04-03 14:43:59 -04:00
James Agnew efaa7a74cb Work on perf enhancements to JPA 2017-03-30 19:58:32 +08:00
James Agnew ce73e89715 For bit of work on JPA perf enhancements 2017-03-30 06:28:34 +08:00
James Agnew 2c9a6e65e7 Fix #534: Add setting for logical references to DAOConfig
Merge branch 'master' into issue534
2017-03-30 03:21:50 +08:00
Ben Spencer 42819dba77 Fix FhirContext initialisation race condition. 2017-03-28 17:24:48 +01:00
James Agnew 93cfb2360c Fix #607 - Testing UI showed an error for transactions on DSTU2 server 2017-03-27 07:50:01 +08:00
James Agnew 69748538d6 Fix a big with the new permissions 2017-03-24 21:10:44 +08:00
James Agnew 44c0075409 AuthorizationInterceptor can now allow make read or write authorization decisions on a resource by instance ID 2017-03-24 21:10:44 +08:00
James 40848b1beb Version bump to 2.4-SNAPSHOT 2017-03-18 12:24:39 -04:00
James 8e800a10b7 Header fixes 2017-03-18 09:38:33 -04:00
James 295e9ec185 Updates for 2.3 2017-03-17 21:49:19 -04:00
James e18ab206d7 Version bump to 2.3 2017-03-17 21:21:59 -04:00
James 8758b6f3da Updating to 1.9.0 structures
Squashed commit of the following:

commit 81edf46fe02a88851693f958e60855edfe69c04c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Mar 17 21:05:22 2017 -0400

    Work on converter

commit 3342d987008892dd3a75dddd251fe599c31c5a6c
Author: James <jamesagnew@gmail.com>
Date:   Fri Mar 17 08:40:37 2017 -0400

    Site updates

commit 7dcb63904ece1fcb59a09dc268e8382ac0b75535
Author: James <jamesagnew@gmail.com>
Date:   Fri Mar 17 08:36:39 2017 -0400

    STU3 structs working!

commit c5aec809e3f19f3fedf0aaaeab8cdd7924c144a2
Author: James <jamesagnew@gmail.com>
Date:   Fri Mar 17 07:05:54 2017 -0400

    Format test

commit 5033090010e8c93644505bccaa5e41ccbd756485
Author: James <jamesagnew@gmail.com>
Date:   Fri Mar 17 07:03:39 2017 -0400

    Merge tests for STU3

commit de40a516bfa4d2ab7f5e28e2d95815fde68bd10a
Merge: d5a5a60 899ed25
Author: James <jamesagnew@gmail.com>
Date:   Fri Mar 17 06:59:20 2017 -0400

    Merge branch 'master' into dstu3_latest_structs

commit d5a5a601b53d8be6712f0bfe37ba7e6eb4d3ce58
Author: James <jamesagnew@gmail.com>
Date:   Tue Mar 14 12:04:37 2017 -0400

    Latest fixes

commit ae46ad53d2075e66e3c58c1e626652b4e144f20c
Author: James <jamesagnew@gmail.com>
Date:   Tue Mar 14 06:51:59 2017 -0400

    STU3 structs passing

commit ec3b62d31131d303001f8574c58fb7a8b8194f68
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 22:20:05 2017 -0400

    Fix some tests

commit 933f9b08c32dd8671638f406a0966c5ee07d86a1
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 21:18:03 2017 -0400

    Fix test

commit 2a3ad0b422f58cfffea966a7005c6a3d86d189da
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 21:07:33 2017 -0400

    Resolve compile issues in STU3

commit fe04eba312a42c74b10a3971e4d61d58ba003bf9
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 20:51:35 2017 -0400

    FIx compilation error

commit 6c63a558c97cf176105967a84a0b32472c6c0fcb
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 20:48:13 2017 -0400

    Another STU3 struct fix

commit 6acd25458aad89aaff94768c824d4d1fcdac97ba
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 20:41:16 2017 -0400

    Work on STU3 structs

commit 90a476dba2665a129572ad5cbbd8dd29afd9d4c8
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 20:28:32 2017 -0400

    Resolve JDK8 dependencies

commit 783bc1519971e977fe7139aa1d3a2e7f37940a63
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Mar 12 20:20:57 2017 -0400

    Fix some tests

commit 60c379175b689495e65278bb6a237af3de379aa8
Author: James <jamesagnew@gmail.com>
Date:   Sun Mar 12 19:56:29 2017 -0400

    Work on STU3 structs

commit e98c2eed6601f7009e199aca3b82399a3377077c
Author: James <jamesagnew@gmail.com>
Date:   Sun Mar 12 19:41:48 2017 -0400

    Work on DSTU3 structures

commit 3ce909212bf0f11561b8342d406cffcf957afeb3
Author: James <jamesagnew@gmail.com>
Date:   Tue Mar 7 21:03:14 2017 -0500

    Work up upgrading structs
2017-03-17 21:06:12 -04:00
Diederik Muylwyk 436e898819 Added a hook for post-processing request details and validation results on failure. 2017-03-17 17:02:05 -04:00
James Agnew 64be79e295 Merge pull request #571 from jodue/master
Pull request for issue #551 to fix parsing of input fields > 512kb with JBoss
2017-03-17 06:46:25 -04:00
James Agnew 45e4bd92ee Merge branch 'master' into jaxrs-sever-evolution 2017-03-16 22:04:55 -04:00
James fc7ac7ab00 Credit for #542 2017-03-16 21:57:55 -04:00
James 8a32e4bae5 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-03-16 21:36:14 -04:00
James 2f367a1a4e Get process message working 2017-03-16 21:32:59 -04:00
James 9501ea0961 Merge branch 'master' of https://github.com/hugosoares/hapi-fhir into hugosoares-master 2017-03-16 21:32:51 -04:00
James Agnew 0be818c31c Add validation results to oo (#595)
* Add interceptor

* Add changelog entry

* Update changes.xml

Corrected reference to issue 586 (was 585). Corrected order of actions for issues 586 and 595 (was reversed).

* Update changes.xml

Should have been 585 after all. Whoops!

* Update changes.xml

Adding an item for pull request 565 that was previously approved and merged.

* Fixed test with English String in assertion.
2017-03-16 13:31:25 -04:00
James Agnew a867890554 585 authorizationinterceptor wildcards (#586)
* Add wildcards for authorizationinterceptor

* Add changelog
2017-03-14 22:26:45 -04:00
James 120227da2f License headers 2017-03-11 14:57:43 -05:00
James Agnew 01d102accc Correct handling of contained resources in a response for annotation
client
2017-03-01 17:23:31 -05:00
Diederik Muylwyk 3def6f508a New hooks for request validating (#565)
* Initial work on hooks for tags.

* Added a post-processing hook for subclasses of BaseValidatingInterceptor.

* Added more performant conversion from Enum ordinal to Enum type to ResultSeverityEnum.
2017-03-01 08:53:16 -05:00
johannes.duenser 0af1041bee Catch Exception on check for Woodstox version property to be on the safe side 2017-02-27 16:04:38 +01:00
johannes.duenser 194074e0cc merged with upstream branch.
Merge remote-tracking branch 'upstream/master'
2017-02-27 14:21:24 +01:00
johannes.duenser 837264ea48 Check if Woodstox is used not only by class instance but also by property to fix max-element-size issue for JBoss 2017-02-27 14:14:25 +01:00
James Agnew 0d066275a3 Add base to search param 2017-02-18 16:41:36 -05:00
James Agnew 5811702a92 Merge branch 'master' into master 2017-02-17 17:39:55 -05:00
James Agnew 82ac69d86c Throw correct HTTP status when validation fails because of missing ID 2017-02-11 19:22:25 -05:00
Hugo Soares da9daf86c0 Merge remote-tracking branch 'refs/remotes/jamesagnew/master'
# Conflicts:

#	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/GenericClient.java
2017-02-09 15:19:08 +00:00
hugosoares 09f44ebc2d Merge branch 'master' into master 2017-02-09 14:23:33 +00:00
Hugo Soares 6eee5e696e Changes requested by james
https://github.com/jamesagnew/hapi-fhir/pull/542
2017-02-09 13:59:00 +00:00
James 12e047b931 Fix a couple of compile issues 2017-02-09 06:53:22 -05:00
James Agnew 0dd6364fe5 Improve paging in JPA server for _history operation 2017-02-08 21:42:17 -05:00
sekaijin 7adb35d003 resolve some warnings
unused
then clause does not complete normally
serial
missing @Override
remove unnecessary cast
2017-02-08 16:41:03 +01:00
Sebastien Riviere c3447c3b4d Remove substitution string to use relative url, Fix client parser and custom extension. 2017-02-08 11:14:19 +01:00
James b7f165019d Tweak re-indexing 2017-02-07 07:00:51 -05:00
James 116cb1c8f7 Work on repopulating 2017-02-06 21:57:23 -05:00
Sebastien Riviere 3bf6555d61 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir into jaxrs-sever-evolution 2017-02-06 11:34:31 +01:00
James d4dda1dace headers 2017-02-04 18:21:09 -05:00
James 7149d2e053 Merge branch 'custom_jpa_search_params' 2017-02-04 16:34:05 -05:00
James Agnew 3f8a8cd8aa Merge pull request #548 from sekaijin/cleanup
Cleanup
2017-02-04 16:02:50 -05:00
James Agnew c85c2269a1 Work on custom params 2017-02-04 14:41:11 -05:00
James 97ff79d730 Work on custom params 2017-02-02 20:37:58 -05:00
James Agnew 3191c907a3 Work on JPA 2017-02-02 06:23:28 -05:00
James b4a362b8ee Work in progress 2017-02-01 05:55:35 -05:00
James Agnew ea1ebb245e Merge pull request #547 from daliboz/master
Fix #546 CapturingInterceptor will now buffer response
2017-01-31 07:20:01 -05:00
James 11f1f4f6ee Deprecate getAllPopulatedChildElementsOfType 2017-01-31 06:53:04 -05:00
James ce80007f8d Bump spring version and refactor examples 2017-01-29 22:55:22 -05:00
James Agnew 788792e004 Merge pull request #538 from CarthageKing/feature-parameterutil-fix
Ensure ParameterUtil.splitParameterString correctly parses consecutive unescaped delimiter
2017-01-29 17:53:39 -05:00
James Agnew 0223b5341c Merge pull request #489 from jkiddo/master
Added new independant overlay build for example usage and lenient handling
2017-01-29 17:50:20 -05:00
James b66aa9761e Allow parsing of RSQuot 2017-01-29 15:49:10 -05:00
sekaijin a150a96089 dependencies convergence
correct dependencies convergence
correct version use ${project.version}
2017-01-29 19:22:28 +01:00
sekaijin 23784c1619 remove .settings .project .classpath file of eclipse 2017-01-28 17:13:47 +01:00
Jenni Syed c1e6f82385 Fix #546 CapturingInterceptor will now buffer response if the entity is not repeatable. 2017-01-27 17:45:53 -06:00
Sebastien Riviere dabb3ea2c5 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir into jaxrs-sever-evolution
# Conflicts:
#	hapi-fhir-structures-dstu3/src/test/java/ca/uhn/fhir/parser/JsonParserDstu3Test.java
2017-01-27 10:16:43 +01:00
James 12598b4e3b Correctly handle declared extensions with multiple possible types
Squashed commit of the following:

commit d6ea0552b7
Author: James <jamesagnew@gmail.com>
Date:   Thu Jan 26 09:04:58 2017 -0500

    FIx test

commit e5876f7d86
Author: James <jamesagnew@gmail.com>
Date:   Thu Jan 26 08:35:38 2017 -0500

    Work on extensison

commit 7e573c2299
Author: James <jamesagnew@gmail.com>
Date:   Thu Jan 26 07:27:25 2017 -0500

    Work on extensions

commit 234b4a0c1c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Jan 26 06:25:47 2017 -0500

    More work on these extensison

commit 2eb780a690
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed Jan 25 22:35:57 2017 -0500

    Work on multitype extensions
2017-01-26 11:07:52 -05:00
James 8e444fab93 Javadocs 2017-01-25 05:56:22 -05:00
James 8e0a904997 Add adapter for IServerOperationInterceptor 2017-01-24 13:34:30 -05:00
James Agnew 344e324929 Fix #544
Squashed commit of the following:

commit 1ab9b58e9f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Tue Jan 24 10:46:56 2017 -0500

    Changes working now

commit 5c752cdace
Author: James <jamesagnew@gmail.com>
Date:   Tue Jan 24 08:43:04 2017 -0500

    Get JPA working with new uuid: logic

commit 127b76884a
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jan 23 21:11:18 2017 -0500

    Fix test

commit 599bbe236c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jan 23 18:42:46 2017 -0500

    Work on #544
2017-01-24 10:47:24 -05:00
James 3ff29370e6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-01-21 18:03:58 -05:00
James d616d20511 Send correct status code from ResponseHighliterInterceptor 2017-01-21 18:03:41 -05:00
Sebastien Riviere cac44c736c Add the possibility to use the serverBaseUrl to generate the url of extension, if %BASE_SERVER_URL% is found 2017-01-19 14:54:17 +01:00
hugosoares c9e11f64aa Merge branch 'master' into master 2017-01-19 09:03:43 +00:00
Hugo Soares 59d29c45b3 Feature Request: Add client support for $process-message special operation #407
Changed client to send messages to a processing server:
Object response = client
.operation()
.onServer()
.processMessage()
.setResponseUrlParam("http://myserver/fhir")
.setMessageBundle(msgBundle)
.execute();
2017-01-18 19:33:56 +00:00
michael.i.calderero b59c24ab7c return 404 instead of 400 when the FHIR resource/endpoint is not
recognized/not supported
2017-01-17 20:37:43 -06:00
James Agnew 22f796fa7c Allow history operation at type level with authorizationinterceptor 2017-01-16 18:41:39 -06:00
James Agnew 322051a383 Fix failing tests 2017-01-14 07:55:42 -06:00
James Agnew dbc6abc658 Fix #504 - Error if custom type has illegal extensions 2017-01-13 21:46:16 -06:00
James Agnew fa1ad5ba85 Fix #519 - Issues with JPA capabilitystatement related to the _id param 2017-01-13 21:19:19 -06:00
michael.i.calderero a6a1416888 Place empty values when splitting a parameter with a certain char and
here are at least two unescaped and consecutive variants of the given
char in the string.

This ensures that for example a QuantityParam with a param value of
"5.5||mg" the "mg" will not be treated as the 'system' but be treated
correctly as the 'unit' of the parameter object.
2017-01-12 14:21:30 -06:00
James 3b41d85952 Server interceptor methods were being called twice unnecessarily by the JPA server, and the DaoConfig interceptor registration framework was not actually useful. Thanks to GitHub user @mattiuusitalo for reporting! Fixes #532 2017-01-11 20:57:39 -05:00
James Agnew c7767937fc License version bumps 2017-01-09 17:48:42 -05:00
James e05b0e5d8a Add test for localizer and add some docs 2016-12-30 08:53:42 -05:00
James Agnew 118c2c4238 Dependency changes 2016-12-25 12:49:07 -05:00
James b448e13edd Version bump to 2.3 2016-12-20 19:01:31 -05:00
James 0ec61533a8 Publish 2.2 2016-12-20 19:00:37 -05:00
James Agnew 750d6d4655 Switch public server to use CapabilityStatement for metadata return type 2016-12-20 15:35:54 -05:00
James 964919d880 Improve parsing 2016-12-19 14:03:11 -05:00
James 7838d511d0 Fix typo in IHttpResponse 2016-12-19 11:29:05 -05:00
James Agnew 4eb2e017f8 Fix #528 - Allow reads by compartment in authorizationinterceptor 2016-12-13 18:30:47 -05:00
James ab17ee68a3 Revert IFhirVersion method signature changes for #520 2016-12-11 18:55:59 -05:00
James e678908087 Licenses 2016-12-11 18:04:59 -05:00
James 9cb014724b Add validator for DSTU2.1 2016-12-11 17:39:05 -05:00
James 901a85880c Update STU3 definitions and being in STU2.1 defs too 2016-12-10 19:51:25 -05:00
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 Agnew 47ea6c3426 Merge pull request #520 from aehrc/feature/legacyContentTypeFHIR140
Ensure that older DSTU3 versions use the legacy mime types
2016-12-10 14:18:15 -05:00
James ee63bbea74 Fix #516 - Handle STU3 invalid enum values with an appropriate exception 2016-12-10 14:14:22 -05:00
jamesagnew 1fba4ff265 Test refactor 2016-12-10 08:47:28 -05:00
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
James fd26f074e5 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-12-04 21:09:48 -05:00
James ccfe74ba38 Add license headers 2016-12-04 21:09:28 -05:00
Michael Lawley 8846477b7b Ensure that older DSTU3 versions (ie Baltimore / May2016 / 1.4.0) use the legacy mime types 2016-11-30 12:03:02 +10:00
James Agnew fc55c2cae8 Merge pull request #518 from aehrc/master
#517 Add fallback for for pre-CapabilityStatement STU3 client
2016-11-25 18:00:36 -05:00
James Agnew 81773de261 Fix #276 - Prevent contained resources being encoded as duplicates 2016-11-25 17:18:57 -05:00
Michael Lawley fcf8894d11 silly missing bracket 2016-11-25 13:14:48 +10:00
Michael Lawley f6ae22c59c #517 Add fallback for for pre-CapabilityStatement STU3 client 2016-11-25 12:05:59 +10:00
jamesagnew 69871bb8c2 Improve testing on CorsInterceptor 2016-11-24 19:25:37 -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
Jens Kristian Villadsen f710094c93 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2016-11-15 13:42:07 +01:00
Jens Kristian Villadsen 6aba4610e6 Added initial lenient handling 2016-11-15 13:41:13 +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 8676489792 Don't incorrectly block transactions 2016-11-11 23:52:16 -05:00
James 2d7592f7a8 Version bump to 2.2-SNAPSHOT 2016-11-11 22:39:45 -05:00
James 047ca6a308 license header 2016-11-11 20:17:06 -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 Agnew 846aecfe89 Merging #470 2016-11-11 10:45:53 -05:00
James Agnew 01afc49863 Documentation 2016-11-11 10:43:03 -05:00
James a5d5d3e031 Bump FHR version 2016-11-06 17:34:13 -05:00
James af8ae69ee4 AuthorizationInterceptor enhancements 2016-11-04 07:43:22 -04:00
James f838b80373 Work on authorization interceptor 2016-11-04 06:53:26 -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 e7e0bf8d54 Fix regression in AutohrizationInterceptor 2016-10-26 21:55:08 -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 2a7fa4d8a5 Make authorizationinterceptor stricter 2016-10-22 18:00:55 -04:00
James Agnew 173d40496d Merge pull request #455 from hnnesv/dstu1-atom-entry-author
DSTU1: Add entry author to encoded xml bundle
2016-10-20 11:28:59 -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 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 f47597d2ec Rename client param method 2016-10-12 14:51:47 -04:00
James Agnew 8c455d41b6 Rename method from #451 2016-10-12 14:47:51 -04:00
James 09af42200c License headers 2016-10-11 05:30:22 -04:00
James Agnew b37a1edaae Fix offset error when returning multiple pages in JPA search 2016-10-07 17:42:02 -04:00
James Agnew 0093403860 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-10-07 11:31:12 -04:00
James Agnew 2c4139dc82 Allow fluent client to handle return types other than Parameters when
invoking operations
2016-10-07 11:29:53 -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 a4975887b8 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-10-06 06:28:06 -04:00
James 2a5c26b08b Dependency bump 2016-10-05 05:17:07 -04:00
James Agnew 61d6f1ba8d Second attempt to fix #459 2016-10-04 17:55:28 -04:00
James Agnew 012090b719 Fix #459 - Race condition in unit tests 2016-10-04 17:15:51 -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 ff4755fbf3 Fix #441: Correctly handle search with chains across a field with choice
type
2016-09-30 14:03:20 -04:00
James Agnew eba136d706 Correctly handle custom types in programatic access to JPA 2016-09-27 14:22:48 -04:00
hnnesv 92e6b6d884
DSTU1 Atom: Add entry author to encoded xml bundle 2016-09-23 13:06:21 +02: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 40286f49c2 Merge branch 'patch' of github.com:jamesagnew/hapi-fhir into patch 2016-09-17 23:40:54 -04:00
James Agnew 6e97936eca More work on patch 2016-09-17 16:55:21 -04:00
qagwaai 58185d199b Updated GenericClient to call MethodUtil updated signature 2016-09-17 14:24:18 -04:00
James Agnew ad447126f2 Merge in patch changes 2016-09-17 13:55:12 -04:00
James Agnew e50a34b540 Merge branch 'patch' of github.com:jamesagnew/hapi-fhir into patch 2016-09-17 13:41:17 -04:00
James Agnew 1343badba4 Working on patch 2016-09-17 13:40:03 -04:00
qagwaai 5ebc3ef513 initial patch scaffolding 2016-09-17 13:36:56 -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
FilipDomazet e2f03a9a26 Fixed issue with adding profile information to an unmodifiable list (#448) 2016-09-16 15:02:22 -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 1db9f726f9 Localizer update 2016-09-15 09:05:49 -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 ed7e6929a7 Add gitignore 2016-09-09 08:32:45 -04:00
James Agnew 6357c38180 Support _has param in conditional URLs in JPA 2016-09-08 13:14:15 -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 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 d36e0013c0 Add version constant for dstu2.1 2016-08-29 07:33:29 -04:00
James 333aa0afde Correctly update versions on transactipn update 2016-08-28 22:56:59 -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 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 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 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 Agnew 7f15520db8 Don't include Location header in server responses for DSTU3 servers 2016-08-21 11:39:44 -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 4ff25b093f Add license headers 2016-08-05 15:50:53 -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 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
James Agnew 7bea8431f7 Add interceptor for rejecting TRACE and other invalid verbs 2016-07-19 19:16:09 -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
jamesagnew ef1c81e241 Fix #150 - Don't encode null fluent client values 2016-07-14 07:18:48 -04:00
James Agnew f6601cc347 Add example for terminology uiploading 2016-07-13 09:40:50 -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 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 a8585c881d Fix #396 - Make tests timezone independent 2016-07-04 13:48:05 -04:00