Commit Graph

1338 Commits

Author SHA1 Message Date
jamesagnew a6e59a0f76 License header updates 2018-03-01 06:20:37 -05:00
James Agnew 790aaeb4ea Tests for #872 2018-02-28 21:34:32 -05:00
James Agnew 2eee606468 Fix 2 tests 2018-02-25 14:57:19 -05:00
James Agnew ef6ee83744 Remove test which is no longer applicable 2018-02-24 23:09:30 -05:00
James Agnew 136455f312 Fix #863 - Allow custom search parameters to use multiple bases 2018-02-24 22:10:55 -05:00
jamesagnew fd285b282f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-24 12:02:28 -05:00
jamesagnew d93bdfa47d Update license header 2018-02-23 15:54:57 -05:00
James Agnew 3b2930f8e9 Prevent a crash in testpage overlay when deleting a resource 2018-02-23 15:24:20 -05:00
James Agnew e241b31905 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-21 17:16:08 -05:00
James Agnew 7723405024 Fix #859 - Remove unused import on com.sun.prism 2018-02-21 17:15:15 -05:00
jamesagnew 72cf22e3a9 Fix #854 - Process ID substitutions on URIs for JPA 2018-02-20 07:32:49 -05:00
James Agnew 81305fb17f Don't deliver subscription results for deleetd resource 2018-02-19 20:58:55 -05:00
jamesagnew c38e306539 Allow disabling of reloading resources in subscription 2018-02-18 11:47:21 -05:00
jamesagnew a60e5cab2a Add config 2018-02-18 11:11:35 -05:00
jamesagnew 2f4ac42edb One more test fix 2018-02-18 09:17:04 -05:00
jamesagnew 3f1a0e81c7 Avoid endless reindex loop 2018-02-17 16:10:44 -05:00
jamesagnew e89f8e5ba4 Fix crash with unique search parameter updates in JPA 2018-02-16 07:39:46 -05:00
James Agnew 2847edd04a Correct subscription read before send 2018-02-15 17:38:29 -05:00
James Agnew 8ea527fa76 Make sure we load subscriptions from DB at some point 2018-02-15 17:13:27 -05:00
jamesagnew 4f45ad87f3 Adjust unit tests to deal with asynchronous search parameter registry 2018-02-15 07:12:30 -05:00
James Agnew e6253b7f22 Refresh search parameter cache asynchronously 2018-02-14 11:10:30 -05:00
James Agnew 329675a81d Fix test 2018-02-12 15:38:38 -05:00
jamesagnew d259b9a65d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-12 11:52:58 -05:00
James Agnew ab3ca5749a Add test for #793 2018-02-12 09:34:11 -05:00
jamesagnew a94a1370e7 Correct localization issue in test 2018-02-11 21:54:29 -05:00
James Agnew 18e4d85625 Add functions to stopwatch 2018-02-11 19:26:03 -05:00
James Agnew 261ecb6460 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-11 16:39:58 -05:00
James Agnew 388f51a823 Add some tests 2018-02-11 16:38:33 -05:00
jamesagnew 32b25f47d8 Update license header 2018-02-11 12:02:39 -05:00
James Agnew 7046d2fe94 Improve subscription procesing within a transaction 2018-02-10 17:05:09 -05:00
James Agnew 2edc9910e5 Add a test 2018-02-09 10:29:20 -05:00
James Agnew 80353e5d42 Better handle large search result deletion in JPA 2018-02-08 17:55:46 -05:00
jamesagnew fb327c60cd FIx spring boot issue 2018-02-04 15:04:45 -05:00
jamesagnew 48330a0fa6 Name the task scheduler bean 2018-02-04 13:32:34 -05:00
jamesagnew 087a130ded Test tweak 2018-02-04 08:50:52 -05:00
jamesagnew 86a0774305 Fix an issue in subscription interceptor which prevented the server from
starting if an invalid subscription was already in the database
2018-02-03 19:20:58 -05:00
James Agnew 3cbf669007 Don't crash on startup if an invalid subscription is in the database 2018-02-03 15:47:48 -05:00
James Agnew 1b9bbc90d6 Add some logging on failing test 2018-01-31 08:24:10 -06:00
James Agnew 4af52c160f Try to get HAPI building on JDK9 2018-01-31 06:41:24 -06:00
James Agnew 1c5a07b5a0 Fix #822 - Respect chained method params in a transaction search 2018-01-30 16:20:25 -06:00
James Agnew c5165e860b Add test for #811 2018-01-30 14:43:21 -06:00
James Agnew 8d468de551 Use R4 validator for DSTU3 validation 2018-01-30 11:16:04 -06:00
James Agnew 044b9f584a Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-01-28 14:02:53 -06:00
James Agnew f976b7bf7e Add new interceptor method which enabled interceptors to modify response 2018-01-28 14:01:20 -06:00
jamesagnew 2e4f80d7a3 Fix #831 - Remove useless TagListParam annotation 2018-01-26 10:03:21 -05:00
jamesagnew 6b366a58f7 Fixing occasionally failing test 2018-01-26 09:45:21 -05:00
jamesagnew 4e0e8fb8f8 Version bump a few dependencies 2018-01-26 06:22:06 -05:00
James Agnew 16038ece26 Version bump to 3.3.0-SNAPSHOT 2018-01-23 10:31:01 -05:00
James Agnew 4fd3e20d06 Remove duplicate resource body creation (Merge branch 'optimize_jpa') 2018-01-21 18:16:11 +08:00
James Agnew 4dcce4e582 Fix #832 - Correctly normalize text with Korean characters 2018-01-21 14:55:14 +08:00
jamesagnew 001bdbc07e Version bump to 3.2.0 2018-01-13 04:07:57 -05:00
James Agnew 6468ca474a Verion bump to 3.2.0 2018-01-13 02:14:33 -05:00
James Agnew 01186ec8cb Squashed commit of the following:
commit ab876ef864005b6758d3e00a1bb1ef2dad5d2161
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Jan 12 18:59:15 2018 -0500

    Tests all passing

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

    Almost compiling
