Commit Graph

1022 Commits

Author SHA1 Message Date
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