Commit Graph

4422 Commits

Author SHA1 Message Date
Ken Stevens 68171ba950 don't call SUBSCRIPTION_BEFORE_PERSISTED_RESOURCE_CHECKED and SUBSCRIPTION_AFTER_PERSISTED_RESOURCE_CHECKED for DELETE operations (since we don't currently match subscriptions for DELETE operations) 2019-02-12 14:25:36 -05:00
James Agnew c2de9c5434
Merge pull request #1179 from tadgh/allow-3-to-2-specimen
Allow specimen to be converted from STU3 -> STU2
2019-02-11 10:49:17 -05:00
James Agnew b3fd1b91cf Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-02-11 09:05:24 -05:00
James Agnew 96ad875d3a Credit for #1204 2019-02-11 09:04:57 -05:00
James Agnew 6af36eb063
Merge pull request #1204 from volsch/fixes/example_server_subscriptions
Subscriptions are not enabled in JPA Server Example 3.7.0.
2019-02-10 10:22:07 -05:00
Volker Schmidt ff0e2b648f Added enabled subscription types to JPA Example Server. 2019-02-10 15:01:05 +01:00
Ken Stevens f34926bb18
fixed a bug matching long ids in searchparams (#1203)
* fixed a bug matching long ids in searchparams
2019-02-09 13:45:51 -05:00
James Agnew a5e10740c0
Merge pull request #1194 from jamesagnew/ja_more_subscription_logger
More subscription logger work
2019-02-09 11:45:25 -05:00
James Agnew b5acd71e32
Merge pull request #1202 from jamesagnew/in-memory-searchparam-bugfix
In memory searchparam bugfix
2019-02-08 17:29:53 -05:00
James Agnew 4699c51997 Address review comments 2019-02-08 17:26:34 -05:00
James Agnew 7adb14c754 Make App logging customizable 2019-02-08 17:14:22 -05:00
Ken Stevens f40614a1aa fixed bug in in-memory matching for reference id when searchparam has two components 2019-02-08 16:37:08 -05:00
Ken Stevens 52c62884fb Merge branch 'master' into reuse-subscription-channels 2019-02-08 10:39:00 -05:00
James Agnew 37fc432fed Credit for https://github.com/hapifhir/hapi-fhir-jpaserver-starter/pull/3/ 2019-02-07 20:20:32 -05:00
James Agnew ce840ecb6e Fix broken test 2019-02-07 17:48:08 -05:00
James Agnew 00636276d3 Add missing version constant 2019-02-07 17:02:42 -05:00
jamesagnew c01b9ef5ab Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-02-07 16:47:27 -05:00
jamesagnew dc35e500a7 Add additional files to distribution 2019-02-07 16:47:14 -05:00
James Agnew 810f1ad969 Improvements to elements parameter as well as adding attributes to
RequestDetails
2019-02-07 16:45:59 -05:00
Ken Stevens b3e80f8da7 Merge branch 'master' into reuse-subscription-channels 2019-02-07 10:10:10 -05:00
Ken Stevens 4592184c34 fixed typo in logs 2019-02-07 10:06:41 -05:00
James Agnew 0f8c8d18e2 Bump version to 3.8.0-SNAPSHOT 2019-02-06 20:02:28 -05:00
jamesagnew 207015c3af Version bump to 3.7.0 2019-02-05 21:36:38 -05:00
James Agnew c6dfbacd7a Credit for #1148 2019-02-05 20:31:28 -05:00
James Agnew 73dda18f59
Eevaturkka master (#1196)
* Added unit tests - Case when hasAnswer is false doesn't work with
InstanceValidator yet.

* Fixed test cases to make EnableWhen disable questions

* Fixed unit test asserts

* Unit tests up to date and maybe we need to use r4 path

* First implementation of enableWhen evaluator

* Missing file

* fix enablewhen result

* Added operator evaluation for R4 enableWhen

* Fixed bug in finding QuestionnaireResponse child items

* Remove unnecessary throw

* Added default enablewhen behaviour to STU3 resources converted to R4

* Removed unused HapiWorkerContext

* Cherry picked changes from master to 3.5.0 branch

* Unit tests up to date and maybe we need to use r4 path

* Added operator evaluation for R4 enableWhen

* Removed unused HapiWorkerContext

* Added default operator type EQUALS

* Added check for answering questions which are not enabled

* Way to inject custom enablewhen evaluator added

* Changed versions to use fi.kela.kanta.phr parent

* Copying modifierExtensions from QuestionnaireItems added

* Thread questionnaireResponse root element through questionnaire validation so implementations of enablewhen may validate against the complete resource

* Added missing propagation of QuestionnaireResponse root element

* Avoid infinite loop when validating misaligned questionnaireresponseitems

* Added support for Quantity in the default enable when evaluator

* Added more information to the error message about misplaced QuestionnaireResponseItem

* Temporarily set isNoTerminologyServer() return true to avoid errors about loinc codes

* Returned to original state as the experiment failed

* temporarily set hard coded error when no profile found

* Support required questionnaireitem groups

* bumped version n. for release

* Filter Extensions from enablewhen evaluation

* Don't evaluate Extensions when determining type of answer

* Do not force enableWhen to have system

* Corrected project dependency version numberts

* Corrected problems caused by merge

* Make this configurable

* Deleted unnecessary Inteface class

* Corrected group ids back to ca.uhn.hapi.fhir
2019-02-05 16:31:35 -05:00
James Agnew e3dd296db7 Fix flaky test hopefully? 2019-02-05 15:36:21 -05:00
James Agnew 9a8e3245b8 Build fixes 2019-02-05 15:00:36 -05:00
James Agnew 47123196a0 Merge branch 'master' of https://github.com/eevaturkka/hapi-fhir into eevaturkka-master 2019-02-05 14:26:41 -05:00
James Agnew 4498335ae5 Elements query cleanup 2019-02-05 14:16:47 -05:00
jamesagnew c7d857df98 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-02-04 16:34:55 -05:00
jamesagnew d4af1ee2a3 Add tests and license headers 2019-02-04 16:34:39 -05:00
James Agnew edb79b8c6a Updates to parser dont encode elements functionality 2019-02-04 16:34:05 -05:00
James Agnew 88eb2c424e formatting 2019-02-04 13:50:47 -05:00
James Agnew 87a6c24bde More subscription logger work 2019-02-04 13:49:10 -05:00
James Agnew e401ec86e4
Enhanced elements (#1192)
Squashed merge: Add elements exclude mode

* Start working on elements enhancement

* Work on elements projection

* Work on elements filter

* Feature is now working

* Just some cleanup

* Address compile issues
2019-02-03 16:41:33 -05:00
James Agnew 447c394cac
Ja subscription debug logger (#1190)
Squashed commit adding subscription debug logger

* Work on subscription debug logger

* Add subscription logging interceptor

* Remove unneeded variables

* A bit of cleanup

* Tweak the output logs a bit

* Address review comments
2019-02-03 16:33:54 -05:00
James Agnew b928af7bc0
Merge pull request #1191 from jamesagnew/standalone-subscription-delete-fail
Standalone subscription delete fail
2019-02-03 16:32:57 -05:00
Ken Stevens 4a49a9362e just clearing the cache doesn't shut down the channel consumers. Switching to unregisterAll 2019-02-02 19:26:20 -05:00
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 3662d080d0 Merge branch 'master' into windows-fixes-2
# Conflicts:
#	hapi-fhir-cli/hapi-fhir-cli-api/src/main/java/ca/uhn/fhir/cli/BaseApp.java
2019-02-02 13:16:23 -05:00
Ken Stevens 6616fbc9bb added CannonicalSubscription.toString() 2019-02-02 13:15:07 -05:00
jamesagnew 86a12bcf2a Credit for #1114 2019-02-02 11:33:08 -05:00
James Agnew b7ba529353
Merge pull request #1114 from zilin375/hapiFhir001
Fix NPE
2019-02-02 11:31:43 -05:00
jamesagnew ea84f2c377 Version bump hibernate search 2019-02-02 11:26:19 -05:00
Ken Stevens f40148fba5 Merge branch 'master' into windows-fixes-2
# Conflicts:
#	hapi-fhir-jpaserver-subscription/src/main/java/ca/uhn/fhir/jpa/subscription/module/ResourceModifiedMessage.java
#	hapi-fhir-jpaserver-subscription/src/test/java/ca/uhn/fhir/jpa/subscription/module/FhirObjectPrinter.java
#	hapi-fhir-jpaserver-subscription/src/test/java/ca/uhn/fhir/jpa/subscription/module/PointcutLatch.java
#	pom.xml
2019-02-01 16:40:49 -05:00
Ken Stevens 9280cde491
Subscription only registers active (#1189)
* 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
James Agnew 3af878201d
Merge pull request #1187 from bdenton/r4-json-like-tests
Add JSON-like tests for DSTU3 and R4
2019-01-31 16:47:26 -05:00