Commit Graph

1582 Commits

Author SHA1 Message Date
James Agnew 863c4b370c Add some test debug logs 2017-11-25 20:32:42 -05: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
James Agnew 584ba1eec4 Fix a crash on _include which doesnt find any matches 2017-11-24 12:22:26 -05:00
jamesagnew 42dd34252d Version bump to 3.1.0 2017-11-23 13:27:21 -05:00
jamesagnew 94be52304b Fix tests 2017-11-23 11:50:30 -05:00
James Agnew fc991a3333 Fix tests 2017-11-23 11:36:20 -05:00
jamesagnew ffac599a30 Credit and tests for #762 2017-11-23 06:42:10 -05:00
jamesagnew 9b246852ef Add test for #762 2017-11-22 19:45:36 -05:00
jamesagnew 98b2549135 Formatting 2017-11-22 19:45:18 -05:00
jamesagnew be76b90e7a Test formatting only 2017-11-22 19:22:32 -05:00
James Agnew 3aebfb575a
Merge pull request #756 from alvinleonard/751-fix-deletebyurl
Fix deleteByUrl to respect InCompartment Authorization
2017-11-22 19:19:32 -05:00
jamesagnew a4cbde8269 Prevent a spurious test failure 2017-11-22 18:45:54 -05:00
James Agnew 4042a3a353 Prevent accidental deletion of deeply nested resources in JPA server 2017-11-22 18:17:35 -05:00
James Agnew a87323fa08 Add tests 2017-11-17 09:53:44 +01:00
James Agnew 0d0300623f Streamline search coordinator to improve performance 2017-11-15 18:31:03 +01:00
James Agnew 6ca1498277 Fix tests for spring boot 2017-11-13 15:49:12 -05:00
James Agnew 49f4ac4fc5
Merge branch 'master' into analyzer-def-using-search-mapping 2017-11-13 13:32:40 -05:00
James 32a4a081d9 More test work -- Ahhhhh travis grr 2017-11-08 20:01:54 -05:00
James Agnew f91977cbac Beef up logging in tests 2017-11-08 16:53:39 -05:00
James Agnew 395c8b6acc Add test for #773 2017-11-07 09:58:42 -05:00
James Agnew 37c8e6c645 Add test for #751 2017-11-05 18:52:28 -05:00
James Agnew 75bfb6af1b Add support for Binary X-Security-Context header in server 2017-11-02 11:38:43 -04:00
James 3cd7c8a61c Fix tests to work on Windows 2017-10-31 20:38:26 -04:00
James 5a5933f232 Remove dependencies on StAX on Android 2017-10-30 16:41:31 -04:00
James Agnew 64e120cef8 Custom structs in progress 2017-10-30 16:19:09 -04:00
James 792035f8af Add more logging to occasional failing test 2017-10-26 21:45:50 -04:00
James Agnew f475483e9b Test fix 2017-10-26 12:05:45 -04:00
James d461567433 Allow cache-control to be used with CORS 2017-10-26 09:08:10 -04:00
James 15ba0dff03 Clean up email subscription type 2017-10-26 06:02:12 -04:00
James 59975948b2 Test fixes 2017-10-22 21:56:44 -04:00
James 33f9437472 Try to get tests passing under load 2017-10-21 16:35:47 -04:00
James b79dd75fce Update to Spring 5 2017-10-19 07:40:43 -04:00
James Agnew a265de8649 Validation fixes for QuestionnaireResponse validation 2017-10-18 11:59:22 -04:00
James Agnew 90ecaef87c Allow Fulltext search Svc to be null 2017-10-17 16:43:03 -04:00
James 73382d85ca Fix #761 - Restore codesystem package from DSTU3 and add unit tests to
verify existence
2017-10-17 15:18:36 -04:00
James 0959156a4a Faster processing for mandatory count searches 2017-10-17 14:11:05 -04:00
James Agnew 8b7723b6e8 Make sure a transaction is active when activating subscriptions 2017-10-16 21:28:19 -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 a782bd7630 Fix a number of problems reported by ErrorProne 2017-10-16 10:00:27 -04:00
James Agnew 9ca85b4cf3 Re-enable errorprone on standard hapi fhir build. woohoo! 2017-10-15 11:27:30 -04:00
James 9abc75dc32 Fix another test 2017-10-13 11:03:43 -04:00
James Agnew 290894557d Optionally require JPA server to collect count information even for
large searches
2017-10-13 06:31:37 -04:00
James Agnew 9b31741147 Correctly process ifMatch in Bundle entries for JPA server transaction 2017-10-11 13:00:37 -04:00
James Agnew 78b7188fbc Fix validation error when Bundle has no type 2017-10-11 10:20:12 -04:00
James fddda443a2 Remove hamcrest-date library that caused conflicts 2017-10-11 06:33:15 -04:00
James 31fb1236a1 Reuse bundle ID when returning query cache results 2017-10-11 06:05:14 -04:00
Alvin Leonard 2114dd7706 We need to set the resource id to the entity id after the update entity. 2017-10-11 15:09:41 +11:00
Alvin Leonard 6551eb0a4e Fix deleteByUrl to respect InCompartment Authorization
Moved the assignment of the resource to delete before the actual delete as it will be used by the authorization to determine if this resource is in the compartment.
2017-10-11 13:40:03 +11:00
Jiajing LIANG 86fb1de3ae rename file 2017-10-09 18:34:49 +02:00
Jiajing LIANG 65c3a316f2 move out the analysers definitions from entity classes 2017-10-09 18:34:03 +02:00
James Agnew bacd0bfbbb Squashed commit of the following:
commit 7ff895de77
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Oct 6 15:25:06 2017 -0400

    More test fixes

commit c9fee23e48
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Oct 6 15:14:52 2017 -0400

    More tests work

commit c796e19458
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Oct 6 15:00:26 2017 -0400

    Get tests passing

commit eb2787d30c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Oct 6 14:08:23 2017 -0400

    Add an optimistic lock to the ResourceTable

commit ff85503acb
Author: James <jamesagnew@gmail.com>
Date:   Fri Oct 6 08:56:35 2017 -0400

    Add a test
