4274 Commits

Author SHA1 Message Date
Corina Dalaban
65a54bfe29 the test for head operation is not needed anymore in the
unsupportedhttpmethods
2018-12-21 05:40:35 -05:00
Corina Dalaban
3a3d503772 head operation should return 200OK response code instead of 400
BadRequest
2018-12-21 05:40:35 -05:00
James Agnew
5824826eff Add support for booleans in the migrator 2018-12-20 10:24:17 -05:00
jamesagnew
6e0a9525a1 Remove dependency on public test server in unit test 2018-12-20 06:28:01 -05:00
jamesagnew
54bb1508db Changelog for #980 2018-12-20 06:08:10 -05:00
David Gileadi
23a09ef7d7 Support parsing valueReference 2018-12-20 06:02:07 -05:00
James Agnew
f5f9dff391 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-12-18 14:09:20 -05:00
James Agnew
bca958564f Just a javadoc change 2018-12-18 14:09:11 -05:00
jamesagnew
86b3e45a32 License header updates 2018-12-18 14:08:01 -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
James Agnew
dc1f48ffed Test fix 2018-12-14 14:13:02 -05:00
James Agnew
f978bc3039 Always apply new search params to any resource reindexing 2018-12-14 13:43:25 -05:00
James Agnew
11b8304cb4 Fix case sensitivity issue 2018-12-13 08:31:35 -05:00
jamesagnew
8d195aedf0 Credit for #917 2018-12-13 05:36:19 -05:00
hdconradi
89ede0e524 Extension domains configuration for the fhr instance validator (#917)
* Fix the url of the StructureDefinition extensions

http://hl7.org/fhir/tools/StructureDefinition/ -> http://hl7.org/fhir/StructureDefinition/
That makes the entry for the structuredefinition-expression superfluous.

The url behind IG_DEPENDSON_PACKAGE_EXTENSION does not point is not (yet?) valid too.

* Add ability to configure custom extension domains.

* Testing the extension domains configuration

* Fix obvious bug when determining resource name

The for loop was completely superfluous beforehand.
Either fix it as e.g. in this patch or remove it.

* small improvements and TODO's for possible NPE's

- javadoc see
- use diamond operator for generics
- remove throws clause when exception is not thrown
- add TODO's for some cases a NPE might occur.
  My knowledge of the context is not sufficient to suggest the proper
  way to solve this.
2018-12-13 05:32:47 -05:00
Łukasz Dywicki
1afe36e60a Sources and resource generator mojo which doesn't use value sets. (#852)
* Resource and sources generator mojo which doesn't use value sets.

* Avoid unecessary reference to javassist.
2018-12-13 05:28:16 -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
jamesagnew
3109a269b3 Attempting to get ErrorProne working on JDK11 2018-12-08 18:22:17 -05:00
jamesagnew
9a97d21660 Bump compiler plugin 2018-12-08 18:06:39 -05:00
jamesagnew
c2e4773384 Try travis with oracle jdk11 2018-12-08 17:59:35 -05:00
jamesagnew
3a3b81a6a8 Preparing things for OpenJDK 11 2018-12-08 17:52:48 -05:00
James Agnew
5a80e70d93 Correctly reindex string indexes 2018-12-06 14:44:42 -05:00
James Agnew
a5b1f684f7 Try to prevent intermittent test failure 2018-12-05 19:28:37 -05:00
James Agnew
cbaa39fd63
Try to reuse index rows in JPA server (#1133)
* Try to reuse index rows in JPA server

* Address review comments

* One more test fix

* One more test
2018-12-05 19:25:59 -05:00
James Agnew
31f6a0b22b One more bit of logic for the reindexer 2018-12-04 20:29:20 -05:00
James Agnew
d150340d53 One more test fix 2018-12-04 19:55:14 -05:00
James Agnew
29af6160d6 Fix typo 2018-12-04 18:54:26 -05:00
James Agnew
1d3bcd9e8f Fix indexing bug 2018-12-04 18:50:49 -05:00
James Agnew
d9ce0ebf7c Unit test fix 2018-12-04 18:24:19 -05:00
James Agnew
8c7f249a21 Migrator enhancements and adjust reindexer to account for missing
versions
2018-12-04 17:33:29 -05:00
James Agnew
c484c69664 Better error message for unqualified search parameter types 2018-12-03 13:14:10 -05:00
jamesagnew
82f40f0423 License header updates 2018-12-03 05:22:10 -05:00
Ken Stevens
6baee4dc3f
Standalone subscription (#1125) 2018-11-30 17:19:16 -05:00
James Agnew
b2179b1696 Syntax fixes for the JPA migrator 2018-11-30 12:39:37 -05:00
James Agnew
650872cd3e Address SQL syntax issue 2018-11-29 08:37:50 -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
364b6cc5fd One more test fix 2018-11-22 18:40:39 -05:00
James Agnew
055478e1f1 Test fixes 2018-11-22 18:22:33 -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
d0b194f9d7 Fix two test failures 2018-11-22 08:41:12 -05:00
James Agnew
0625e38727 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-11-21 12:06:25 -05:00
James Agnew
2e030eebaa Make sure that reindexing happens correctly 2018-11-21 12:06:10 -05:00
Patrick Werner
297cf3ed42
Updated Instructions to match actual paths 2018-11-21 14:15:14 +01:00
James Agnew
e8482f5c87 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-11-20 13:59:51 -05:00
James Agnew
7cbad7f4e3 A bit of cleanup around subscription wiring following in-memory matcher
landing
2018-11-20 13:59:31 -05:00
jamesagnew
4c84b8fc89 Add a bit more test logging 2018-11-20 05:33:32 -05:00
James Agnew
471335341a Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-11-19 17:25:14 -05:00