🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
Go to file
Ken Stevens fedc59a8d6 Subscription module startup changes (#1154)
* Reorganizing packages and dependencies to support standalone subscription running within a CDR container where all hapi modules are on the classpath.

* EXPERIMENTAL: Moved Subscription registry out of interceptor and introduced ISubscriptionLoader that will be either a Database or FhirClient loader.

5 tests fail.  Looks like we're getting too many matches--likely because there is now just one list of subscriptions instead of one list per interceptor.

* Created ActiveSubscription and moved cache bits into it

* Compiles.  Next step is get app context to load.

* Application context loads.  Now fix NullPointer.

* All subscription tests pass

* FIXME cleanup

* jpa-subscription tests

* fixed config so other module tests work

* MAJOR MILESTONE: All hapi-fhir tests pass.

updated READMEs in example projects

* Moved ExecutorQueue stuff out into its own class

* Organize Imports

* FIXME cleanup

* Null check -> Optional

* Add test and supporting code to validate SubscriptionConstants.EXT_SUBSCRIPTION_RESTHOOK_DELIVER_LATEST_VERSION behaviour

* Added SubscriptionCheckingSubscriber test that works without a database

* Moved a few beans to @ComponentScan

* Replaced use of beanFactory with concrete factory classes

* Switched test to use subscribablechannel

* Added SubscriptionLoaderFhirClientTest

* Undid changes that caused SearchParamProviderFhirClientTest to revert to the Database version.  It's now calling the FhirClient version again.  (oops)

* Confirm that our SubscriptionProviderFhirClient works with a live fhir client

* Organize imports

* Organize imports

* Register interceptors with DaoConfig instead of RestServer.
Also, Rename @VisibleForTesting methods with ForUnitTest

* Ready to go

* organize imports

* add processing queue

* Fixed interface implementation names

* Fix triggering service so it uses new subscriptionmatcherinterceptor

* fixed example

* Renamed "Database" classes to "Dao"

* Tightened up StoppableSubscriber API

* final code review

* processing -> matching naming change

* fix required by CDR

* oops

* Updated changes.xml

* Renamed subscriptioncheckingsubscriber to subscriptionmatchingsubscriber

* Renamed subscriptioncheckingsubscriber to subscriptionmatchingsubscriber

* CDR integration now works

* Changing subscribable channel abstraction layer in preparation for supporting more types of subscribable channels

* Add interface over both types of messages put on queues

* cosmetic change

* added subscription support for r4

* fixed again

* oops

* self code-review
2018-12-23 13:52:26 -05:00
.github/ISSUE_TEMPLATE Update issue templates 2018-07-18 16:29:04 -04:00
example-projects Subscription module support (#1147) 2018-12-18 13:09:06 -05:00
examples Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-deployable-pom Version bump a few dependencies 2018-12-22 20:13:03 -05:00
hapi-fhir-android Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-fhir-android-realm Work on JPA 2017-02-02 06:23:28 -05:00
hapi-fhir-base Version bump a few dependencies 2018-12-22 20:13:03 -05:00
hapi-fhir-cli Version bump a few dependencies 2018-12-22 20:13:03 -05:00
hapi-fhir-client Fix an occasional NPE in the tests 2018-11-19 09:56:40 -05:00
hapi-fhir-client-okhttp One more build fix 2018-11-19 13:08:17 -05:00
hapi-fhir-converter Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-fhir-dist Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-fhir-igpacks Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-fhir-jacoco Standalone subscription (#1125) 2018-11-30 17:19:16 -05:00
hapi-fhir-jaxrsserver-base Correctly handle response streams in JAX-RS client 2018-11-19 12:57:48 -05:00
hapi-fhir-jaxrsserver-example Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-fhir-jpaserver-base Subscription module startup changes (#1154) 2018-12-23 13:52:26 -05:00
hapi-fhir-jpaserver-elasticsearch Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-fhir-jpaserver-example Subscription module support (#1147) 2018-12-18 13:09:06 -05:00
hapi-fhir-jpaserver-migrate Version bump a few dependencies 2018-12-22 20:13:03 -05:00
hapi-fhir-jpaserver-model Subscription module support (#1147) 2018-12-18 13:09:06 -05:00
hapi-fhir-jpaserver-searchparam Add missing dependency to search param project 2018-12-21 07:06:32 -05:00
hapi-fhir-jpaserver-subscription Subscription module startup changes (#1154) 2018-12-23 13:52:26 -05:00
hapi-fhir-jpaserver-uhnfhirtest Subscription module support (#1147) 2018-12-18 13:09:06 -05:00
hapi-fhir-narrativegenerator Make JPA searches more efficient by prefetching a much smaller number of 2018-10-01 21:36:10 -04:00
hapi-fhir-oauth2 remove .settings .project .classpath file of eclipse 2017-01-28 17:13:47 +01:00
hapi-fhir-osgi-core Replace phloc with ph for #775 (#930) 2018-05-14 17:38:40 -04:00
hapi-fhir-server head operation should return 200OK response code instead of 400 2018-12-21 05:40:35 -05:00
hapi-fhir-spring-boot Fix #1142 - Upgrade Spring Boot to latest version 2018-12-23 13:10:03 -05:00
hapi-fhir-structures-dstu Remove dynamic mode 2018-08-19 17:35:08 -04:00
hapi-fhir-structures-dstu2 Fix #1142 - Upgrade Spring Boot to latest version 2018-12-23 13:10:03 -05:00
hapi-fhir-structures-dstu2.1 Version bump a few dependencies 2018-12-22 20:13:03 -05:00
hapi-fhir-structures-dstu3 Version bump a few dependencies 2018-12-22 20:13:03 -05:00
hapi-fhir-structures-hl7org-dstu2 Version bump a few dependencies 2018-12-22 20:13:03 -05:00
hapi-fhir-structures-r4 Version bump a few dependencies 2018-12-22 20:13:03 -05:00
hapi-fhir-testpage-interceptor remove .settings .project .classpath file of eclipse 2017-01-28 17:13:47 +01:00
hapi-fhir-testpage-overlay Two more thymeleaf fixes 2018-12-23 13:49:50 -05:00
hapi-fhir-tutorial Standalone subscription (#1125) 2018-11-30 17:19:16 -05:00
hapi-fhir-utilities Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-fhir-validation Version bump a few dependencies 2018-12-22 20:13:03 -05:00
hapi-fhir-validation-resources-dstu2 Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-fhir-validation-resources-dstu2.1 Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-fhir-validation-resources-dstu3 Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-fhir-validation-resources-r4 Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
hapi-tinder-plugin Subscription module support (#1147) 2018-12-18 13:09:06 -05:00
hapi-tinder-test Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
osgi Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
restful-server-example Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
restful-server-example-test Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
src Subscription module startup changes (#1154) 2018-12-23 13:52:26 -05:00
tests Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
vagrant Fix #242 - Allow compartment and read method to coexist for server 2015-10-21 11:58:19 -04:00
.editorconfig More work on perf 2017-04-06 22:23:20 -04:00
.gitignore Add Spring Boot Starter 2017-09-30 11:20:00 -04:00
.travis.yml Revert to JDK9 to build on travis temporarily 2018-12-21 09:26:19 -05:00
HELPWANTED.md Work on custom params 2017-02-02 20:37:58 -05:00
LICENSE.txt Add license and notice files 2015-03-25 22:32:32 -04:00
LOINC_NOTES.txt More work on loinc 2018-03-19 08:51:02 -04:00
NOTICE.txt Add license and notice files 2015-03-25 22:32:32 -04:00
README.md Improve readme 2018-07-19 09:08:52 -04:00
appveyor.yml Fewer tests on CI 2018-05-31 17:07:17 -04:00
check_for_maven_updates.sh Fix up examples 2014-09-03 18:03:44 -04:00
list_releases.sh Implement handleException on the server interceptor framework, as well 2014-11-07 14:26:59 -05:00
pom.xml Fix #1142 - Upgrade Spring Boot to latest version 2018-12-23 13:10:03 -05:00
sync.sh Update resource defs 2015-12-01 18:35:24 -05:00
sync_dstu3.sh Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-01 14:31:25 -04:00
sync_ri.sh Bump to 1.0.2 FHIR definitions 2015-11-15 12:22:56 -05:00
sync_ri3.fish Bring DSTU3 structs up to FHIR R3 2017-04-18 07:48:38 -04:00
sync_ri3.sh Syn RI - Build still failing :( 2016-05-28 12:53:59 -04:00
sync_ri4.sh Squashed commit of the following: 2018-09-29 13:48:35 -04:00
sync_ri21.sh Update model and definitions to latest definitions 2016-01-30 11:08:16 -05:00
update_version.sh Force another travis build 2015-08-05 10:38:38 -04:00

README.md

HAPI FHIR

HAPI FHIR - Java API for HL7 FHIR Clients and Servers

Coverage Status Maven Central License

  • Linux Build: Build Status
  • Windows Build:

Complete project documentation is available here: http://jamesagnew.github.io/hapi-fhir/

A demonstration of this project is available here: http://hapi.fhir.org/

This project is Open Source, licensed under the Apache Software License 2.0.

Please see this wiki page for information on where to get help with HAPI FHIR. Please see Smile CDR for information on commercial support.