2017-10-06 15:33:24 -04:00
James Agnew b4127674e4 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-10-05 13:42:31 -04:00
James Agnew 0ab8a9a0ba Fix #744 - Long search URLs on Derby shouldn't cause a failure 2017-10-05 13:41:22 -04:00
James ce720f5601 Add support for Cache-Control header in JPA server and client 2017-10-05 13:38:53 -04:00
James 4d1ab2734f Use correct parameter name for expand operation 2017-10-02 19:21:52 -04:00
James 56a71f9222 Performance enhancements to JPA 2017-09-29 09:28:47 -04:00
James Agnew 9ac6014a3c Add test logging 2017-09-29 09:11:54 -04:00
James Agnew 87383ad802 Version bump to 3.1.0-SNAPSHOT 2017-09-27 21:23:34 -04:00
James Agnew ac7074ffdd More notes 2017-09-26 19:05:53 -04:00
James e19c13fa6f Prepare 3.0.0 release 2017-09-24 17:55:16 -04:00
James 49bdaa1a45 Version bump to 3.0.0 2017-09-23 17:31:39 -04:00
James Agnew 4f8a2d36f5 Fix import statements 2017-09-23 11:09:26 -04:00
James Agnew 478dc1d507 Create model for subscription messages 2017-09-23 10:14:50 -04:00
James c115fbfd15 Add serializable message type 2017-09-23 07:42:29 -04:00
James be07ebc4ef Subscription refactoring 2017-09-21 08:33:20 -04:00
James 5f89f6ed16 Improve test logging 2017-09-21 06:13:30 -04:00
James 2fa912a43f Use serialized messages for queues 2017-09-19 22:01:36 -04:00
James Agnew d65664cd9b Work on test 2017-09-18 18:06:27 -04:00
James Agnew 1402c5e4e2 Remove some useless logging 2017-09-18 18:04:08 -04:00
James Agnew 79cb251b7e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-09-17 20:05:59 -04:00
James Agnew fc7144ee03 Work on JPA optimization 2017-09-17 20:05:28 -04:00
James feb9852a25 Allow disabling :missing indexes in JPA 2017-09-17 18:37:09 -04:00
James 9eb2848aca One more test fix 2017-09-16 19:48:01 -04:00
James 78929752af License headers 2017-09-16 19:46:19 -04:00
James 36d9180570 Fix broken tests 2017-09-16 17:47:06 -04:00
James Agnew 7a878152c4 Refactor subscriptions to use a single codebase across versions 2017-09-16 15:03:22 -04:00
James Agnew 7d4bb8b9cb Add tests 2017-09-15 06:18:26 -05:00
James Agnew 1ac45e27c6 Deprecate subscription settings in DaoConfig that are no longer used 2017-09-15 05:57:42 -05:00
James Agnew e94d639d29 Refactor websockets to use queuing mechanism 2017-09-14 21:29:57 -05:00
James Agnew 97b44965ce Lots of work on new subscription model 2017-09-13 19:05:29 -07:00
James Agnew 415f2bc72d Merge branch 'master' into con16_subscriptions 2017-09-10 08:49:28 -07:00
James Agnew f216e0938d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-09-10 07:24:09 -07:00
James Agnew 85aef0a853 Refactor tests 2017-09-10 07:23:57 -07:00
James Agnew 805fbad6ce All recreating code systems with previously used URL 2017-09-09 21:49:26 -07:00
James Agnew 2bb01451ea Cleanup of validator 2017-09-09 20:55:00 -07:00
James Agnew 3bd7810bd7 Subscription refactor started 2017-09-09 14:25:05 -07:00
James 4b78fd8029 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-09-09 17:23:32 -04:00
James 9097acfc0c updates to subscription 2017-09-09 17:20:18 -04:00
James Agnew 736e037b1a Ongoing work on subscriptions 2017-09-09 09:53:51 -07:00
James Agnew 836d4d051b Work on IG Pack uploading 2017-09-07 20:33:19 -07:00
James Agnew df3aa86471 Use higher thread count for subscription processor by default 2017-09-06 11:08:43 -07:00
James Agnew 989246f0da Include Location header details in non-verbose response for client
interceptor
2017-09-06 06:26:41 -07:00
James Agnew 7eb86d3eaa Work on tests 2017-09-05 19:00:42 -07:00
James Agnew c32e8d42b3 Fix more tests 2017-09-05 18:04:46 -07:00
James Agnew 118c40beeb Fix a few tests 2017-09-05 17:52:14 -07:00
James Agnew 984c0c387c Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-09-05 17:34:02 -07:00
James Agnew 2aa538bd56 Add ability for system to track unique constraints 2017-09-05 17:33:19 -07:00
James 0eea7b8f1f Fix android build hopefully 2017-09-01 06:39:55 -04:00
James Agnew c6ddf89557 Allow validation of subscriptions to be overridden 2017-08-31 22:40:53 -04:00
James 78fd13c2f4 Add config item to auto create references in JPA 2017-08-31 08:57:51 -04:00
James a24cbd7da5 uto register subscriptions on startup 2017-08-31 06:46:59 -04:00
James Agnew cae21f4898 Update syntax highlighter to not use tables 2017-08-28 10:26:07 -04:00
James Agnew ff8b5607f3 More test cleanup 2017-08-24 22:19:12 -04:00
James Agnew c31ebebdea Revert last perf change 2017-08-24 15:25:53 -04:00
James Agnew 18213f1af9 Try to speed up terminology reindexing 2017-08-24 15:04:53 -04:00
James Agnew dbe35b9be2 More tweaks to concept refreshing 2017-08-24 14:35:45 -04:00
James Agnew 64e03997aa Additional logging in term service 2017-08-24 13:36:20 -04:00
James Agnew 1ec14f4a31 Small perf improvement for JPA terminology 2017-08-24 13:07:05 -04:00
James Agnew 83171292df Try to get tests passing 2017-08-22 08:44:35 -04:00
James 46c04488de Use correct verb for rest hook notifications 2017-08-19 19:14:52 -04:00
James e3a28e2ff5 Split out delivery and processing channel for subscriptions 2017-08-19 12:15:19 -04:00
James Agnew 7764484f44 Try to prevent test failure under load 2017-08-18 13:57:43 -04:00
James Agnew 45ddf372ce Try to fix broken test 2017-08-18 07:07:39 -04:00
James Agnew 67a3b60d58 Add hook to rest hook subscriber 2017-08-17 06:40:43 -04:00
James Agnew 572a37593a Increase timeout 2017-08-16 09:34:27 -04:00
James Agnew 1c2af596d4 Add logging to test 2017-08-15 11:34:05 -04:00
James Agnew a8c91ce6f5 Try to get travis building again 2017-08-15 10:30:00 -04:00
James f04b080d50 Honour headers in rest hook subscribers 2017-08-15 07:42:18 -04:00
James c9487c974e More work fixing tests 2017-08-14 22:08:21 -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 04f16294aa Fix subscriptions 2017-08-13 16:02:35 -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 1e158311d8 Fix tests for #710 2017-08-13 13:43:31 -04:00
James Agnew b16c94bb0a Merge pull request #710 from jamesagnew/issue675-activate-subscriptions
Fix for rest-hook subscriptions are not becoming active #675
2017-08-13 10:55:26 -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
Jeff Chung eea44b4b9a Fix for rest-hook subscriptions are not becoming active #675 2017-08-10 15:17:31 -07:00
James Agnew cb2cea54d7 Merge pull request #693 from jamesagnew/ConcurrentModificationRestSubscriptionFix
Fix to prevent rare Concurrent Modification Exceptions
2017-07-26 17:26:45 -04:00
James Agnew 274e218494 Fix #696: Corresctly handle negative numbers 2017-07-26 16:59:35 -04:00
James 42a81f4a85 Fix some unit tests 2017-07-24 06:06:27 -04:00
James Agnew f5f1f5bd67 More work on detecting deadlocks 2017-07-21 18:40:40 -04:00
James fa050c4665 Restore random connection count to tests 2017-07-21 08:12:22 -04:00
James a13c78d6cc FIx deadlock in transaction processing, and put transaction outcome
in the right spot
2017-07-21 07:39:11 -04:00
James 6a178b08bd Adjust tests 2017-07-20 15:24:06 -04:00
James Agnew 0f50eae640 Remove an unneeded log entry 2017-07-20 15:23:33 -04:00
James Agnew 82e2aadf86 Adjust for postgres 2017-07-20 14:45:42 -04:00
James Agnew 49ddf76a5d Reduce stress test impact 2017-07-20 14:18:26 -04:00
James Agnew 722eab62f2 Avoid opening two transactions for paging requests 2017-07-20 14:03:11 -04:00
James Agnew 2b72bb6c2f One more deadlock 2017-07-20 13:44:09 -04:00
James Agnew 82171da0cc One more deadlock 2017-07-20 11:19:53 -04:00
James Agnew 9d08e1e211 Fix deadlock 2017-07-20 11:00:17 -04:00
James Agnew 517fafbd0a Add check 2017-07-20 10:18:46 -04:00
Jeff Chung a49e009cba Fix to prevent rare Concurrent Modification Exceptions 2017-07-17 15:10:38 -07:00
michael.i.calderero 11aa1c5a9e fix for #659 2017-07-10 18:10:31 -05:00
James Agnew d3fa442958 Skip stress tests on Travis 2017-07-05 09:44:03 -04:00
James Agnew c1d06084b7 Avoid deadlock in JPA server when creating a large number of resources
and using the RequestValidatingInterceptor
2017-07-04 21:53:26 -04:00
James Agnew 294d080bd3 Add config setting for JPA resource counts in metadata 2017-07-01 16:28:42 -04:00
James Agnew 73a8cf1fca Don't allow creating resources with references to deleted resources 2017-06-30 22:20:43 -04:00
James 9270afe410 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-30 21:32:10 -04:00
James Agnew dd7b1b28c2 Fix failing tests 2017-06-30 21:32:01 -04:00
James 12acb3443e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-30 21:04:36 -04:00
James Agnew 6e181b140d Correct an issue when processing transactions in JPA server where updates and
creates to resources with tags caused the tags to be created twice in the
            database. These duplicates were utomatically filtered upon read so this issue
            was not user-visible, but it coule occasionally lead to performance issues
            if a resource containing multiple tags was updated many times via
            transactions.
