Commit Graph

1214 Commits

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