2018-01-12 18:59:43 -05:00
James Agnew f58a03dacf Add some tests 2018-01-11 09:26:28 -05:00
jamesagnew b594b8eee2 FIx issues from merge 2018-01-10 06:27:23 -05:00
jamesagnew b0e196e5cf Merge branch 'master' into optimize_jpa 2018-01-10 06:27:15 -05:00
Łukasz Dywicki 66b6149bf6 Support for negation in search operations #815. 2018-01-09 22:29:01 +01:00
James Agnew d375977410 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-01-08 14:14:42 -05:00
James Agnew 9a72927dbc Fix #808 - Use version from meta if not found in the resource ID 2018-01-08 14:07:27 -05:00
jamesagnew 0352d48720 Bump copyright message to 2018 2018-01-08 13:52:15 -05:00
jamesagnew b420d02f2a Fix tests 2018-01-08 08:51:29 -05:00
jamesagnew 19c6369175 Test fix 2018-01-08 08:20:39 -05:00
jamesagnew 7e2459fbdc FIx up tests 2018-01-08 08:18:34 -05:00
jamesagnew 6fc88caa51 More work on optimizing JPA 2018-01-08 07:15:58 -05:00
James Agnew abf76a778f Add some tests for unique search params 2018-01-08 07:15:31 -05:00
James Agnew 377bae8c16 Allow interceptors to modify request contents 2018-01-06 14:27:32 -05:00
James Agnew 0369b7fd70 JPA server cleanup and add some tests 2018-01-05 16:41:18 -05:00
James Agnew 8b38334955 Fix some tests 2018-01-04 18:12:13 -05:00
James Agnew 2f5ce64755 Start work on removing duplicate resource body 2018-01-04 14:45:17 -05:00
James Agnew b18e71d4f5 Added new callbacks to IServerOperationInterceptor to be invoked before
other operation methods
2017-12-23 17:13:33 -05:00
Jeff Chung eb2d21ac4b Added ability to create a resthook subscription without returning a payload using an HTTP POST for notification 2017-12-22 17:14:45 -08:00
James Agnew fe37c87e78 Redirect test output to a file 2017-12-22 16:52:22 -05:00
James Agnew ce247ce37f Reuse forks when running surefire 2017-12-22 16:20:21 -05:00
James Agnew 5425172816 More travis fighting 2017-12-22 15:53:08 -05:00
James Agnew bf3c09f43d
Merge pull request #810 from darktyco/issue-809-date-search-params
Fixes issue #809 where date search params get deleted upon resource update
2017-12-22 15:43:07 -05:00
James Agnew 56fcdef93a Try still more to get travis building 2017-12-22 15:10:08 -05:00
James Agnew a8e5413d1f Fix two issues found by ErrorProne 2017-12-22 13:47:40 -05:00
Kyle Meadows 18344f2e32 Fixes issue #809 where date search params get deleted upon resource update 2017-12-22 10:35:14 -05:00
Jiajing LIANG 1f88823e8b add some test to check inCompartment rule works for a collection of owners, with Dstu3 and R4 fhir context 2017-12-21 11:42:38 +01:00
James Agnew 502f58022e Add some sorting tests 2017-12-18 06:03:09 -05:00
James Agnew 8595b7059e Let's try and get travis passing now 2017-12-15 16:38:32 -05:00
James Agnew ff477885e1 More fighting with tests 2017-12-13 20:13:18 -05:00
James Agnew 3a6a045d87 Fix two more tests.... grr... This should get appveyor working at least. 2017-12-13 17:52:56 -05:00
James Agnew cba3b5b6d8 More test fighting... 2017-12-13 15:24:16 -05:00
James Agnew 44ec091b35 Still more test tweaks 2017-12-13 13:29:24 -05:00
James Agnew 3363c5ce1b Still fighting with tests to get travis happy 2017-12-13 12:13:08 -05:00
jamesagnew 1a9b63aed6 Fix tests 2017-12-13 07:55:35 -05:00
jamesagnew 96e3135793 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-12-13 07:05:41 -05:00
jamesagnew 4ad5033b13 Add tests 2017-12-13 07:05:30 -05:00
James Agnew 0997167d50 Add test cases for DSTU2 custom search params 2017-12-12 22:08:02 -05:00
James Agnew 3e8fc0c89c Merge branch 'dstu2_custom_structs' 2017-12-12 21:47:05 -05:00
James Agnew bdf734fc3c Examples cleanup 2017-12-08 16:33:45 -05:00
James Agnew c86a2866d8 Reduce search log noise 2017-12-08 14:25:47 -05:00
jamesagnew 561dc86eb4 Test updates 2017-12-08 07:46:59 -05:00
James Agnew 7ce70a792d Add test for #801 2017-12-07 18:17:24 -06:00
James Agnew e838b0e32d Remove unneccesary column 2017-12-07 18:17:24 -06:00
James Agnew ea8ebd88ac Additional timing tweak to get tests passing across platforms 2017-12-07 11:27:11 -06:00
James Agnew f4bc82b300 Rename resource ID property to Resource server ID 2017-12-07 07:20:22 -06:00
James Agnew bbf1151d93 Try to prevent timing failures on Windows 2017-12-07 07:04:26 -06:00
James Agnew 8fae452eaa A little more test tweaking 2017-12-06 23:42:22 -06:00
James Agnew 36e719f92f Allow server assigned UUIDs instead of sequential IDs if conigured to do
so
2017-12-06 23:16:10 -06:00
James Agnew 0fb10b2636 Oops- fix one more test glitch 2017-12-05 14:33:01 -05:00
James Agnew d00c7dbea8 Giant breakthrough in fixing sporadic test failures! 2017-12-05 12:08:56 -05:00
jamesagnew d710682fed Fix searching in JPA with _id and _content params 2017-12-05 07:25:34 -05:00
jamesagnew e1c62ef03e One more test fix 2017-12-05 06:06:09 -05:00
jamesagnew 3a7fba6582 Fix 2 tests 2017-12-04 23:20:43 -05:00
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