2017-06-30 21:00:25 -04:00
James 0098a21d7a Add license header 2017-06-30 16:29:25 -04:00
James Agnew c9fcef0372 Clean up handling of searches nested in batch and transaction 2017-06-30 16:20:32 -04:00
James Agnew 28a5b92fe2 Enforce a hard limit on meta size 2017-06-30 09:58:32 -04:00
James Agnew d626c58067 Dont fail on cleanup 2017-06-30 08:42:11 -04:00
James b44bdeec88 Clean up rest hook interceptor a bit 2017-06-30 07:24:33 -04:00
James d81565b87c Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-29 22:16:46 -04:00
James dfd37c69d8 Add tests 2017-06-29 22:16:39 -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 Agnew 3ed12ce944 Improve performance of JPA searches by using Hibernate ScrollableResults 2017-06-28 18:13:44 -04:00
James 0a4dcc32ec Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-27 21:13:40 -04:00
James Agnew 9939785713 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-27 21:13:04 -04:00
James Agnew a0004c9166 Fix issue in calling JPA server transactions programmatically where
resources
            are linked by object reference and not by ID where indexes
				were not correctly
				            generated. This should not affect most users.
2017-06-27 21:12:20 -04:00
James 6d55ef59a6 Comment cleanup 2017-06-26 06:23:03 -04:00
Jeff Chung 0b578e3b0b Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir into validate-subscription-criteria 2017-06-19 14:13:50 -07:00
James Agnew e147cf321d Fix #674 - Avoid duplicates in $everything query
Squashed commit of the following:

commit f3097f423f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jun 19 13:24:29 2017 -0400

    more travis fun

commit a4b8161597
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jun 19 10:43:33 2017 -0400

    More fighting with travis

commit fe47d1e864
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jun 19 10:10:55 2017 -0400

    More travis attempts

commit 4fdfe7a4e8
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jun 19 09:25:04 2017 -0400

    Try and run unit tests in 2 threads to cut time.. Will travis like this?

commit 571045b63d
Author: James <jamesagnew@gmail.com>
Date:   Mon Jun 19 07:35:46 2017 -0400

    Paging now working

commit 526a1fa7d0
Merge: cebe881a15 55a67ae055
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jun 19 06:19:37 2017 -0400

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

commit cebe881a15
Merge: b3b9273ca7 5789cd2a46
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jun 19 06:19:12 2017 -0400

    Merge branch 'master' into 674_everything_improvements for #674

commit b3b9273ca7
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jun 19 06:16:27 2017 -0400

    Work on everything fixes for #674

commit 55a67ae055
Author: James Agnew <jamesagnew@gmail.com>
Date:   Mon Jun 19 06:16:27 2017 -0400

    Work on everything fixes
