James Agnew
b8755615b2
Allow AuthorizationInterceptor to read patients if the user has read
...
access to the individual instance
2019-01-14 13:53:08 -06:00
James Agnew
93bf2788ec
Add subscription narrowing interceptor and refactor RuleBuilder to be a
...
bit cleaner
2019-01-12 14:23:26 -06:00
James Agnew
aee7b2b882
Make sure that sub-request transaction searches and reads preserve HTTP
...
headers
2019-01-10 07:26:04 -07:00
James Agnew
ee52d6fb31
Add SearchNarrowingInterceptor
2019-01-09 20:20:46 -06:00
Stig Rohde Døssing
f8b232bb67
Issue 430: Generate OperationDefinitions for named queries, fix minor errors in generation of OperationDefinition for operations. Closes #430 .
2019-01-09 05:41:08 -05:00
James Agnew
62ae71c1c6
Allow authorizing delete operations via a transaction in
...
AuthorizationInterceptor
2019-01-07 15:43:36 -05:00
jamesagnew
a8a97ae6b2
Two test fixes
2019-01-07 09:18:11 -05:00
jamesagnew
3d94761bcb
Improve response for transactions
2019-01-06 18:08:32 -05:00
jamesagnew
b2c7a2003e
Prevent a nullpointerexception in AuthorizationInterceptor
2019-01-06 16:42:29 -05:00
jamesagnew
39f2062802
FIx errorprone detected issues
2019-01-05 13:43:55 -05:00
jamesagnew
8f8385627f
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2019-01-05 11:33:08 -05:00
jamesagnew
98d93df12a
License header updates
2019-01-04 16:22:15 -05:00
James Agnew
5b8fee869e
Add config options for default Prefer header and _total param on server
2019-01-04 16:12:45 -05:00
Corina Dalaban
3a3d503772
head operation should return 200OK response code instead of 400
...
BadRequest
2018-12-21 05:40:35 -05:00
Ken Stevens
84a34eb3c9
Subscription module support ( #1147 )
...
* Reorganizing packages and dependencies to support standalone subscription running within a CDR container where all hapi modules are on the classpath.
Moved Subscription registry out of interceptor and introduced SubscriptionLoader
* Created ActiveSubscription and moved cache bits into it
* Moved ExecutorQueue stuff out into its own class
* Add test and supporting code to validate SubscriptionConstants.EXT_SUBSCRIPTION_RESTHOOK_DELIVER_LATEST_VERSION behaviour
* Added SubscriptionCheckingSubscriber
* Moved a few beans to @ComponentScan
* Replaced use of beanFactory with concrete factory classes
* Switched test to use subscribablechannel
* Added SubscriptionLoaderFhirClientTest
* Confirm that our SubscriptionProviderFhirClient works with a live fhir client
* Register interceptors with DaoConfig instead of RestServer.
Also, Rename @VisibleForTesting methods with ForUnitTest
* Fix triggering service so it uses new subscriptionmatcherinterceptor
* Renamed "Database" classes to "Dao"
* processing -> matching naming change
2018-12-18 13:09:06 -05:00
jamesagnew
81e8131ffc
Fix broken test
2018-12-09 19:36:03 -05:00
James Agnew
67f5ba6aa0
Also allow ServeMediaResourceRawInterceptor to handle vread requests
2018-12-09 14:29:40 -05:00
James Agnew
19954fa252
Resolve failing test
2018-12-09 14:09:12 -05:00
James Agnew
b442982310
Add media interceptor
2018-12-08 18:49:58 -05:00
James Agnew
b2179b1696
Syntax fixes for the JPA migrator
2018-11-30 12:39:37 -05:00
James Agnew
b41c222880
Require explicit declaration of authorizationinterceptor operation rules
...
on whether the response is authorized or not
2018-11-23 14:25:46 -05:00
James Agnew
ce3b7c82ce
Avoid issues when using subscription delivery in a serializing/queuing
...
environment
2018-11-22 17:53:42 -05:00
James Agnew
2e030eebaa
Make sure that reindexing happens correctly
2018-11-21 12:06:10 -05:00
James Agnew
58388bb614
Allow client to return methodoutcome instead of resdource for operation
...
call
2018-11-19 11:11:49 +01:00
James Agnew
67dbc802be
Better detection of binary content in ResponseHighlighterInterceptor
2018-11-18 14:32:54 +01:00
James Agnew
fad53c6669
Fix a test
2018-11-16 13:15:14 +01:00
James Agnew
0d0f67b299
Add GraphQL support to public server
2018-11-16 11:41:39 +01:00
James Agnew
02b23d74fd
Merge pull request #1117 from magnuswatn/logformatfix
...
Fixed small log formatting error in ExceptionHandlingInterceptor.java
2018-11-15 13:38:07 +01:00
Magnus Watn
52265d248f
Fixed log formatting error
2018-11-15 12:14:33 +01:00
James Agnew
75210d614b
Bump to 3.7.0-SNAPSHOT
2018-11-12 22:37:52 -05:00
James Agnew
63af04a7b4
Prepare for 3.6.0 release
2018-11-12 05:40:55 -05:00
jamesagnew
a3e79b5759
License updates only
2018-11-08 15:28:09 -05:00
James Agnew
17a7fd4285
Merge pull request #1071 from volsch/master
...
Multiple values of a HTTP header are reduced to one value.
2018-11-08 13:27:36 -05:00
James Agnew
4b790eddb6
Add additional authorization test
2018-11-07 11:01:29 +01:00
James Agnew
4315900ac0
Merge branch 'philips-3.6.0'
2018-11-01 09:15:27 -04:00
James Agnew
3bfdc61866
Fix a couple of test failures
2018-11-01 09:15:03 -04:00
jamesagnew
3f6960d82b
Add multithreaded migrator tool
2018-11-01 05:42:51 -04:00
jamesagnew
31ef4c68e1
Merge branch 'philips-3.6.0' of github.com:jamesagnew/hapi-fhir into philips-3.6.0
2018-10-31 05:51:13 -04:00
jamesagnew
8955a9e54d
Add threading to migrator
2018-10-31 05:50:50 -04:00
James Agnew
7acba90d15
Update search logic
2018-10-30 22:43:16 -04:00
James Agnew
6b1ea5b989
Add tests for operation method binding
2018-10-30 15:22:39 -04:00
James Agnew
b66e01ce65
Allow plain server @Operation methods to declare a wildcard so that any
...
opeeration invocations will be direected to them
2018-10-29 10:36:32 -04:00
James Agnew
aa177c1421
Authorize batch operation in AuthorizationInterceptor
2018-10-19 09:45:56 -04:00
James Agnew
da2763d8c8
Merge branch 'master' into philips-3.6.0
2018-10-17 22:38:27 -04:00
James Agnew
99cd4ce5f7
Allow for _total parameter
2018-10-17 09:47:35 -04:00
James Agnew
4e252063b8
Allow transactions and batches with transaction permission in
...
AuthorizationInterceptor
2018-10-16 19:54:55 -04:00
James Agnew
796b12e33e
Fix bug in $everything processing
2018-10-15 05:44:53 -04:00
James Agnew
51a69f0dc9
Fixes to migrator and count logic
2018-10-13 12:02:19 -04:00
James Agnew
ca54409ce3
Add some null checks to the RestfulServer
2018-10-05 08:33:00 -04:00
James Agnew
62d6771814
Use a select count query for summary count searches in JPA server
2018-09-29 21:58:14 -04:00