mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-03-09 14:33:32 +00:00
* 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