2017-06-19 13:56:38 -04:00
Jeff Chung ad3d5489ea Fixed FHIR subscriptions with criteria previously limited to 10, added fhir criteria validation before create/update, added dstu2 configurations 2017-06-16 14:25:57 -07:00
James 10fd88bfec Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-16 10:53:32 -04:00
James Agnew e27ceead55 Fix test 2017-06-16 10:53:25 -04:00
James 76e3428d33 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-16 10:35:57 -04:00
James Agnew 1047c63f3c Add missing commit for JPA maximum fetch size 2017-06-16 10:35:39 -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 40a70b874c Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-16 09:49:06 -04:00
James Agnew d40c5fa5e3 Add DAO setting to specify maximum query size 2017-06-16 09:41:45 -04:00
James Agnew 69849dd3c5 Optimize queries in JPA 2017-06-14 08:35:41 -04:00
James Agnew d59b832e74 Merge branch 'master' into minute_precision_in_searchparams 2017-06-12 11:50:01 -04:00
James a50a86d9af Fix crash in JPA server if numeric search parameter has no value 2017-06-11 09:16:48 -04:00
James Agnew 404037b441 Fix some compile issues 2017-06-09 19:37:11 -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 b6e9a753ca Merge pull request #660 from HHSIDEAlab/fix-race-condition-in-if-none-exists
Hacky but workable fix for race condition surfaced by If-None-Exists creates
2017-06-07 21:51:05 -04:00
James Agnew 4caa5dfa8d Merge pull request #656 from aehrc/feature/scalable_searchbuilder
Improve SearchBuilder query generation for code:modifier searches
2017-06-07 21:35:50 -04:00
James Agnew 7c6bb01a8b Don't allow JPA server to save duplicate or empty tags, and fix #664 by
preventing multiple threads from loading structure definitions for
validation at the same time
2017-06-06 16:44:13 -04:00
Karl M. Davis aa134fc423 Hacky but workable fix for race condition surfaced by If-None-Exists creates.
Some notes from other attempts I made to fix this in a less hacky way:

* Tried to @Autowire myResourceDaos from a setter (rather than using the annotation on a field), and initialize myResourceTypeToDao in that setter, instead. Couldn't get it to work: Spring started throwing odd bean dependency errors. Don't really understand why.
* Tried to move the exceptions being thrown on null getDao(Class) results into that method, but that was breaking a test case. Didn't investigate why.
2017-06-01 03:17:38 -04:00
James Agnew 52a5fcce17 Adding logging 2017-05-30 15:39:33 -04:00
James Agnew 97c83cd8f0 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-05-30 10:05:34 -04:00
James Agnew 3db4091601 Add a null check 2017-05-30 10:05:27 -04:00
James 6d59b0f5e0 Indexing logging 2017-05-30 10:01:33 -04:00
Michael Lawley d0a927ae3f use disj. of AND and IN for code:modifier searches
Without this, OR conditions with too many disjuncts are generated which can lead to
failures in the underlying database code generation.
2017-05-29 14:57:16 +10:00
James ba40f44d27 Properly index decimal datatype 2017-05-26 06:39:38 -04:00
Jeff Chung 2fa7aedf63 Fixed the resource type comparison to not use startsWith 2017-05-25 16:47:09 -07:00
James Agnew b96932a5c5 Fix dependency on new version of commons-codec 2017-05-25 15:24:47 -04:00
James e2b329382a Add some logging to searches 2017-05-25 08:31:29 -04:00
James Agnew 32de48f392 Fix broken tests 2017-05-24 15:50:53 -04:00
James Agnew 5bdd10c7ab Include patient in $everything even if there are no other resources 2017-05-24 14:24:01 -04:00
James 3f712fdf8a POM updates 2017-05-22 17:25:05 -04:00
James d54b62ffe4 Fix compile errors 2017-05-22 16:42:51 -04:00
James 1ec180628f JPA server now has configurable properties that allow referential integrity to be disabled for both writes and deletes. This is useful in some cases where data integrity is not wanted or not possible. It can also be useful if you want to delete large amounts interconnected data quickly. 2017-05-22 15:34:44 -04:00
James a834770e38 A bit more cleanup for #646 2017-05-22 08:13:00 -04:00
James b71ba86a3a Update copyright per plugin 2017-05-21 16:37:27 -04:00
James a13247ad4b Updates for #646
Squashed commit of the following:

commit 9d6d5e92dabb75c4eb185b061d20f487b8856795
Author: James <jamesagnew@gmail.com>
Date:   Sun May 21 15:27:26 2017 -0400

    Get subscriptions working

commit 6bccdd7594f0a4f802212e11cc823f7a92dd9a5c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun May 21 14:37:40 2017 -0400

    Work on subscription

commit 129f4c9d0d1e6c8fa56dbc5cf78a34c1d6659705
Author: James <jamesagnew@gmail.com>
Date:   Sat May 20 19:58:11 2017 -0400

    Work on merging subscription
