Commit Graph

844 Commits

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