1
0
mirror of https://github.com/hapifhir/hapi-fhir.git synced 2025-02-27 16:56:07 +00:00

307 Commits

Author SHA1 Message Date
Ken Stevens
84db66d2e3 fixed 2019-02-02 19:07:06 -05:00
Ken Stevens
37670ac039 actually, we shouldn't be trying to match on deleted resources. Corrected assertion in test. 2019-02-02 19:00:14 -05:00
Ken Stevens
4106d67eb7 ready for review 2019-02-02 18:03:09 -05:00
Ken Stevens
dd0b56142d found another bug in standalone subscriptions 2019-02-02 17:14:05 -05:00
Ken Stevens
6616fbc9bb added CannonicalSubscription.toString() 2019-02-02 13:15:07 -05:00
Ken Stevens
9280cde491
Subscription only registers active ()
* Fixed a bug in standalone subscription subscriber:  It was adding REQUESTED subscriptions to the active subscription registry.  (Only ACTIVE subscriptions should be added.)
2019-02-01 10:14:46 -05:00
jamesagnew
503d1d8aff Subscription NPE fix 2019-01-26 18:42:01 -05:00
Ken Stevens
10c59fceeb
Subscription strategy tag ()
tests pass
2019-01-25 13:01:04 -05:00
James Agnew
f55be0b6d0 Test fix 2019-01-25 10:56:17 -05:00
James Agnew
38d03ea99a
Invalid ids in subscription queue ()
* Start work on this

* Work on interceptors

* Attempt fix

* Avoid environment dependency

* Test fixes

* One more test fix

* One more build tweak

* Lots of cleanup

* A bit more cleanup

* Still more cleanup

* Some test fixes

* Add legacy methods temporarily

* Don't auto-scan interceptor beans

* One more test fix

* rsolve merge conflicts

* Address review comments
2019-01-23 21:17:47 -05:00
Ken Stevens
0eb70b81fe Oops. This was supposed to be automatically backed out. But SQUASH MERGE prevented that from happening. Hmmmmm...... 2019-01-23 18:13:29 -05:00
Ken Stevens
cdd75bbe3a Merge branch 'master' into windows-fixes
# Conflicts:
#	hapi-fhir-jpaserver-subscription/src/main/java/ca/uhn/fhir/jpa/subscription/module/subscriber/SubscriptionDeliveringRestHookSubscriber.java
2019-01-23 17:16:08 -05:00
Ken Stevens
5a08593abd
_id support ()
* added support for _id in in-memory matcher
2019-01-23 14:37:34 -05:00
Ken Stevens
707bf07099 optimistic the windows tests will now finally pass! 2019-01-23 11:57:59 -05:00
Ken Stevens
2c7eb39b29 final batch of windows fixes (to deal with jumpy windows clock)
also added semaphore to PointcutLatch
2019-01-22 18:53:54 -05:00
Ken Stevens
6b22977d7c fixing more tests for Windows 2019-01-21 22:28:48 -05:00
Ken Stevens
c92cbdd3e2 Merge remote-tracking branch 'remotes/origin/submit-retry-extension' into windows-fixes 2019-01-21 20:35:04 -05:00
Ken Stevens
00320da9dc Merge branch 'master' into windows-fixes 2019-01-21 20:34:01 -05:00
Ken Stevens
a6d1cc56c7 added maxRetriex extension to canonical subscription 2019-01-21 16:58:14 -05:00
James Agnew
9cf64f78d0 Deprecate a bad setter on RetfulServer, fix a paging issue, and add a
disabled unit test to the subscription matcher
2019-01-21 14:46:17 -05:00
Ken Stevens
29f483d7b4 Merge branch 'master' into windows-fixes 2019-01-21 11:06:42 -05:00
Ken Stevens
b4350bbdae Working through failed tests. Consolidating sleep calls 2019-01-21 11:05:53 -05:00
jamesagnew
690af1c7ff Add interceptor example 2019-01-20 19:43:08 -05:00
Ken Stevens
10aa6c9f07 Merge branch 'master' into windows-fixes
# Conflicts:
#	hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/interceptor/api/Pointcut.java
#	hapi-fhir-jpaserver-subscription/src/main/java/ca/uhn/fhir/jpa/subscription/module/cache/SubscriptionRegistry.java
2019-01-20 17:04:16 -05:00
James Agnew
c3c7d156e9 Interceptor cleanup 2019-01-20 10:16:18 -05:00
Ken Stevens
b3bdbea19c Merge branch 'master' into windows-fixes
quickly update tests to new interceptor
2019-01-20 09:39:34 -05:00
Ken Stevens
f7e05f6e58 Merge branch 'master' into windows-fixes
quickly update tests to new interceptor
2019-01-20 09:39:14 -05:00
jamesagnew
cd1e0e881c Add headers 2019-01-19 18:31:17 -05:00
jamesagnew
b0cbd52ae9 Interceptor cleanup 2019-01-19 18:01:00 -05:00
James Agnew
29c3cee287
Merge pull request from jamesagnew/ja-subscription-interceptors
Ja subscription interceptors
2019-01-19 07:13:14 -06:00
James Agnew
3e84173180 Merge branch 'master' into ja-subscription-interceptors 2019-01-18 17:52:23 -05:00
Ken Stevens
3d07fc1c22
fixed null subscription id ()
* fixed null subscription id
2019-01-18 10:39:35 -05:00
James Agnew
5ce9d444e9 Work on interceptors 2019-01-18 09:04:45 -05:00
jamesagnew
5fd084d7cf Fix a couple of merge conflicts 2019-01-18 05:47:37 -05:00
Volker Schmidt
432ad8e5bc Subscription without Payload did not contain header. 2019-01-18 05:41:47 -05:00
Ken Stevens
7ffbe9505b Prototype.
Not working yet.
2019-01-16 23:35:14 -05:00
Ken Stevens
19afcb7e09 all tests pass 2019-01-15 18:22:08 -05:00
Ken Stevens
4f5640e541
Resilient searchparamregistry ()
SearchParamRegistry and SubscriptionRegistry now both poll retrying connection to the server. This will help in particular in the scenario where the subscriptions are managed in a standalone server that depends on a FHIR Server being available to pull search parameters and subscriptions from.
2019-01-14 11:39:28 -05:00
James Agnew
93bf2788ec Add subscription narrowing interceptor and refactor RuleBuilder to be a
bit cleaner
2019-01-12 14:23:26 -06:00
Ken Stevens
0b6c4fb450 improved test name 2019-01-09 13:39:32 -05:00
Ken Stevens
5671ca88ca Simplified access to extension 2019-01-09 13:39:32 -05:00
Ken Stevens
3142ebb892 Fixed typo in class name
Added channel extensions to CanonicalSubscription
2019-01-09 13:39:32 -05:00
Ken Stevens
d809569a2d Added new DaoConfig parameter to control whether subscription matching happens on this server. 2019-01-09 13:39:32 -05:00
jamesagnew
a8a97ae6b2 Two test fixes 2019-01-07 09:18:11 -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
James Agnew
f39cf58a4a Test fix 2019-01-04 11:29:14 -05:00
James Agnew
a1275874f8 Correct subscription delivery metadata 2019-01-04 10:56:21 -05:00
James Agnew
14a132a937 Squashed commit of the following:
commit 96596558304d312d7d4c0d85ef82389ac10b12db
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Dec 27 17:54:25 2018 -0500

    Finish sync

commit 70da25b76f1236cce4d59d420259695dd5b135d4
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Dec 27 10:32:51 2018 -0500

    Work on RI4 sync
2018-12-27 17:58:47 -05:00