2017-05-21 15:28:08 -04:00
James Agnew 5ef8b70a1f Merge branch 'master' into master 2017-05-20 18:25:02 -04:00
James 20c14fe8a6 Make sure we don't update unchanged resources in a transaction 2017-05-20 17:55:09 -04:00
James f6ee4db598 Process :missing qualifier on date params 2017-05-19 20:36:06 -04:00
James Agnew 7a24bff0eb Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-05-19 17:15:07 -04:00
James Agnew a7bb01393a Add tests 2017-05-19 17:14:50 -04:00
James 2143c6906b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-05-19 10:13:45 -04:00
James 7c48eadf38 Add tests 2017-05-19 06:50:01 -04:00
James Agnew 8701e3ad61 Change millis to int for stopwatch 2017-05-18 22:06:40 -04:00
James Agnew 9ea8e7822a More fixes for chaining on custom search params 2017-05-18 17:16:30 -04:00
James Agnew d58a9e7ed4 Further fixes to searching on a chained value 2017-05-18 10:48: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
James Agnew 7bb9e5edd9 Custom search parameters could not chain an extension param 2017-05-17 10:46:22 -04:00
James 5ac91bfb94 Add a test for custom params 2017-05-17 08:19:11 -04:00
James Agnew b2996d3550 Fix interceptor behaviour 2017-05-15 23:12:50 -04:00
James Agnew d87b4f2062 Re-enable daoconfig interceptors 2017-05-15 22:11:29 -04:00
James da2d7c3bc3 Clean up testpage overlay 2017-05-14 11:27:52 -04:00
James Agnew 5b282c3b25 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-05-14 06:39:37 -04:00
James Agnew 897c65e818 CLI and HttpClient cleanup 2017-05-14 06:39:23 -04:00
James cf2d38498d Header update 2017-05-10 02:12:22 -04:00
James Agnew 95659bed3a Fix tests 2017-05-10 08:11:23 +02: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 579e5da5ff Make sure we reuse searches 2017-05-09 11:47:05 +02:00
James Agnew 262e39e57a Work on term 2017-05-06 11:41:30 +02:00
James Agnew ef772547c3 Fix an issue in the JPA server if a resource has been previously saved containing vocabulary that is no longer valid. This only really happened if you were using a non-final version of FHIR (e.g. using DSTU3 before it was finalized) but if you were in this situation, upgrading HAPI could cause you to have old codes that no longer exist in your database. This fix prevents these from blocking you from accesing those resources. 2017-05-06 10:51:17 +02:00
James Agnew e53d747f2b Get large searches working on Oracle 2017-05-05 15:45:45 +02:00
James 3780248a2f Update JPA defs based on new unit test 2017-05-04 06:56:28 -04:00
James Agnew fdd82e0b2a Shorten column names in Search table for JPA 2017-05-04 05:51:02 -04:00
James Agnew c5c6c5eff6 Fix deadlock regression in JPA 2.5-SNAPSHOT 2017-04-29 07:20:43 -04:00
James f21ab8bfe6 Add synchronization to SP registry 2017-04-24 07:40:53 -04:00
James Agnew 93b61aac90 Force resource updates when reindexing 2017-04-23 22:20:58 -04:00
James bb9cd7c198 Add configuration property to DSTU3 FhirInstanceValidator to allow client code to change unknown extension handling behaviour. 2017-04-23 19:28:45 -04:00
James 9c595e18f9 Ignore updates that don't actually change anything 2017-04-23 15:04:19 -04:00
James 841cfb8cf3 Fix test failures from search cleanup 2017-04-22 13:08:29 -04:00
James fa2950dacb Fix tests for expiring search results 2017-04-22 08:50:51 -04:00
James dd5580ed2d Search reuse merged in 2017-04-22 07:47:05 -04:00
James 405ac50351 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-04-22 06:34:36 -04:00
James c311a0b3bf Work on JPA performance 2017-04-22 06:34:24 -04:00
James Agnew c09e26e28f Clean up calls in JPA server for ID 2017-04-22 06:31:55 -04:00
James 716fa56b8f Merge branch 'jpa_perf_enhancements' 2017-04-21 06:30:22 -04:00
James cbc652d226 Version bump to 2.5-SNAPSHOT 2017-04-20 16:13:15 -04:00
James Agnew 282f90d174 Perf work 2017-04-20 05:59:10 -04:00
James 9d3d15ce6f Version bump to 2.4 2017-04-19 21:38:36 -04:00
James Agnew 552bd90d59 More perf work 2017-04-19 18:08:38 -04:00
James cc526f6d99 Upgrade to STU3 2017-04-18 21:58:23 -04:00
James Agnew 61a61cddee More perf work 2017-04-18 21:02:25 -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 4bf97e836a Fix memory leak 2017-04-18 06:13:48 -04:00
James 7f2cf17f9f Fix perf issue 2017-04-17 17:29:32 -04:00
James 5adc09ad56 perf enhancements finally working 2017-04-17 16:56:53 -04:00
James Agnew fbbe792726 Perf work 2017-04-17 14:00:36 -04:00
James Agnew 08ec97e78a More work on perf 2017-04-16 15:57:58 -04:00
James Agnew 217d9f8176 More perf work 2017-04-16 14:46:15 -04:00
James Agnew 62ece72e6f More perf work 2017-04-16 12:08:23 -04:00
James Agnew 913fd422a1 Merge branch 'master' into jpa_perf_enhancements 2017-04-14 11:30:19 -04:00
James Agnew f6acb5633b Work on perf 2017-04-14 09:50:05 -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
James Agnew 23b7de5dd8 More perf work 2017-04-12 18:28:10 -04:00
James 81aae2b672 More perf work 2017-04-11 06:56:17 -04:00
James Agnew cba5aeb47b More perf work 2017-04-10 17:55:50 -04:00
James Agnew 0a8900ee78 Perf updates possibly working? 2017-04-10 16:29:24 -04:00
James aa02dd5037 More perf work 2017-04-10 08:05:25 -04:00
James Agnew 04468c8352 More perf work 2017-04-09 21:52:55 -04:00
James e32d6bb56e More perf work 2017-04-09 20:06:56 -04:00
James bf0f1421b3 Work on perf 2017-04-09 19:13:55 -04:00
James fa435fb8b2 More perf work 2017-04-09 11:48:56 -04:00
James Agnew c5c154346e More work on perf 2017-04-08 22:21:57 -04:00
James Agnew 801ae7cb75 NOFT test passing 2017-04-08 21:19:10 -04:00
James 90a4e2def2 More work on perf improvements 2017-04-08 19:46:51 -04:00
James Agnew 08e5681d8b Work on perf 2017-04-08 15:12:10 -04:00
James Agnew dd84fced5e Merge branch 'master' into jpa_perf_enhancements 2017-04-08 06:54:13 -04:00
James Agnew 0a61096f6f Add JPA utility method 2017-04-07 11:14:48 -04:00
James 8284fcab1b More work on performance 2017-04-07 08:37:48 -04:00
James Agnew 660c2bde72 More work on perf 2017-04-06 22:23:20 -04:00
James Agnew f48d0d677b More work on performance 2017-04-06 12:50:36 -04:00
James 1581cdf9a8 Work on perf 2017-04-04 08:26:04 -04:00
James Agnew 233eb54710 Work on perf 2017-04-03 22:05:53 -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
James Agnew 14d861992c Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-03-29 15:29:10 +08:00
James Agnew c6555ddd4f DaoConfig#setAllowInlineMatchUrlReferences now defaults to true 2017-03-29 15:23:23 +08:00
James Agnew d9749b652d Work on issue 534 2017-03-29 15:19:52 +08:00
Diederik Muylwyk 4748c8ba74 New DSTU2 FhirInstanceValidator bean exposed. (#611)
Merging with master, issue #609 will be closed.
2017-03-28 23:19:20 -04:00
James Agnew 3ecfbf098f Work on #534 2017-03-27 08:37:31 +08:00
James Agnew 72f682d81e Refactor search param registry 2017-03-18 19:36:10 -04:00
James 40848b1beb Version bump to 2.4-SNAPSHOT 2017-03-18 12:24:39 -04:00
James d009e836bb Fix tests for 2.3 2017-03-18 08:06:18 -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
James Agnew 899ed2567f Merge pull request #575 from joelsch/large-codesystem-persistence-fix
Revise saveConcept method to use save() instead of saveAndFlush()
2017-03-17 06:52:57 -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 95ef644612 Missed a param type for updated 2017-03-12 18:50:49 -04:00
James 0e3cc29c50 Add update time to search parameters 2017-03-12 12:13:31 -04:00
James 120227da2f License headers 2017-03-11 14:57:43 -05:00
James 0c6679ac44 JPA server interceptor methods for create/update/delete provided the wrong version ID to the interceptors 2017-03-11 07:57:33 -05:00
James Agnew bcff22c769 Add an interface for the stale search deleter 2017-03-01 19:50:17 -05:00
James Agnew d1d208c6c7 Rename a few reindexing methods to make their names more intuitive 2017-03-01 16:44:48 -05:00
Joel Schneider (NMDP) 2f1662b59f Revise saveConcept method to use myConceptDao.save instead of myConceptDao.saveAndFlush (to avoid overloading CPU with flush computations when persisting large codesystems, e.g. one with 399837 concepts). 2017-02-28 22:43:00 -06:00
James 7ea7bd45cf Make preDelete consistent with postCreate 2017-02-14 21:28:23 -05:00
James Agnew f7187fbc0a Fix another test 2017-02-11 19:39:01 -05:00
James Agnew 79e336025c Fix test 2017-02-11 19:31:00 -05:00
James Agnew 82ac69d86c Throw correct HTTP status when validation fails because of missing ID 2017-02-11 19:22:25 -05:00
James 53f6effd56 Clean up custom seach param code 2017-02-11 18:37:21 -05:00
James f1828d1ca8 Fix handling of filters on valueset expansions 2017-02-10 11:05:59 -05:00
James Agnew 0dd6364fe5 Improve paging in JPA server for _history operation 2017-02-08 21:42:17 -05:00
James ef23b45d25 Custom extension params working now 2017-02-08 19:17:12 -05:00
James Agnew d28122ff3e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-02-07 12:24:35 -05:00
James Agnew ad781334d8 Fix conditional creates updating resource body 2017-02-07 11:36:24 -05:00
James 21ea5a070f Fix test 2017-02-07 08:46:22 -05:00
James d5fbcf8e82 Return an OperationOutcome in the response for a delete in JPA 2017-02-07 07:44:57 -05:00
James 116cb1c8f7 Work on repopulating 2017-02-06 21:57:23 -05:00
James Agnew a760f1df7c Work on custom params 2017-02-05 21:27:07 -05:00
James Agnew 30df29c083 Work on custom params 2017-02-05 21:04:19 -05:00
James 73924199a9 Work on custom search params 2017-02-05 20:34:12 -05: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 dd0e47afc3 Make projects import cleanly into eclipse 2017-02-04 16:31:18 -05:00
James Agnew 3f8a8cd8aa Merge pull request #548 from sekaijin/cleanup
Cleanup
2017-02-04 16:02:50 -05:00
James 54ac780cd5 Custom params works! 2017-02-04 16:02:00 -05:00
James Agnew c85c2269a1 Work on custom params 2017-02-04 14:41:11 -05:00
James 12dc4d1c11 Work on custom params 2017-02-04 07:14:21 -05:00
James Agnew aa5588826e Work on custom search params 2017-02-02 22:31:34 -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 e5b9aa4536 Bump some dependency versions 2017-01-30 17:59:01 -05:00
James ad324174bd Try to get travis working again 2017-01-30 08:06:31 -05:00
James ce80007f8d Bump spring version and refactor examples 2017-01-29 22:55:22 -05:00
James Agnew 4963f8908b Merge pull request #533 from Robbert1/spring-4.3-compat
correct ordering of codesystem dao types
2017-01-29 17:58:56 -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
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 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 Agnew a63b42d08f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-01-23 17:59:11 -05:00
James Agnew 222333059d Add test 2017-01-21 13:09:33 -05:00
James Agnew bde8aebc5a Merge pull request #467 from Robbert1/transaction-index-links
fix resources links being correctly indexed when linking eachother as part of a single transaction bundle
2017-01-20 19:12:18 -05:00
James Agnew d1542e98c5 JPA server was not correctly validating and expanding SCT codes 2017-01-19 17:37:43 -05:00
James Agnew 64e3435a8e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-01-19 15:50:48 -05:00
James Agnew e342d211d1 Add some logging and a test 2017-01-19 15:50:41 -05:00
James 56a25dc3c6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-01-18 22:18:50 -05:00
James f59ac8cf83 Version bump license header 2017-01-18 22:18:37 -05:00
James Agnew 495e57b4ec Allow processing of transactions without a servlet in context 2017-01-18 22:18:03 -05:00
James Agnew 837b12a690 Docs updates 2017-01-14 11:40:05 -06:00
James Agnew 322051a383 Fix failing tests 2017-01-14 07:55:42 -06:00
James Agnew fa1ad5ba85 Fix #519 - Issues with JPA capabilitystatement related to the _id param 2017-01-13 21:19:19 -06:00
James Agnew 37c40c4f9e Fix #503 - Checking authorization again patient compartment fails with delete operation 2017-01-13 11:06:00 -05:00
James af32c4b7e9 Websockets working once more on the public server 2017-01-12 08:59:51 -05:00
James Agnew a8eb4a1967 More websocket work 2017-01-11 22:12:41 -05:00
James Agnew 47a81ebd8f More websocket work 2017-01-11 21:23:39 -05:00
James Agnew d7c4016896 Websocket work 2017-01-11 21:10:10 -05: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 5b7abf15dc Properly purge subscriptions 2017-01-11 18:19:46 -05:00
James Agnew fe24841350 Work on #532 2017-01-09 19:00:56 -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
Waveren, Robbert van 07525db83f correct ordering of codesystem dao types 2016-12-29 12:16:32 +01: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 7838d511d0 Fix typo in IHttpResponse 2016-12-19 11:29:05 -05:00
James Agnew 74a73e74c5 Dependency version bumps 2016-12-14 09:21:00 -05:00
jamesagnew a77c4270ae Generate schemas directly into class folder 2016-12-11 21:33:33 -05:00
James 901a85880c Update STU3 definitions and being in STU2.1 defs too 2016-12-10 19:51:25 -05:00
James ee63bbea74 Fix #516 - Handle STU3 invalid enum values with an appropriate exception 2016-12-10 14:14:22 -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
James 2457dfd693 Bring back generated creation SQL 2016-12-08 07:07:29 -05:00
James Agnew ffefb79bf1 Fix crash in JPA when _include points to external reference 2016-12-01 12:43:31 -05:00
James Agnew f984ca723b Add unit test 2016-12-01 12:31:19 -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 4ed17457dd Work on CORS 2016-11-17 17:10:52 +01:00
James Agnew ca9223fb70 Add ability to disable stale search expiry 2016-11-17 10:01:23 +01:00
James 6314f5efb3 Fix structuredefinition regression 2016-11-14 12:04:56 -05:00
James 2d7592f7a8 Version bump to 2.2-SNAPSHOT 2016-11-11 22:39:45 -05:00
James 42295caa61 Site changes 2016-11-11 22:30:19 -05:00
James 2dd26b6367 Version bump to 2.1 2016-11-11 15:16:53 -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 ef9f0bc35b Fix unneccesary database flush operation 2016-11-08 22:48:04 -05:00
James a5d5d3e031 Bump FHR version 2016-11-06 17:34:13 -05:00
James Agnew 9f37646518 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-11-03 11:28:24 -04:00
James Agnew 1a24ac2af2 Fix examples 2016-11-03 11:27:51 -04:00
James 3a5a771de7 Fix #484 - Correctly parse resources containing an empty div tag as the narrative 2016-11-03 07:51:11 -04:00
James Agnew f5bec16cb4 Fix tests for #472 2016-10-26 14:10:43 -04:00
James Agnew a246809c92 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-10-25 11:45:42 -04:00
James Agnew 3de62701cd Remove unused field in JPA server 2016-10-25 11:30:11 -04:00
James ccd304d2cf Add hook 2016-10-22 18:01:27 -04:00
James Agnew 27208127e0 Add test for #438 2016-10-21 11:40:50 -04:00
James Agnew e56c75e80c Switch Android library to use OkHttp by default 2016-10-14 16:15:27 -04:00
Robbert van Waveren 92a070430a fix resources links being correctly indexed when linking eachother as part of a single transaction bundle 2016-10-13 12:03:48 +02:00
James Agnew 7caf9b5ad9 Fix missing files from commit 2016-10-12 17:29:23 -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 Agnew 97cd78e6bf Fix #454 - Chinese characters were not being correctly normalized 2016-10-12 12:50:56 -04:00
James 09af42200c License headers 2016-10-11 05:30:22 -04:00
James Agnew b1266cca71 JPA server shouldn't report a totalCount in Bundle of "-1" when
there are no results
2016-10-07 17:52:06 -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 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 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 1180860590 Fix test errors 2016-09-30 18:12:33 -04:00
James Agnew 22c2d301dc Merge remote-tracking branch 'origin/jpa_dep_cleanup' 2016-09-30 14:04:24 -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 f39ca7eb2f Start del cleanup 2016-09-30 08:34:25 -04:00
James Agnew 8a9a031a8d Fix uploading CLI DSTU2 examples 2016-09-28 16:25:01 -04:00
James Agnew eba136d706 Correctly handle custom types in programatic access to JPA 2016-09-27 14:22:48 -04:00
James c784d5647b Add unit test 2016-09-25 13:05:24 -04:00
James Agnew 73959e3e26 Remove redundant files 2016-09-21 16:59:43 -04:00
James Agnew 3d73aad275 Fix unit tests 2016-09-21 16:58:57 -04:00
James Agnew ae97165a0a Add interceptor method on server which will be called after all other
processing
2016-09-18 16:08:16 -04:00
James Agnew b20a5e6b90 Bundles for history did not validate 2016-09-18 10:28:24 -04:00
James Agnew d8c99363db Patch modifications 2016-09-18 08:35:54 -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
James Agnew e1b41d8bf5 Add flag to CLI tool 2016-09-16 13:16:46 -04:00
James Agnew d41b412dee Fix #440 - Don't depend on Saxon 2016-09-08 15:56:15 -04:00
James Agnew dbaff992b0 Fix test 2016-09-08 14:22:47 -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 906bcfb803 Version bump to 2.1 2016-08-30 10:55:55 -04:00
James Agnew d27aad487e Bump to 2.0 release 2016-08-30 10:50:04 -04:00
James 333aa0afde Correctly update versions on transactipn update 2016-08-28 22:56:59 -04:00
James ddc0abe4ed Update to final STU3 ballot definitions 2016-08-26 07:55:10 -04:00
James acdbdc0be7 Fix #426 - Extension with datatype of ID failed to parse 2016-08-25 07:32:37 -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 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 da8abca1ff Add custom extension example 2016-08-21 10:24:42 -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 Agnew 3e7cd153fd Update DSTU3 definitions to latest 2016-08-05 12:36:41 -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 7dbd5a21ca Fix tests 2016-07-24 09:20:54 -04:00
jamesagnew 350e82b6cf Fix #403 - Allow references to keep versions when encoding 2016-07-23 18:48:00 -04:00
jamesagnew c532d1a25b Add test for #410 2016-07-21 07:35:15 -04:00
James Agnew 8f7a374a25 Auto-detect disabled hibernate search 2016-07-18 16:56:41 -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 0b69367b11 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-13 09:22:19 -04:00
jamesagnew fa37afb61f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-12 21:44:52 -04:00
jamesagnew ed941a116b Update to use GSON 2016-07-12 21:44:40 -04:00
James Agnew c550681aeb Update defs to 1.5.0 versions 2016-07-12 18:29:10 -04:00
James Agnew c3e9f618eb Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
jamesagnew acaf2135c5 Finalize 1.6 release 2016-07-06 07:29:20 -04:00
James Agnew 83c2e7d1fb Another test fix 2016-07-05 18:22:08 -04:00
James Agnew d63e289cbe Validation fixes 2016-07-05 16:56:06 -04:00
James Agnew 344b1256ce Add tests 2016-07-04 18:32:57 -04:00
jamesagnew 32bdd14639 Work on term service 2016-07-02 17:14:36 -04:00
jamesagnew 4a49e5b7f9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-01 14:31:25 -04:00
jamesagnew b8f1f39ead Add tests and get :below queries working for built-in code systems 2016-07-01 08:51:47 -04:00
James Agnew 7ef48413c4 Term service enhancements 2016-06-30 17:45:41 -04:00
James Agnew 1eb1dc7e36 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-06-29 09:56:12 -04:00
James Agnew ea99672e6c Add tests for term svc 2016-06-29 09:56:05 -04:00
jamesagnew 9b6f548970 Work on term service, and allow child classes when serializing 2016-06-29 08:08:42 -04:00
James Agnew 8c8b7b8234 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-06-27 08:24:33 -04:00
James Agnew cf0ac8fc04 Work on term service 2016-06-27 08:22:09 -04:00
jamesagnew 40a65fb2cc Try to fix test 2016-06-27 05:55:53 -04:00
jamesagnew c2dbcc7ff0 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-06-26 23:12:26 -04:00
jamesagnew e9cb518012 Fix teerm sevice indexing 2016-06-26 23:10:02 -04:00
jamesagnew 556058a7b7 Tests passing 2016-06-25 10:55:31 -04:00
James Agnew db0a208927 Work on terminology importing 2016-06-24 18:40:44 -04:00
jamesagnew 2e8c20dc83 More work on terminology services, and add support to operations to AuthorizationInterceptor 2016-06-20 07:19:08 -04:00
jamesagnew 36505c60d8 More work on term service importing 2016-06-19 10:35:27 -04:00
jamesagnew a7cbb5c022 More test coverage 2016-06-18 13:32:45 -04:00
jamesagnew b3d8d453de Improve test coverage and clean up UnclassifiedServerFailureException processing 2016-06-18 10:37:43 -04:00
jamesagnew 785ce1deb9 Remove some dead code and improve test coverage 2016-06-17 07:40:17 -04:00
jamesagnew dcecde5db9 Improve test coverage 2016-06-16 22:52:10 -04:00
jamesagnew 9392d8c104 Add logging to test 2016-06-15 22:30:03 -04:00
James Agnew 1683cf8cef Switch to jacoco 2016-06-15 17:34:50 -04:00
James Agnew e2f1beef2c Fix some tests 2016-06-14 22:03:24 -04:00
James Agnew f3dcc3e893 Add lots of tests 2016-06-14 17:57:08 -04:00
James Agnew 1166a2ee67 Work on support for _at parameter in history operation 2016-06-13 07:31:25 -05:00
James Agnew 23840ecb7a Fix some tests 2016-06-11 06:43:27 -05:00
James Agnew 1d2aee3dbe Try to fix tests 2016-06-10 22:43:00 -05:00
James Agnew fd8d67b9cd Fix more unit tests for #380 2016-06-10 18:57:44 -05:00
James Agnew a3484f84c1 Work on #381 - Still need to apply these changes to STU3 type 2016-06-09 21:48:53 -04:00
James Agnew 0a2b4290ed Fix #370 - Validation failure when validating certain STU3 resources 2016-06-08 14:21:18 -07:00
James Agnew 7e57aed5d6 Significant performance enhancements for context startup 2016-06-06 11:15:11 -07:00
James Agnew 99568a4b30 Clean up client fluent param types and add some test coverage 2016-06-05 11:33:43 -04:00
James Agnew 87eabe6bf8 More work on terminology server 2016-06-05 09:40:06 -04:00
jamesagnew f4b9c6423c Work on terminology service 2016-06-04 12:16:33 -04:00
jamesagnew 32cebb2a9f More terminology service work 2016-06-03 08:16:40 -04:00
jamesagnew 1b8843aa5e More work on terminology service 2016-06-01 09:10:47 -04:00
jamesagnew 820d1e0165 Fix build 2016-05-30 06:38:40 -04:00
James Agnew f45ad117fe Improve error messages for invalid validate request 2016-05-29 22:23:30 -04:00
James Agnew a306e3136f Try to fix build 2016-05-29 18:45:42 -04:00
James Agnew 9fe9cc1e4c Sync RI and fix tests 2016-05-29 17:52:26 -04:00
James Agnew eb3b656a5f Syn RI - Build still failing :( 2016-05-28 12:53:59 -04:00
James Agnew fd7f9a9b98 Auto close contextx in JPA tests 2016-05-27 10:27:32 -04:00
jamesagnew cd2af98064 Add method to upload SCT to JPA server 2016-05-27 08:56:36 -04:00
jamesagnew 69266dc7d0 Add terminology uploader 2016-05-26 22:18:12 -04:00
jamesagnew badcbfc0ee More work on SNOMED CT terminology loader 2016-05-26 07:53:36 -04:00
jamesagnew 35ffbf1568 Sync DSTU2 validator with RI 2016-05-24 09:22:16 -04:00
jamesagnew efe9cd1dd1 Work on term svc 2016-05-24 06:34:06 -04:00
jamesagnew 635398a754 Update reindexing 2016-05-22 18:22:49 -04:00
jamesagnew de65184afb Fix tests 2016-05-21 20:52:37 -04:00
jamesagnew 3d8776f6ed Fix #363 - Allow remote references in JPA resources 2016-05-21 12:58:04 -04:00
jamesagnew 81d68b07f8 Work on term svc 2016-05-19 06:15:58 -04:00
James Agnew 6c3446dee1 Fix build 2016-05-17 11:30:57 -04:00
jamesagnew ddb35d0faa Merge branch 'term_svc' of github.com:jamesagnew/hapi-fhir into term_svc 2016-05-17 09:05:47 -04:00
jamesagnew 78fa6eaeaf More work on terminology service 2016-05-17 09:05:37 -04:00
James Agnew 7942d69d5d Accept conditional updates with _id as parameter 2016-05-16 19:11:25 -04:00
jamesagnew c7d191dc38 Fix all tests 2016-05-14 16:59:31 -04:00
James Agnew 309b67c010 Fix tests 2016-05-13 19:37:49 -04:00
James Agnew d5e2170595 Don't discard _count from parameters when method has @Count 2016-05-13 19:13:39 -04:00
James Agnew 563f4e4c46 Treat date eq params correctly 2016-05-13 18:49:41 -04:00
James Agnew abd8bc2f14 Work on term svc 2016-05-13 17:40:56 -04:00
James Agnew c94f4bb19b Work on term services 2016-05-11 06:30:45 -04:00
James Agnew 3e77d3e37e Add _has support (this is an experimental parameter being tested) 2016-05-10 11:47:30 -04:00
James Agnew bca8589177 Index DSTU3 timing datatypes 2016-05-09 16:32:31 -04:00
James Agnew 975dfe4fa4 Fix build 2016-05-09 13:10:12 -04:00
James Agnew 061243b5c7 Allow delete bundle to contain multiple deletes for the same resource 2016-05-08 13:11:55 -04:00
James Agnew e1ab2856e0 Fix build 2016-05-08 10:29:08 -04:00
James Agnew adeb15809b Fix validator for documents 2016-05-07 16:47:34 -04:00
James Agnew af2b702aa4 Fixes from Montreal connectathon 2016-05-07 14:24:33 -04:00
James Agnew 4ae4b1a8d8 Support composite parametrs with quantity type in JPA 2016-05-06 18:43:07 -04:00
James Agnew 82c1e687fd Fix NPE in LoggingInterceptor 2016-05-04 11:48:50 -04:00
James Agnew 7429a382dd Fix test 2016-05-03 10:12:03 -04:00
jamesagnew cce0ce6b8e Add parser for URL parameters to avoid Servlets using ISO-8859-1 instead of UTF-8 2016-05-03 08:58:56 -04:00
jamesagnew dcd32b6127 Correctly handle search parameter target types in JPA 2016-05-03 07:03:44 -04:00
James Agnew 3e8638a65f Fix tests 2016-05-02 19:03:36 -04:00
James Agnew dd95a52240 Get fluentpath entirely working in JPA 2016-05-02 18:04:42 -04:00
James Agnew 804149205a Work on getting tests passing 2016-05-02 11:42:55 -04:00
jamesagnew 5086145132 Add targets to search parameters 2016-05-02 08:10:43 -04:00
jamesagnew 2bc1950bc1 JPA server transactions sometimes created an incorrect resource reference if a resource being saved contained references that had a display value but not an actual reference. Thanks to David Hay for reporting! 2016-04-29 09:21:12 -04:00
jamesagnew d45a9b67dc Allow forced IDs to be reused between resource types 2016-04-24 19:24:55 -04:00
jamesagnew 38e80531bb Bump version to 1.6-SNAPSHOT 2016-04-22 07:05:05 -04:00
jamesagnew dd3f1dd33c Fix #345 - ResponseValidatingInterceptor throws an exception with response has no content 2016-04-22 07:04:14 -04:00
jamesagnew 246a7c5e16 Fix test 2016-04-21 07:51:14 -04:00