mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-28 00:59:14 +00:00
* some fixmes to start * Added some FIXMEs * added RequestPartitionId to reosurceDelivryMessage and ResourceModifiedMessage * ResourceDeliveryMessage and ResourceModifiedMessage tests * fixed issue with test missing partitionHelperSvc mocked bean * Added tests and implemented SubscriptionMatchingSubscriber for partition aware subscription * modified implementation of partitionId in CanonicalSubscription * Moved PartitionablePartitionId, and refactored all calls to getUserData(Constants.RESOURCE_PARTITION_ID) and setUserData(Constants.RESOURCE_PARTITION_ID) * Revert "Moved PartitionablePartitionId, and refactored all calls to getUserData(Constants.RESOURCE_PARTITION_ID) and setUserData(Constants.RESOURCE_PARTITION_ID)" This reverts commit fe40fb97334e8cddb22037ff116f4a47f6024ddf. * Got added partitionId to subscriptions, added changes to make SubscriptionMatchingSubscriberTest work * added SubscriptionTriggering test, also added partition support to subscriptionLoader * Changed implementation for storing partition id of subscriptions from messages, refactored tests to new implementation * added all subscription systemRequestDetails with all partition to subscription reader * refactored a generic system request details with default all partition request * Added test for dao subscriptions, fixes to get the test working * added partition support for latest version delivery * added doc changes and changelog for multitenancy subscription * cleanup and added partitioned subscription manually trigger test * fixed mocked subscriptionDao * added package-info for subscription module * some code review changes * removed AllPartitionSystemRequestDetail, added new text for multitenant subscription * renamed method for code review * version bump to 5.7.0PRE7 Co-authored-by: Michael Buckley <michael.buckley@smilecdr.com> Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: Long Ma <long@smilecdr.com> Co-authored-by: Steven Li <steven@smilecdr.com>
Running hapi-fhir-jpaserver-example in Tomcat from IntelliJ Install Tomcat. Make sure you have Tomcat set up in IntelliJ. File->Settings->Build, Execution, Deployment->Application Servers Click + Select "Tomcat Server" Enter the path to your tomcat deployment for both Tomcat Home (IntelliJ will fill in base directory for you) Add a Run Configuration for running hapi-fhir-jpaserver-example under Tomcat Run->Edit Configurations Click the green + Select Tomcat Server, Local Change the name to whatever you wish Uncheck the "After launch" checkbox On the "Deployment" tab, click the green + Select "Artifact" Select "hapi-fhir-jpaserver-example:war" In "Application context" type /hapi Run the configuration You should now have an "Application Servers" in the list of windows at the bottom. Click it. Select your server, and click the green triangle (or the bug if you want to debug) Wait for the console output to stop Point your browser (or fiddler, or what have you) to http://localhost:8080/hapi/base/Patient You should get an empty bundle back.