Commit Graph

1282 Commits

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