Commit Graph

2335 Commits

Author SHA1 Message Date
James Agnew a8c76450e5 Re-enable contains searches on the public HAPI FHIR server and improve
message formatting in HapiLocalizer
2019-03-14 13:19:26 -04:00
jamesagnew a1046f7729 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-03-12 17:46:03 -04:00
jamesagnew 7b1950aeed License headers 2019-03-12 17:45:51 -04:00
James Agnew ed4da7c414 Add setting to disable resource type target validation in JPA 2019-03-12 17:45:19 -04:00
James Agnew 6597a928d5 Fix broken test 2019-03-12 15:45:53 -04:00
James Agnew 00a8f8c759 Fix broken build 2019-03-12 13:13:13 -04:00
James Agnew f934f76c96
Several JPA search fixes (#1231)
* Search fixes

* Add some tests

* CHangelog

* Some cleanup of the query tracker

* FIx XML issue in changelog

* Test fixes

* SOme test fixes

* Address review comments

* Fix test breakage
2019-03-11 15:49:34 -04:00
Ken Stevens dcfacfea49
Has param no in (#1232) 2019-03-10 20:50:24 -04:00
James Agnew 5dccf93506 Fix broken test 2019-03-06 17:15:30 -05:00
James Agnew f8b8f2d1b0 Move process-message to the correct level 2019-03-06 16:12:43 -05:00
Ken Stevens a2d4c93922 Subscription matcher transactions (#1229)
* fix bug in ResourceIndexSearchParamQuantity
Move transaction boundary around SubscriptionMatcherInterceptor so it can be overridden in subclass
Lots of CRLF changes from a mvn -P DIST

* FIXME
2019-03-06 16:12:04 -05:00
James Agnew fd401165a9 Fix an occassional failure in the stress test 2019-03-06 09:32:37 -05:00
James Agnew 9bc0f6784d
Search paging timeout with 1500 < n < 2000 results (#1221)
* Avoid paging links when offset is artificially set very high

* Ongoing fixes

* Adding logging and clean up transaction processing

* Add changelog

* More work on queries

* Keep working on getting tests passing

* More test fixes

* More work on tests

* More test works

* One more test attempt

* Ongoing fixes

* One more change

* FIxes to search algorithm

* Add changelog

* Clean up for review

* Fixed NPE in token matcher when system is not null and value is null

* test opposite (null system not null value)

* added null protection to all matchers

* Address review comments

* Address broken test

* Trying to resolve DB ordering issues
2019-03-06 05:45:05 -05:00
James Agnew 7896887f67 Updates to transaction processing 2019-02-28 12:23:48 -05:00
James Agnew 48c10bddc5
Narrative Generator refactoring (#1219)
* Starting work on this

* Working on narrative templates

* Work on new narrative system

* Account for some failing tests due to refactoring of narrative mode

* Another test fix

* More test fixes

* One more test fix

* Work on searches

* Address review comments
2019-02-27 14:59:57 -05:00
James Agnew 94f9ffa977 Avoid paging links when offset is artificially set very high 2019-02-25 20:44:22 -05:00
James Agnew fb06664f70 Clean up paging query 2019-02-25 19:05:19 -05:00
James Agnew 820a3d2296 Collapse conditional UPDATES as well in JPA transactions 2019-02-22 13:49:38 -05:00
James Agnew 43c07077be Automatically remove duplicate conditional creates in JPA 2019-02-22 12:57:07 -05:00
James Agnew 89b08cd627
Improve SQL IN(..) queries (#1214)
* First attempt, probably has compile issues

* Fix qualified searches

* Another test fix

* More test fixes

* Add changelog

* Two more fixes

* Revert SQL logging
2019-02-20 16:38:51 -05:00
James Agnew 28b4b812ac Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-02-20 15:07:08 -05:00
James Agnew e7b7ba1a6d Add caching test 2019-02-20 11:18:02 -05:00
Ken Stevens 01568ab0b5 Fix test race condition. 2019-02-19 21:14:11 -05:00
Ken Stevens 3af0bc7206 changes needed to support different number of consumers in matching vs delivery 2019-02-17 15:23:01 -05:00
James Agnew c6fcb4fcbf Allow canonical subscription to hold multiple extensions with the same
URL
2019-02-16 15:28:39 -05:00
jamesagnew 1311ded7de Fix compile issue 2019-02-15 14:55:25 -05:00
James Agnew c0970ed46d Fix typo in test 2019-02-15 14:30:38 -05:00
James Agnew a35f30b18e
Merge pull request #1208 from jamesagnew/reuse-subscription-channels
Reuse subscription channels
2019-02-15 13:42:54 -05:00
James Agnew 485335e975 Allow terminology service to work without having Lucene enabled for
simple ValueSet expansions
2019-02-14 20:47:28 -05:00
Ken Stevens ffc5966aa3 Merge branch 'master' into reuse-subscription-channels
# Conflicts:
#	src/changes/changes.xml
2019-02-14 19:42:00 -05:00
James Agnew 10c348d44f Tweak to elements parametr support 2019-02-14 19:30:10 -05:00
Ken Stevens 508e15956e added a couple of subscription tests and un@Ignored another 2019-02-14 15:30:25 -05:00
Ken Stevens 7b3fedc642 sonar 2019-02-13 20:41:11 -05: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
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 ce840ecb6e Fix broken test 2019-02-07 17:48:08 -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 e3dd296db7 Fix flaky test hopefully? 2019-02-05 15:36:21 -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
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
jamesagnew 5f29e4fbf3 Fix #1174 - Prevent serialization exception 2019-01-30 05:49:45 -05:00
jamesagnew 5d540d9208 Query optimization in JPA 2019-01-27 20:03:48 -05:00
Ken Stevens 10c59fceeb
Subscription strategy tag (#1178)
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 (#1175)
* 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 67eaeb8af1 Merge remote-tracking branch 'origin/windows-fixes' into windows-fixes 2019-01-23 17:14:51 -05:00
James Agnew e819b83a94 Make busywait more clear 2019-01-23 16:21:13 -05:00
Ken Stevens cfd67d88c7 Merge remote-tracking branch 'origin/windows-fixes' into windows-fixes 2019-01-23 16:17:48 -05:00
Ken Stevens 5c7907dfea magic number 2019-01-23 16:17:41 -05:00
James Agnew 7d1d5a102c Attempt to fix a weird lucene indexing issue 2019-01-23 16:14:53 -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 00320da9dc Merge branch 'master' into windows-fixes 2019-01-21 20:34:01 -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
James Agnew 17f03ac843 Allow null return type for interceptors 2019-01-20 19:44:18 -05:00
James Agnew c3c7d156e9 Interceptor cleanup 2019-01-20 10:16:18 -05:00
jamesagnew b878925884 Try to avoid intermittent test failure 2019-01-19 18:44:09 -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 #1172 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 (#1170)
* 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 66dc7f82d5 organize imports 2019-01-15 20:55:00 -05:00
Ken Stevens 19afcb7e09 all tests pass 2019-01-15 18:22:08 -05:00
jamesagnew a584e15251 Add headers 2019-01-14 14:58:27 -05:00
Ken Stevens 4f5640e541
Resilient searchparamregistry (#1165)
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 4b48eebe8b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-01-13 12:27:40 -06:00
James Agnew 63b8a70e8a Allow storing ConceptMap with StructureDefinition as a source or target 2019-01-13 12:24:51 -06:00
James Agnew 068117138e
Merge branch 'master' into subscription-bugfix 2019-01-11 09:05:37 -06:00
Ken Stevens 860a8fb7a6 Emergency fix.
Normally I'd write a test for this, but this startup behaviour is changing in my next PR.
2019-01-11 09:49:40 -05:00
James Agnew aee7b2b882 Make sure that sub-request transaction searches and reads preserve HTTP
headers
2019-01-10 07:26:04 -07:00
James Agnew d091665ab6 Test fix 2019-01-09 14:40:43 -05:00
James Agnew f241457bc1 Merge branch 'master' into test-openjdk-11 2019-01-09 13:42:50 -05:00
Ken Stevens 66dd6dc96c updated documentation 2019-01-09 13:39:32 -05:00
Ken Stevens cdf1cd9144 undoing inadvertent comment changes 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
James Agnew 8beccab9ab Merge branch 'master' into test-openjdk-11 2019-01-09 10:48:57 -05:00
James Agnew 62ae71c1c6 Allow authorizing delete operations via a transaction in
AuthorizationInterceptor
2019-01-07 15:43:36 -05:00
jamesagnew a8a97ae6b2 Two test fixes 2019-01-07 09:18:11 -05:00
James Agnew c104923855 Add an additional test for transaction processing 2019-01-07 09:17:19 -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 ba76492865 Another test fix 2019-01-04 14:04:26 -05:00
James Agnew 137d39e80f Another test fix 2019-01-04 13:53:24 -05:00
James Agnew 051074d0bc Work on tests 2019-01-04 13:05:39 -05:00
James Agnew a1275874f8 Correct subscription delivery metadata 2019-01-04 10:56:21 -05:00
James Agnew 7ba07d9f02 Avoid search failure on Oracle when performing very large includes 2019-01-04 09:11:11 -05:00
James Agnew 31b8a392b7 Better CLI error handling for unit tests 2019-01-03 12:57:18 -05:00
James Agnew 14a132a937 Squashed commit of the following:
commit 9659655830
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Dec 27 17:54:25 2018 -0500

    Finish sync

commit 70da25b76f
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
jamesagnew 28218c9bba Version bump for build JDK 2018-12-23 15:14:43 -05:00
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
James Agnew 9d3904ef3e Fix #1142 - Upgrade Spring Boot to latest version 2018-12-23 13:10:03 -05:00
James Agnew a0cb7edd08 Version bump a few dependencies 2018-12-22 20:13:03 -05:00
James Agnew 1311ef4157 Revert to JDK9 to build on travis temporarily 2018-12-21 09:26:19 -05:00
James Agnew f5f9dff391 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-12-18 14:09:20 -05:00
James Agnew bca958564f Just a javadoc change 2018-12-18 14:09:11 -05:00
jamesagnew 86b3e45a32 License header updates 2018-12-18 14:08:01 -05:00
Ken Stevens 84a34eb3c9
Subscription module support (#1147)
* Reorganizing packages and dependencies to support standalone subscription running within a CDR container where all hapi modules are on the classpath.

Moved Subscription registry out of interceptor and introduced SubscriptionLoader

* Created ActiveSubscription and moved cache bits into it

* Moved ExecutorQueue stuff out into its own class

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

* Added SubscriptionCheckingSubscriber

* Moved a few beans to @ComponentScan

* Replaced use of beanFactory with concrete factory classes

* Switched test to use subscribablechannel

* Added SubscriptionLoaderFhirClientTest

* Confirm that our SubscriptionProviderFhirClient works with a live fhir client

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

* Fix triggering service so it uses new subscriptionmatcherinterceptor

* Renamed "Database" classes to "Dao"

* processing -> matching naming change
2018-12-18 13:09:06 -05:00
James Agnew dc1f48ffed Test fix 2018-12-14 14:13:02 -05:00
James Agnew f978bc3039 Always apply new search params to any resource reindexing 2018-12-14 13:43:25 -05:00
James Agnew 11b8304cb4 Fix case sensitivity issue 2018-12-13 08:31:35 -05:00
James Agnew b442982310 Add media interceptor 2018-12-08 18:49:58 -05:00
James Agnew 5a80e70d93 Correctly reindex string indexes 2018-12-06 14:44:42 -05:00
James Agnew a5b1f684f7 Try to prevent intermittent test failure 2018-12-05 19:28:37 -05:00
James Agnew cbaa39fd63
Try to reuse index rows in JPA server (#1133)
* Try to reuse index rows in JPA server

* Address review comments

* One more test fix

* One more test
2018-12-05 19:25:59 -05:00
James Agnew d150340d53 One more test fix 2018-12-04 19:55:14 -05:00
James Agnew 29af6160d6 Fix typo 2018-12-04 18:54:26 -05:00
James Agnew 1d3bcd9e8f Fix indexing bug 2018-12-04 18:50:49 -05:00
James Agnew d9ce0ebf7c Unit test fix 2018-12-04 18:24:19 -05:00
James Agnew 8c7f249a21 Migrator enhancements and adjust reindexer to account for missing
versions
2018-12-04 17:33:29 -05:00
James Agnew c484c69664 Better error message for unqualified search parameter types 2018-12-03 13:14:10 -05:00
jamesagnew 82f40f0423 License header updates 2018-12-03 05:22:10 -05:00
Ken Stevens 6baee4dc3f
Standalone subscription (#1125) 2018-11-30 17:19:16 -05:00
James Agnew b2179b1696 Syntax fixes for the JPA migrator 2018-11-30 12:39:37 -05:00
James Agnew 364b6cc5fd One more test fix 2018-11-22 18:40:39 -05:00
James Agnew 055478e1f1 Test fixes 2018-11-22 18:22:33 -05:00
James Agnew ce3b7c82ce Avoid issues when using subscription delivery in a serializing/queuing
environment
2018-11-22 17:53:42 -05:00
James Agnew d0b194f9d7 Fix two test failures 2018-11-22 08:41:12 -05:00
James Agnew 2e030eebaa Make sure that reindexing happens correctly 2018-11-21 12:06:10 -05:00
James Agnew e8482f5c87 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-11-20 13:59:51 -05:00
James Agnew 7cbad7f4e3 A bit of cleanup around subscription wiring following in-memory matcher
landing
2018-11-20 13:59:31 -05:00
jamesagnew 4c84b8fc89 Add a bit more test logging 2018-11-20 05:33:32 -05:00
Ken Stevens 03ebcafdf5
In-memory matcher (#1116)
* Initial refactoring to move database matcher out into its own class

* MAJOR REFACTOR: Pulled indexing code out of BaseHapiFhirDao into a new class ResourceIndexedSearchParams

* Moved calculateHashes

* Replaced @Bean definitions in BaseConfig.java with @ComponentScan

Annotated bean classes with either @Service (if it's stateless) or @Component (if it's stateful).  It doesn't really matter which annotation is used, but it's helpful to see at a glance whether a bean is stateful or stateless.

* Move services out of BaseHapiFhirDao

Moved services required by ResourceIndexedSearchParams out of BaseHapiFhirDao and into new classes called LogicalReferenceHelper, IdHelperService, MatchUrlService, and DaoProvider.

Converted SearchBuilder into Prototype Bean

Mark Spring components that depend on daos and entitymanagers with @Lazy so they aren't picked up by hapi-fhir-spring-boot-autoconfigure.

* Added SubscriptionMatcherInMemory

Moved static data out of BaseHapiFhirDao into ResourceMetaParams

Moved translateMatchUrl methods out of BaseHapiFhirDao into MatchUrlService bean

Simplified SubscriptionMatcherInMemory to not depend on entity or dao

Turned all subscribers into prototype beans

* Moved searchParam method out to mySearchParamProvider

Also removed dao and contest parameters from of myMatchUrlService methods

Moved code out of SearchBuilder into SearchParameterMap.clean() so it can be used by inMemoryMatcher

Introduced a new composite subscription matcher that tries to match in memory and if it finds a parameter in the criteria it doesn't support, it falls back to the database matcher.

* Added support for references

Also fixed a small bug in SearchParameterMap that was missing the ";" after "_has" when creating a normalized query from search params.

* Finished implementing all tests from FhirResourceDaoR4SearchNoFtTest

* Make in-memory matcher configurable, disabled by default

* Validate Subscription criteria when they're submitted

Send HTTP 422 UnprocessableEntityException if the criteria fail validation.

* fixed Sonar "Blocker" issues.

*  Don't reload the resource before sending it out

Since we can always force a reload using restHookDetails.isDeliverLatestVersion

* Added tests to cover Custom Search param.

* Split ResourceIndexedSearchParam into separate state and service classes

* Cleaned up SearchBuilder.

Removed uses of myCallingDao as an injection mechanism.
Left // FIXME KHS cookie crumbs to clean up

* Reduced dependencies on BaseHapiFhirDao

Removed methods from IDao interface that were used for injection

* Updated change log
2018-11-19 16:19:52 -05:00
James Agnew 45a5db6fd8 One more fix 2018-11-19 13:31:01 -05:00
James Agnew 719339fc14 One more test fix 2018-11-19 10:27:16 -05:00
James Agnew 67dbc802be Better detection of binary content in ResponseHighlighterInterceptor 2018-11-18 14:32:54 +01:00
James Agnew fad53c6669 Fix a test 2018-11-16 13:15:14 +01:00
James Agnew 6a6451f694 Reduce number of queries on some DB operations 2018-11-16 12:41:50 +01:00
James Agnew 1de0ef405c Clean up test compile and reenable GraphQL on hapi.fhir.org 2018-11-16 11:15:44 +01:00
James Agnew 84acafe3af Streamline expunge operation 2018-11-15 11:37:16 +01:00
James Agnew 75210d614b Bump to 3.7.0-SNAPSHOT 2018-11-12 22:37:52 -05:00
James Agnew 63af04a7b4 Prepare for 3.6.0 release 2018-11-12 05:40:55 -05:00
jamesagnew 030b33a0f2 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-11-09 15:59:34 -05:00
jamesagnew 4a0c45a494 License updates 2018-11-09 15:59:23 -05:00
James Agnew c81a59bb9a Only use FHIRPath to validate searchparameterr paths in R4 2018-11-09 15:57:34 -05:00
James Agnew 7f6f06dddf Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-11-09 15:47:22 -05:00
James Agnew 5834e6aa62 Test fixes 2018-11-09 15:32:55 -05:00
jamesagnew 3942f1bb29 License header updates 2018-11-09 14:41:57 -05:00
James Agnew f61df5c3fe Use FHIRPath expression parser for custom SP validation 2018-11-09 14:41:20 -05:00
jamesagnew a3e79b5759 License updates only 2018-11-08 15:28:09 -05:00
James Agnew 3ae5f9a3b7 Build tweak 2018-11-08 14:04:21 -05:00
James Agnew cca49425ae Some work on collection processing 2018-11-08 08:56:51 -05:00
James Agnew 76cd3f6b47 Allow client assigned IDs to be purely numeric in JPA server if
configured to do so
2018-11-07 18:25:50 -05:00
James Agnew 62145e1b74 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-11-07 11:02:02 +01:00
James Agnew 4b790eddb6 Add additional authorization test 2018-11-07 11:01:29 +01:00
jamesagnew 896568c0f7 License updates 2018-11-04 16:06:53 -05:00
James Agnew bc72093555 Add reindexing support based on table instead of column 2018-11-04 20:00:27 +01:00
James Agnew b1283791ca Allow JPA server to restore resources and link to them in a single
transaction
2018-11-02 16:45:21 -04:00
jamesagnew 1b877ac03e Add licene headers 2018-11-01 09:15:51 -04:00
James Agnew 4315900ac0 Merge branch 'philips-3.6.0' 2018-11-01 09:15:27 -04:00
James Agnew 3bfdc61866 Fix a couple of test failures 2018-11-01 09:15:03 -04:00
jamesagnew 3f6960d82b Add multithreaded migrator tool 2018-11-01 05:42:51 -04:00
James Agnew c8834cd29a Merge branch 'philips-3.6.0' of github.com:jamesagnew/hapi-fhir into philips-3.6.0 2018-10-31 17:19:28 -04:00
James Agnew 041a4c4018 Fix SearchCoordinator tests 2018-10-31 12:36:27 -04:00
jamesagnew 31ef4c68e1 Merge branch 'philips-3.6.0' of github.com:jamesagnew/hapi-fhir into philips-3.6.0 2018-10-31 05:51:13 -04:00
jamesagnew 8955a9e54d Add threading to migrator 2018-10-31 05:50:50 -04:00
James Agnew 7acba90d15 Update search logic 2018-10-30 22:43:16 -04:00
Ken Stevens 3d008aee5d
Make test observation lists thread safe (#1105)
* Initial refactoring to move database matcher out into its own class

* MAJOR REFOACTOR: Pulled indexing code out of BaseHapiFhirDao into a new class ResourceIndexedSearchParams

* made observations lists thread safe to stop intermittent test failures
2018-10-29 15:56:47 -04:00
James Agnew b66e01ce65 Allow plain server @Operation methods to declare a wildcard so that any
opeeration invocations will be direected to them
2018-10-29 10:36:32 -04:00
James Agnew 794d9145e9 Move query count tests to consolidate them, and avoid an accidental
rewrite of existing indexes in some conditions
2018-10-24 17:54:58 -03:00
James Agnew f601b212ad Performance enhancements to the JPA server and better retry logic in
$trigger-subscription
2018-10-20 14:47:37 -04:00
James Agnew c8db7fe035 Add a test 2018-10-18 15:12:22 -04:00
James Agnew e00ff641b2 Increase visibility of two methods needed by the HSPC sandbox 2018-10-18 10:17:55 -04:00
James Agnew da2763d8c8 Merge branch 'master' into philips-3.6.0 2018-10-17 22:38:27 -04:00
James Agnew f571fc4f92 Rename DAO registry 2018-10-17 22:37:43 -04:00
James Agnew b78aaea415 FIx up subscription processing 2018-10-17 21:23:52 -04:00
James Agnew de76f37845 Try to fix an intermittent test failure 2018-10-17 15:49:26 -04:00
James Agnew 99cd4ce5f7 Allow for _total parameter 2018-10-17 09:47:35 -04:00
James Agnew 4b5dcce021 Add a bit of logging to subscription triggering 2018-10-17 08:32:57 -04:00
James Agnew b220154e9c Fix error in retriggeer logic 2018-10-17 07:02:51 -04:00
jamesagnew aa1f624132 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-10-17 05:53:46 -04:00
James Agnew 8130700d68 One more optimization to the subscription retriggering logic 2018-10-17 05:53:07 -04:00
jamesagnew d129d43635 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-10-16 21:51:50 -04:00
James Agnew 2c05d9c5db Test cleanup 2018-10-16 21:51:33 -04:00
jamesagnew e2dfaa517f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-10-16 20:38:21 -04:00
James Agnew 388bda1fec Avoid transaction isolation level not supported by Oracle 2018-10-16 20:31:43 -04:00
jamesagnew 47a5763fb5 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-10-16 20:25:12 -04:00
James Agnew 5d7142a972 Avoid intermittent test failures 2018-10-16 20:23:32 -04:00
jamesagnew 1c1f601332 License header updates 2018-10-16 19:56:52 -04:00
James Agnew 0fbe897ca4 Add named beans to JPA config 2018-10-16 17:24:17 -04:00
James Agnew 755060f91e Allow subscription triggering on a block of resources 2018-10-16 15:29:41 -04:00
James Agnew ba6df6d55a Handle unqualified ID in delete box for testpage overlay 2018-10-15 10:23:21 -04:00
jamesagnew 93c545c42c License header updates 2018-10-15 09:54:00 -04:00
James Agnew 483c9bff3a Auto detect whether the appropriate dialect is selected 2018-10-15 09:53:04 -04:00
James Agnew b44e96a5cd Merge branch 'philips-3.6.0' 2018-10-15 08:37:00 -04:00
James Agnew b75226914d Fix intermittent test failure 2018-10-15 08:19:23 -04:00
James Agnew 6dc2dc1d6f One more test fix 2018-10-15 07:11:10 -04:00
James Agnew 796b12e33e Fix bug in $everything processing 2018-10-15 05:44:53 -04:00
James Agnew 8b46257423 Add warm cache module 2018-10-14 09:32:07 -04:00
James Agnew 51a69f0dc9 Fixes to migrator and count logic 2018-10-13 12:02:19 -04:00
James Agnew a9fcfaf79a Add a test 2018-10-10 19:11:57 -04:00
James Agnew 0837daecc2 One more recurring failure fix 2018-10-10 13:36:50 -04:00
James Agnew e47cff2712 Fix an intermitttent test failure 2018-10-10 11:57:30 -04:00
James Agnew 8bd185acf2 Rename $retrigger-subscription to $trigger-subscription based on
Diederik's suggestion
2018-10-10 10:49:50 -04:00
James Agnew 34bb70af65 Add validator test and allow migrator to be used for 3_3_0 2018-10-08 21:04:17 -04:00
James Agnew 34e943b49b Fix bad counts when multiple parameters match 2018-10-05 13:11:09 -04:00
James Agnew 9c27e8e6dd Fix an issue with the spring boot build 2018-10-04 15:12:21 -04:00
jamesagnew 970c48ec37 A bit more test cleanup 2018-10-04 13:29:09 -04:00
James Agnew 8452f46b9b More work on intermittent test failures 2018-10-04 13:16:50 -04:00
James Agnew da3b4d4071 Try to fix an intermittent test failure 2018-10-04 13:07:52 -04:00
James Agnew 2464599a68 One more test fix 2018-10-04 09:36:10 -04:00
James Agnew b265c0281b Expand search range when searching by date 2018-10-03 21:31:01 -04:00
James Agnew 6ce9120132 Fix test failure in boot 2018-10-03 15:39:19 -04:00
James Agnew 5d5ee78873 API cleanup following JPA search performance enhancements 2018-10-03 07:43:01 -04:00
James Agnew 9d1e8aa246 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-10-01 21:36:52 -04:00
James Agnew 12b23fbf23 Make JPA searches more efficient by prefetching a much smaller number of
resources
2018-10-01 21:36:10 -04:00
jamesagnew caf7c8b2e1 Header updates 2018-10-01 17:04:50 -04:00
James Agnew d7abeb513b Remove class that is failing the build and not used 2018-09-30 13:31:06 -04:00
James Agnew 62d6771814 Use a select count query for summary count searches in JPA server 2018-09-29 21:58:14 -04:00
James Agnew 9f7e21fec6 Improve logging for expunge operation 2018-09-29 18:38:27 -04:00
James Agnew 3e445faf47 Squashed commit of the following:
commit df641506885e09e63f80efc6c658d01a1a3a8142
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sat Sep 29 13:47:22 2018 -0400

    Shrink validation resources

commit 4c1550eafa26f4235b4b8804741aecc03276b5c6
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Sep 28 22:45:28 2018 -0400

    Updates to get R4 working

commit 8332f15291006691ed9b07ead3e3524b0fc85510
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Fri Sep 28 09:02:13 2018 -0400

    Ongoing work on gettign R4 working

commit f7146cab7aed937bb625a8aec95744d76db00041
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Sep 28 05:21:01 2018 -0400

    More work on sync

commit f48de4a10b1bab2584fee813017d9b27b237bfa9
Merge: 9e4f3cc722 aacb78b779
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:11:29 2018 -0400

    Merge branch 'sync_r4' of github.com:jamesagnew/hapi-fhir into sync_r4

commit 9e4f3cc722668aae31a77b19bf9b032af3ae01b0
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:11:19 2018 -0400

    Fix compile error

commit 7ec29e0ceda8f9013cbabb95767cbe15b4b81303
Merge: 23f7517325 002c4b3ff7
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:04:23 2018 -0400

    Merge branch 'master' into sync_r4

commit aacb78b7793ab2c71e0a2a774240ee2b5d3f9e7f
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Sep 27 20:01:42 2018 -0400

    Keep working on getting R4 building

commit 4950de46d99897e74d41dfdb10d3d8a3435cb0c9
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Tue Sep 25 13:11:27 2018 -0400

    Ongoing work to get R4 working

commit 819d69c20e112dd3c72569ec50114ddb8263c300
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Sep 20 08:15:36 2018 -0400

    Work on getting build working

commit 2c61b6cd1205ced5d7b822cf10942c69272ea078
Merge: 16b5bb06c8 dfb4de86f1
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Sep 20 05:16:53 2018 -0400

    Merge branch 'master' into sync_r4

commit 16b5bb06c8cdaf8d67c3b80f5aa9be9fccd99aef
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Mon Sep 17 05:30:39 2018 -0400

    Work on R4 sync

commit 23f7517325a14dd2ca1eb5641296ead2776634ae
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun Sep 16 10:19:00 2018 -0400

    Work on sync

commit 6cc413c1f1dea538295aa4c16c21a5677494ac4c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Sep 14 17:28:28 2018 -0400

    Work on R$ sync

commit df6f6ad2ce783b07ccc383134705d874bc5d2cf1
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Fri Sep 14 08:33:07 2018 -0400

    Work on R4
2018-09-29 13:48:35 -04:00
James Agnew 002c4b3ff7 Add retrigger subscription operation 2018-09-27 20:03:01 -04:00
James Agnew 706e004b9d Bump to 3.6.0-SNAPSHOT 2018-09-19 10:24:48 -04:00
jamesagnew 3bfce11d2c Add OSGI dependency for commons-text 2018-09-17 16:06:11 -04:00
jamesagnew a5de3f2ffd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-09-17 05:31:23 -04:00
James Agnew bb7fca19a3 Work on migrator 2018-09-14 08:34:39 -04:00
jamesagnew 321e88c811 License header updates 2018-09-14 05:25:07 -04:00
James Agnew 640ee544c8 Clean up hamcrest dependency 2018-09-11 09:05:39 -04:00
James Agnew 9bf183f5b1 Fix depenedency on activation API 2018-09-11 08:53:45 -04:00
James Agnew 45dac5c5a8 A couple more test fixes 2018-09-11 08:47:00 -04:00
James Agnew a26779de81 FIx compile error 2018-09-11 08:42:46 -04:00
James Agnew 261f2c73ab Merge branch 'jpa_migration' 2018-09-11 08:09:15 -04:00
James Agnew 94eb12aca3 Add a retry to database expunge routines 2018-09-11 07:59:11 -04:00
jamesagnew 0e75c8ed39 A few test fixes 2018-09-10 08:50:12 -04:00
James Agnew 29f324f8de
Merge branch 'master' into master 2018-09-07 23:25:49 -04:00
James Agnew daef975734 Version bump to 3.5.0 2018-09-08 07:22:21 +08:00
James Agnew f5d567cd00 Work on migrator 2018-09-08 03:30:35 +08:00
James Agnew 979b1287d0 Add ability to suspend scheduled reindexer 2018-09-05 16:22:09 +08:00
James Agnew 77305eb570 Work on migrator 2018-09-04 10:32:08 +08:00
James Agnew 0f7c4219cb Merge branch 'master' into jpa_migration 2018-09-02 06:05:11 +08:00
James Agnew bc270584d2 Work on terminology expansion 2018-09-01 22:56:42 +08:00
James Agnew a4d8df3c6d Test fixes 2018-09-01 17:19:21 +08:00
James Agnew f4a21eadda Fix this issue 2018-09-01 14:38:52 +08:00
James Agnew fee0166800 Work on removing validstion cache 2018-08-28 05:26:06 -04:00
jamesagnew d0761ea604 Add a test 2018-08-27 08:58:10 -04:00
James Agnew 07cfed14b8 Work on migrator 2018-08-27 08:21:20 -04:00
James Agnew 54c07263b6 Increase code lengths 2018-08-26 12:32:35 -04:00
James Agnew b2741dab0d Fix crash in mapping 2018-08-23 16:51:35 -04:00
James Agnew 731658eef8 Remove accidental double initialization 2018-08-23 09:32:10 -04:00
James Agnew f8c03a3c37 Prefetch subscriptions on app startup 2018-08-22 12:48:03 -04:00
James Agnew bbe4de2842 Support for LOINC externally defined answerlists added 2018-08-20 09:38:44 -04:00
jamesagnew 8ee701c934 License header update 2018-08-19 20:21:45 -04:00
jamesagnew fef105cfdb More intermittent test failure fixes 2018-08-19 16:51:04 -04:00
jamesagnew 77e35f5a56 Test fixes 2018-08-19 16:12:35 -04:00
James Agnew 6511545d25 Don't re-activate already active identical subscriptions 2018-08-17 11:56:33 -04:00
James Agnew ddc4464552 Make constant public 2018-08-13 13:52:47 -04:00
James Agnew 9b61a8cdbe Make constant public 2018-08-13 13:52:08 -04:00
James Agnew bc1ee1f9dc Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-08-13 11:54:36 -04:00
James Agnew 8a19682ce3 Subscription cleanup trying to get tests passing again 2018-08-13 10:25:16 -04:00
Patrick Werner 6420e0e515
Merge pull request #1025 from jamesagnew/documentOperation
$document operation added
2018-08-13 15:39:28 +02:00
James Agnew 39ef79ff2c Subscription logic cleanup 2018-08-13 08:40:29 -04:00
patrick-werner fc03b1b1d4 switched myClient -> ourClient 2018-08-13 13:50:11 +02:00
patrick-werner b4001b7324 switched myClient -> ourClient 2018-08-13 13:29:42 +02:00
patrick-werner 956cd093ed fixed comments of merge request
added JPAConstants Operation Names
2018-08-13 13:12:34 +02:00
patrick-werner 89bdf40b55 Merge remote-tracking branch 'origin/master' into documentOperation
# Conflicts:
#	hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu3/BaseJpaDstu3Test.java
#	hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/r4/RestHookTestWithInterceptorRegisteredToDaoConfigR4Test.java
2018-08-13 13:05:09 +02:00
jamesagnew 086b95013e Add logging 2018-08-13 05:43:45 -04:00
James Agnew 5feec85662 Clean up subscription processing 2018-08-13 05:27:17 -04:00
James Agnew 5ef31a505c One more test fix 2018-08-12 21:36:26 -04:00
James Agnew f5d330dd03
Merge branch 'master' into 1053-lastupdate-shouldnt-apply-to-includes 2018-08-12 17:58:21 -04:00
jamesagnew d63cd267ab Test fixes 2018-08-12 16:52:13 -04:00
James Agnew 52cfdb7b8b Add some test logging 2018-08-12 13:43:31 -04:00
James Agnew 0a1ae541e6 Fix some test failures 2018-08-12 12:12:09 -04:00
James Agnew ea70683604 Merge branch 'subscription_cleanup' of github.com:jamesagnew/hapi-fhir into subscription_cleanup 2018-08-12 11:13:24 -04:00
James Agnew 0f6188b73c Improve error message for unknown UUIDs in transaction bundles 2018-08-12 09:58:34 -04:00
jamesagnew e0b188d574 Add test 2018-08-11 15:25:01 -04:00
jamesagnew 6d10260d8f Unit test cleanup 2018-08-11 15:12:33 -04:00
jamesagnew 8284734a07 Fix failing test with new filter logic 2018-08-11 14:01:53 -04:00
James Agnew ea1f17762e Don't apply last updated to includes 2018-08-11 12:20:07 -04:00
James Agnew acfe442cf9 Add equivalency flag to reverse lookup 2018-08-11 09:55:28 -04:00
James Agnew 98d794e30f Bug fix in subscription processing 2018-08-10 13:07:06 -04:00
Anthony Sute 416054ddff Fixes for issue #1048 2018-08-10 12:51:12 -04:00
James Agnew ece0c9defe Subscription cleanup 2018-08-10 09:07:55 -04:00
James Agnew ec4604c498 Work on splitting subscriptions out into separate channels 2018-08-06 20:58:04 -04:00
jamesagnew d59a40d01a Subscription cleanup started (won't build) 2018-08-06 19:03:30 -04:00
jamesagnew c98a1e0c62 Cleanup of subscription processing 2018-08-06 18:37:12 -04:00
jamesagnew 0556dfa7af Work on subscriptions 2018-08-03 11:56:06 -04:00
jamesagnew d07fd76d60 Dont keep resource bodies in the queue for JPA subscription delivery 2018-08-03 10:44:15 -04:00
jamesagnew cffe4c9df2 License header updates 2018-07-30 21:22:00 -04:00
James Agnew d6293cf9b3 Merge branch 'client_enhancements' 2018-07-30 09:42:38 -04:00
James Agnew 518092cbd4 More updates 2018-07-29 17:10:26 -04:00
Ana Maria Radu 3399fa04de Fixed issue 2018-07-27 17:47:27 +03:00
anamariaradu10 3a5556006b
Merge branch 'master' into master 2018-07-27 16:59:52 +03:00
Ana Maria Radu 9c39733aff Fixed issues 2018-07-27 16:48:44 +03:00
James Agnew f03d6b7c22 Allow configuration of default page size in SimpleBundleProvider 2018-07-27 18:34:12 +07:00
James Agnew 75a68a0332 Unit test fix 2018-07-26 18:58:23 +07:00
James Agnew a4e4111376 Fix a unit test 2018-07-26 18:08:59 +07:00
James Agnew 3c80238f0e Ongoing work on interceptors 2018-07-24 17:22:21 +07:00
James Agnew 23083a9283 Improvements to client and SP indexing in JPA server 2018-07-23 17:37:49 +09:00
James Agnew 8f2d3998f6
Merge branch 'master' into documentOperation 2018-07-19 17:44:46 -04:00
James Agnew b4aa4c0e89 Add protection against HTML injection attacks 2018-07-19 08:56:22 -04:00
James Agnew 24b220ef5f Fix expansions for ValueSet 2018-07-16 10:39:08 -04:00
James Agnew 4b3287c6a9 Code cleanup 2018-07-16 08:16:40 -04:00
jamesagnew 401a4cd738 Clean up concept reindexing 2018-07-15 17:18:07 -04:00
jamesagnew 116b9e335d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-07-15 15:23:11 -04:00
jamesagnew 43ac912033 Clean up terminology uploading 2018-07-15 15:22:52 -04:00
jamesagnew 84b57f04d3 Fixed tests 2018-07-14 13:51:11 -04:00
James Agnew 738abc415c Disable scheduled tasks during unit tests 2018-07-14 13:24:51 -04:00
jamesagnew 36b4ed28e4 Header updates 2018-07-14 10:16:53 -04:00
James Agnew 81e8f77232 Work on indexes 2018-07-13 09:58:54 -04:00
James Agnew e6ca408f67 Permissions for operations 2018-07-12 18:40:15 -04:00
James Agnew 03e7b018a6 Add skeleton for the $process-message operation in JPA erver 2018-07-12 17:52:24 -04:00
patrick-werner b275d20aba added R4 document operation & merge master 2018-07-11 16:21:13 +02:00
patrick-werner 68772f1e3a removed unnecessary test 2018-07-10 16:02:39 +02:00
patrick-werner df7a9322e9 Merge branch 'master' into documentOperation 2018-07-10 14:35:51 +02:00
James Agnew e992043a22 Fix ID 2018-07-06 09:43:43 -04:00
James Agnew f03b1dec8e Remove warning 2018-07-06 09:40:23 -04:00
James Agnew 60f57f2a6f Fix property handler 2018-07-06 09:36:04 -04:00
James Agnew 1533746bbe Add tests 2018-07-06 09:29:51 -04:00
James Agnew c8f0e0047f Test fixes 2018-07-05 19:17:06 -04:00
James Agnew c9d7b88cab Loinc updates 2018-07-05 18:52:19 -04:00
James Agnew 3b794a4f39 Fix a crash when reindexing deleted resources 2018-07-02 09:17:48 -04:00
jamesagnew 6d83edabb6 License header updates 2018-07-01 20:59:04 -04:00
James Agnew 328541f537 Test fix 2018-07-01 12:57:05 -04:00
James Agnew b929864873 Merge branch 'improve_jpa_indexes' 2018-07-01 12:08:03 -04:00
James Agnew 6ef34a8c5f
Merge pull request #1018 from jamesagnew/jpa_view
Jpa view
2018-07-01 11:47:17 -04:00
James Agnew 495fd9f68e Add support for patch in AuthorizationInterceptor 2018-07-01 11:46:11 -04:00
frankjtao 2c06a1437b merged master to jpa_view 2018-06-30 22:16:30 -04:00
frankjtao 0ab15a05d6 Merge branch 'jpa_view' of https://github.com/jamesagnew/hapi-fhir.git into jpa_view
Conflicts:
	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/ResourceSearchView.java
2018-06-29 22:18:22 -04:00
frankjtao ccf3c17f59 impl ResourceSearchView, reduce sql to db 2018-06-29 21:24:43 -04:00
frankjtao af4b9f1c7b impl ResourceSearchView, reduce sql to db 2018-06-29 21:24:02 -04:00
James Agnew 6afc2a7296 Improve indexing 2018-06-29 16:25:11 -04:00
James Agnew bb637c5433 Work on presence API 2018-06-29 14:32:08 -04:00
James Agnew 03fc593cb9 Fix broken test 2018-06-28 18:11:19 -04:00
James Agnew 32fefefcd8 Allw successful deletion of concept maps 2018-06-28 18:01:00 -04:00
James Agnew 7b809f059a Terminology updates 2018-06-27 18:48:36 -04:00
James Agnew 32ddfff191 Improve indexing 2018-06-27 18:33:04 -04:00
James Agnew 24beebe32f Fix valueset URI for loinc groups 2018-06-27 13:15:37 -04:00
James Agnew 79ede4c5ee Remove orphanremoval 2018-06-27 11:31:53 -04:00
James Agnew 4dca271735 Clean up concept deletion 2018-06-27 11:19:11 -04:00
James Agnew 050f9939ac Merge branch 'master' into improve_jpa_indexes 2018-06-27 10:44:18 -04:00
James Agnew 2b992cfb3b Fix compile issue 2018-06-27 10:34:06 -04:00
James Agnew 8c849b16a4
Merge pull request #1015 from jschneid-nmdp/resolve-term-upload-deferred-short-circuit
avoid potential short circuit during saveDeferred processing of uploaded (e.g. LOINC) terminology
2018-06-27 10:33:06 -04:00
James Agnew fb2976d0d2 Improve code system deletion from terminology service 2018-06-27 10:22:13 -04:00
Joel Schneider b2853b3f9d modify BaseHapiTerminologySvcImpl saveDeferred method to avoid short circuit that could potentially prevent processing of some deferred value sets and concept maps 2018-06-27 02:20:12 -05:00
James Agnew 52e3c9496e Fix slow upload 2018-06-26 21:59:01 -04:00
James Agnew 74bca0562e Merge branch 'improve_jpa_indexes' of github.com:jamesagnew/hapi-fhir into improve_jpa_indexes 2018-06-26 21:54:32 -04:00
James Agnew a63205ecff Merge branch 'master' into improve_jpa_indexes 2018-06-26 21:54:12 -04:00
James Agnew f7029b9a0f Update part code url for loinc 2018-06-26 17:17:31 -04:00
jamesagnew a77896ff2d Add callback for resource deletion 2018-06-26 07:54:21 -04:00
James Agnew f0da7a33de Fix expunge transaction boundaries 2018-06-25 10:22:49 -04:00
jamesagnew e5cb609f4d Performance improvements 2018-06-24 20:02:27 -04:00
jamesagnew 9a880361b6 Merge branch 'master' into improve_jpa_indexes 2018-06-24 15:15:31 -04:00
jamesagnew 2d57699066 Work on index improvements 2018-06-24 15:09:53 -04:00
frankjtao f38f71cf0a Merge remote-tracking branch 'origin/master' into
1008_fix_jpa_sql_loop_issue
2018-06-22 15:34:56 -04:00
James Agnew 60ed0dab48 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-06-22 11:22:36 -04:00
James Agnew e9fffd3cdc Allow indexing in custom search params to descend into contained
resources
2018-06-22 11:22:07 -04:00
James Agnew d46b9b00be Liinc updates 2018-06-22 09:59:54 -04:00
Frank Tao 103b587ab5 #1008: Fixed sql looping issue 2018-06-21 22:32:08 -04:00
James Agnew cef4596211 Loinc updates 2018-06-21 19:23:23 -04:00
James Agnew d6bfce4a1d Make all loinc files mandatory 2018-06-21 18:30:57 -04:00
James Agnew 1b40188aab FIx missing import 2018-06-21 14:48:39 -04:00
jamesagnew b3f7ab274d License header updates 2018-06-21 14:44:34 -04:00
James Agnew b9a4e1ae0f Merge branch 'improve_jpa_indexes' of github.com:jamesagnew/hapi-fhir into improve_jpa_indexes 2018-06-21 13:48:27 -04:00
James Agnew 5b6cde8a9f Merge branch 'master' into improve_jpa_indexes 2018-06-21 13:48:04 -04:00
jamesagnew ecc8e1eda0 More work on indexes 2018-06-21 13:42:34 -04:00
James Agnew cc98f65500 Merge branch 'master' into valueset_expansion_fixes 2018-06-21 10:20:24 -04:00
James Agnew 2dc445fd10 ValueSet enhancements 2018-06-21 10:19:14 -04:00
James Agnew e63604afc9
Merge pull request #1000 from rhausam/update-filenames
Updated LOINC filenames to match 2.64 and future releases.
2018-06-21 10:18:36 -04:00
patrick-werner f9a19c4b1f starting implementing check if only one Composition is returned 2018-06-20 16:12:58 +02:00
James Agnew 218937e425 Several fixes 2018-06-20 05:53:32 -04:00
frankjtao 6e7d67ba70 Update due to Spring version change 2018-06-19 20:16:27 -04:00
patrick-werner b76ad6870f Merge remote-tracking branch 'origin/master' into documentOperation 2018-06-19 16:57:54 +02:00
patrick-werner 0a8afb38ba moved the BundleProvider -> DocumentBundle code from DAO to Service Layer 2018-06-19 15:20:35 +02:00
patrick-werner 627491ad95 fixed Test if maxThreads >= 2 2018-06-19 14:50:04 +02:00
James Agnew 127efd55b0
Merge branch 'master' into 963_jpa_performance 2018-06-19 06:50:05 -04:00
frankjtao 299cf5b230 Changed retval to resource id instead of SearchResult in SearchResultDao 2018-06-16 22:37:12 -04:00
jamesagnew 24ad8870cf Add to indexes 2018-06-16 18:23:05 -04:00
James Agnew d13d53c8ef Add a bit of logging 2018-06-15 14:01:07 -04:00
Rob Hausam 215e224e3d Updated terminology upload tests and artifacts to the new LOINC filenames. 2018-06-14 20:30:32 -05:00
James Agnew 99f80eef88 Performance enhancements to JPA searching 2018-06-15 01:13:44 +08:00
Rob Hausam 75c1b7baa8 Updated LOINC filenames to match 2.64 and future releases. 2018-06-14 11:33:35 -05:00
James Agnew a46b4a4637 Reindexing shouldn't stop unexpectedly 2018-06-13 22:03:15 +08:00
patrick-werner c2b2a7eaa7 added missing CORS Headers for Test Setup 2018-06-11 11:09:23 +02:00
James Agnew cc0e836680
Auth interceptor early checks (#995)
* Validator fix

* Enhance AuthorizationInterceptor so that it tries to deny access earlier
for compartment searches that are outside the allowable compartment.

* FIx DSTU2 test that wasn't updated

* More test fixes
2018-06-10 17:48:20 -04:00
frankjtao 35991cd21b #963: renamed the parameter to 'the*' 2018-06-07 14:19:44 -04:00
Diederik Muylwyk 903df68d2a
978 cli tools for importing exporting terminology mappings need to be fixed (#988)
* Fixed export issue.

* Fixed import issue.

* Fixed tests.

* Fixed tests.
2018-06-07 10:22:41 -04:00
patrick-werner 6bcddea416 Merge branch 'master' into documentOperation 2018-06-07 09:17:58 +02:00
James Agnew 6feb23896f Hopefully fix #983 2018-06-06 15:51:23 -04:00
James Agnew e7804b881c Fix CI issue 2018-06-06 11:39:06 -04:00
jamesagnew 583437d656 Prevent a crash if the application context has been set incorrectly in
embedded deployments
2018-06-06 08:37:25 -04:00
patrick-werner 49bdff1862 current state of $document 2018-06-05 18:32:59 +02:00
patrick-werner 38b7b00f52 Merge branch 'master' into documentOperation 2018-06-04 17:34:39 +02:00
patrick-werner bd0682c2b2 Merge remote-tracking branch 'origin/master' into documentOperation 2018-06-04 13:53:02 +02:00
jamesagnew 987679483a Version bumps 2018-06-03 15:29:10 -04:00
James Agnew e36bc3889c
Merge pull request #974 from Romanow88/master
Fixes #972 Update Spring Data 1.11.6.RELEASE to 2.0.7.RELEASE
2018-06-03 15:28:05 -04:00
James Agnew 30dd3c00b9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-06-02 08:59:48 -04:00
Roman Doboni 8f1effe5e3
Merge branch 'master' into master 2018-06-02 09:37:56 +02:00
James Agnew d52c1ed090 Add a bit more logging for occasional failing test 2018-06-01 17:43:29 -04:00
jamesagnew fedf4a870a License header updates 2018-06-01 07:41:01 -04:00
James Agnew 7f87def432 Fix tests 2018-06-01 07:40:33 -04:00
James Agnew a9cb4dae2f Allow storage of messages 2018-06-01 07:07:24 -04:00
frankjtao 73f12744ae #963 Improved performance for tag loading 2018-05-31 21:30:46 -04:00
jamesagnew abcf7852b1 Tests pasing locally 2018-05-31 09:10:34 -04:00
Romanow a336f33b4b Update Spring Data 1.11.6.RELEASE to 2.0.7.RELEASE 2018-05-31 14:42:15 +02:00
James Agnew 7e0584af2f Merge branch 'java9' of github.com:jamesagnew/hapi-fhir into java9 2018-05-30 21:59:51 -04:00
James Agnew 2f07066c59 Test fixes 2018-05-30 21:59:41 -04:00
James Agnew c2afd9728d More test fixes 2018-05-30 21:57:17 -04:00
jamesagnew 432bc66208 Merge branch 'java9' of github.com:jamesagnew/hapi-fhir into java9 2018-05-30 21:24:01 -04:00
James Agnew bb5d4110a2 Test fixes 2018-05-30 21:23:20 -04:00
jamesagnew 2684e2b030 Build fixes 2018-05-30 16:17:36 -04:00
jamesagnew d127a89047 Some test fixes 2018-05-30 11:01:43 -04:00
jamesagnew 833a46d07e Work on test compilation 2018-05-30 08:27:09 -04:00
jamesagnew 5a96482860 More work o JDK9 tests 2018-05-30 08:04:01 -04:00
James Agnew a52805e504 Work on JDK9 support 2018-05-30 05:45:08 -04:00
James Agnew 7951d883d0 Merge branch 'master' into java9 2018-05-29 08:43:21 -04:00
patrick-werner 83c8718c2a Merge branch 'v3.4.4' into documentOperation 2018-05-29 10:06:30 +02:00
Frank Tao 404d37cedc Fixed #963 : load history table once instead of one by one in the loop
in the SearchBuilder class.
2018-05-28 22:45:45 -04:00
Diederik Muylwyk 0e2c57fa60 Bumping version. 2018-05-28 17:44:38 -04:00
patrick-werner 8872fc94c5 Merge remote-tracking branch 'origin/master' into documentOperation
# Conflicts:
#	hapi-tinder-plugin/src/main/resources/vm/jpa_resource_provider.vm
#	hapi-tinder-plugin/src/main/resources/vm/jpa_spring_beans.vm
#	hapi-tinder-plugin/src/main/resources/vm/jpa_spring_beans_java.vm
2018-05-28 17:05:50 +02:00
Diederik Muylwyk 2871920734 Preparing release. 2018-05-28 10:45:47 -04:00
James Agnew a7eac969d9 Site enhancements for release 2018-05-28 08:53:36 -04:00
jamesagnew 67f21426cb Disable content header on response for non-create operations 2018-05-25 07:28:01 -04:00
jamesagnew 49aaa01db8 Fix compile issues 2018-05-23 17:42:48 -04:00
James Agnew 850aa99ddb Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-05-23 16:28:35 -04:00
James Agnew ed6609e414 One more test fix 2018-05-23 16:28:13 -04:00
jamesagnew b146a80502 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-05-23 16:09:34 -04:00
jamesagnew 92dc258c6e Update license headers 2018-05-23 16:09:23 -04:00
James Agnew ba8827091a Reindexing fixes 2018-05-23 16:07:48 -04:00
James Agnew a3687e446e Correctly handle missing search params with new indexing infrastructure 2018-05-23 11:42:38 -04:00
James Agnew 0c5c347db7 FIx broken reindex process 2018-05-23 10:48:07 -04:00
James Agnew 2f2900e837 Improve indexing on JPA server in anticipation of a new indexing
strategy in HAPI FHIR 3.5.0
2018-05-23 08:09:57 -04:00
jamesagnew e8139192e0 FIx test issues 2018-05-21 13:07:11 -04:00
James Agnew c588e01a4d Handle invalid paths in Consent resource 2018-05-16 21:45:23 -04:00
jamesagnew 4d62120a18 Fix issues reported by errorprone 2018-05-15 08:44:15 -04:00
jamesagnew f9946fee61 Fixes to get the build passing once more 2018-05-15 07:34:44 -04:00
James Agnew a3ff08d9ec
Replace phloc with ph for #775 (#930)
* Replace phloc with ph

* Enable schematron tests

* Make HAPI-FHIR ph-schematron on OSGI

* Work on getting tests passing

* Another test fix

* Fix up transaction handling for DSTU2

* Add changelog

* Avoid double transaction

* Dont use readonly

* One more test fix

* Update to snapshow build

* Resolve a circular dependency

* Try to fix tests

* Solve recurring NPE in DSTU2 tests

* Fix one more test

* Test fix

* More test threading fixes

* One more attempt to get tests passing

* Refactoring for tests

* Refactoring for tests
2018-05-14 17:38:40 -04:00
jamesagnew ccb859fdbe FIxes to get the synced build working 2018-05-13 08:08:34 -04:00
jamesagnew 150f27a9ca Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-05-12 19:40:31 -04:00
jamesagnew 3d762b984b Sync to R4 definitions 2018-05-12 19:35:42 -04:00
James Agnew 9d24e8b040 Use HTTP 409 for conflict when two threds update the same resource 2018-05-11 17:41:07 -04:00
James Agnew f1ba0016b2 Improve the error message thrown by JPA server 2018-05-11 17:03:48 -04:00
James Agnew b17eebd8d2 Squashed commit of the following:
commit 2be11651c2
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 11:50:53 2018 -0400

    Update changelog

commit b3bb5f9052
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 11:19:28 2018 -0400

    Parameter updates

commit f6b1082ba4
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 07:24:30 2018 -0400

    More test fixes

commit 81a69c265f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:26:48 2018 -0400

    Fix compile error

commit 935938e92c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:25:18 2018 -0400

    Another test fix

commit 43568a1f8d
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:18:06 2018 -0400

    Fix compile error

commit e95894e643
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:13:50 2018 -0400

    More work on tests

commit 9393fb8f4f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 05:36:27 2018 -0400

    One more fix

commit 437f5051e4
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 21:32:10 2018 -0400

    Work on validator

commit 20c51add4f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 19:34:10 2018 -0400

    Validator fix

commit 7bf2b0a0e9
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 18:44:04 2018 -0400

    Fix test

commit adc73e75c9
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 17:22:34 2018 -0400

    Merge validator
2018-05-10 11:53:32 -04:00
Diederik Muylwyk d97fb8f5cf
709 the conceptmap operation called translate needs to be implemented (#923)
The ConceptMap operation $translate has been implemented.
2018-05-10 10:52:56 -04:00
patrick-werner cbd3ddbbd7 $document operation on Composition working (1st draft) 2018-05-10 15:05:06 +02:00
James Agnew a0c40cf98a Move a few more constants around 2018-05-05 12:21:56 -04:00
James Agnew 5c505b7cd7 Refactor operations to use constants for their names 2018-05-05 08:27:45 -04:00
James Agnew 7688be1231 Work on getting java9 building 2018-05-03 18:34:29 -04:00
jamesagnew f66e6d055e Add license header 2018-05-02 14:54:11 -04:00
James Agnew bb25a97e66 FIx up logging rule 2018-05-02 14:34:55 -04:00
James Agnew 220cb1716f Add a new rule 2018-05-02 14:28:01 -04:00
James Agnew 45360d80cb Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-05-02 14:19:28 -04:00
James Agnew 87666a1622 Use a direct subclass for the resource cache 2018-05-02 14:18:53 -04:00
jamesagnew 34d9646d8b Headers 2018-05-02 06:18:16 -04:00
James Agnew 994f2992d1 Return codesystem ID in upload terminology response 2018-05-01 07:56:02 -04:00
James Agnew e558132dba Restore deleted file 2018-04-30 16:48:39 -04:00
jamesagnew 0af8fbc5d3 Make expunge globally disabled by default 2018-04-29 07:47:26 -04:00
jamesagnew 770246583d Restore default constructor 2018-04-28 15:04:39 -04:00
jamesagnew 5bd191d192 FIx some failing tests 2018-04-28 13:21:48 -04:00
James Agnew 593a705365 Performance enhancements on the CapabilityStatement generator for JPA
server
2018-04-28 11:06:42 -04:00
jamesagnew e299b062a6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-04-24 19:14:56 -04:00
jamesagnew f1db751d1e Update headers 2018-04-24 19:14:33 -04:00
James Agnew 09b1f547d0 Add expunge 2018-04-24 15:11:00 -04:00
James Agnew 07e7af746f Work on expunge operation 2018-04-22 22:03:23 -04:00
James Agnew 591539cf13 Add expunge method 2018-04-22 18:34:56 -04:00
jamesagnew 51216c0010 Start work on expunge operation 2018-04-22 15:29:57 -04:00
James Agnew 8ec5ca69bb Add another translation type 2018-04-21 15:25:23 -04:00
James Agnew 488890155c Loinc uploader updates 2018-04-21 14:32:17 -04:00
James Agnew 1ff50cb0db Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-04-17 18:26:39 -04:00
James Agnew 162069776a Correctly handle encoding contained resources where some have user
assigned IDs and some do not
2018-04-17 18:26:06 -04:00
jamesagnew aecb315886 Loinc updates 2018-04-15 18:34:56 -04:00
jamesagnew 13242d77ed Merge branch 'loinc_loader_update' of github.com:jamesagnew/hapi-fhir into loinc_loader_update 2018-04-15 17:43:16 -04:00
jamesagnew 0c955f7f27 More loinc updates 2018-04-15 17:20:36 -04:00
James Agnew 8bfd7913c8 More work on loinc loader 2018-04-15 17:19:34 -04:00
patrick-werner 26e9211db8 Merge tag 'v3.3.0' into documentOperation 2018-04-11 15:56:57 +02:00
James Agnew b3a9ea263f Fixes to loinc mapping 2018-04-10 21:19:00 -04:00
James Agnew 260aa9e9fa Improve the loinc uploader 2018-04-06 17:35:19 -04:00
jamesagnew 26710f7608 Increase column lengths 2018-04-06 17:29:03 -04:00
James Agnew f013448917 More work on updating term services 2018-04-06 17:06:34 -04:00
James Agnew 7d6582fe73 More updates to loinc uploading 2018-04-06 16:41:28 -04:00
James Agnew 22b8e05b1f Add some logging 2018-04-06 16:14:59 -04:00
James Agnew 0f269a1ab1 Correctly save deferred concepts 2018-04-06 14:23:41 -04:00
James Agnew 3eab3c5fab More mapping for loinc RADS 2018-04-06 12:23:10 -04:00
James Agnew 2f4bcfe5d6 Understand equal mappings 2018-04-06 11:25:46 -04:00
jamesagnew 7334800684 Better logging 2018-04-06 09:50:41 -04:00
James Agnew d624556e18 Some updates to the loinc mapper 2018-04-06 09:50:18 -04:00
James Agnew f0f93d2330 Merge branch 'loinc_loader_update' of github.com:jamesagnew/hapi-fhir into loinc_loader_update 2018-04-06 09:13:08 -04:00
James Agnew 832558b411 Updates to handler 2018-04-06 09:12:52 -04:00
jamesagnew 2c818d5b4a Update handler names 2018-04-06 09:12:22 -04:00
jamesagnew 22bec81bff Fix an intermittent test failure 2018-04-04 10:11:19 -04:00
jamesagnew b8b3ff8a8f Loinc property updates 2018-04-04 09:34:16 -04:00
jamesagnew 33ea06b983 Fix compile issues 2018-04-03 06:29:14 -04:00
jamesagnew f56151d5a9 Merge branch 'loinc_loader_update' of github.com:jamesagnew/hapi-fhir into loinc_loader_update 2018-04-02 22:13:29 -04:00
James Agnew b6232b5683 loinc updates 2018-04-02 21:28:31 -04:00
James Agnew e31e1c029d Merge branch 'loinc_loader_update' of github.com:jamesagnew/hapi-fhir into loinc_loader_update 2018-04-02 09:13:27 -04:00
James Agnew fe25d93fe6 Sync with master 2018-04-02 09:08:11 -04:00
jamesagnew c5b286921e Tests all passing 2018-03-30 15:18:57 -04:00
jamesagnew 673a3d6272 Bump to JDK8 2018-03-30 08:54:04 -04:00
jamesagnew 817569228b Merge branch 'master' into loinc_loader_update 2018-03-30 08:29:14 -04:00
jamesagnew dfdee93271 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-03-29 06:55:07 -04:00
jamesagnew 180336e076 Sync to master 2018-03-29 06:54:24 -04:00
jamesagnew 53c2d8a38d Merge branch 'master' into loinc_loader_update 2018-03-29 06:21:55 -04:00
jamesagnew ba46d330f1 Add a test 2018-03-29 06:21:45 -04:00
jamesagnew 418e82032f Prep for 3.3.0 2018-03-29 05:48:13 -04:00
James Agnew 4ad00c20d8 Add a test 2018-03-29 05:40:24 -04:00
jamesagnew 94b880fd4d Remove accidentally committed useless file 2018-03-28 10:13:51 -04:00
jamesagnew 4ba56d5021 Reorganize the OSGI projects a bit 2018-03-28 06:15:28 -04:00
James Agnew 55fc20b87e Add tests for #877 2018-03-26 10:04:49 -04:00
James Agnew 5beeda1af3
Merge pull request #877 from anthonys123/master
Fixes for issue #512 (:contains modifier not working).
2018-03-26 08:40:44 -04:00
jamesagnew a3a15ac9d8 Add test and credit for #819 2018-03-24 06:45:41 -04:00
James Agnew 4f519e0528
Merge pull request #819 from splatch/issue-815
Support for negation in search operations
2018-03-24 06:38:15 -04:00
James Agnew c6e1aac98d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-03-22 07:16:36 -04:00
James Agnew 45a16fe066 More loinc work 2018-03-22 07:16:16 -04:00
jamesagnew 1689dc889e Make server operation interceptor not perform superfluous calls for
conditional and no-op operations
2018-03-22 06:52:30 -04:00
James Agnew b89e0e7020
Merge pull request #879 from darktyco/issue-878-bundle-update-fix
Fixes issue #878 where resources in a bundle are updated even when no…
2018-03-22 06:50:39 -04:00
patrick-werner b97d303481 modified tinder plugin generation templates for Composition 2018-03-22 08:24:22 +01:00
James Agnew 308ac63a77 Merge branch 'master' into loinc_loader_update 2018-03-20 07:53:41 -04:00
James Agnew 9c5e32d7eb Fix up some logging 2018-03-20 07:53:21 -04:00
James Agnew 4ef07d27aa Try to avoid occasional test failure 2018-03-19 10:20:58 -04:00
James Agnew 6359f7f8a1 More work on loinc 2018-03-19 08:51:02 -04:00
James Agnew 3f6861ef55
Merge pull request #812 from jamesagnew/subscriptionsWithoutPayloadPOST
Added ability to create a resthook subscription without returning a p…
2018-03-19 06:25:31 -04:00
James Agnew e9ee87210a
Merge pull request #806 from honestica/quickfix-imcompartment
fix inCompartment for a collection of owners
2018-03-19 06:16:12 -04:00
patrick-werner ff04ab3358 ${argLine} -> [at]{argLine}
see:
http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation
2018-03-19 10:45:33 +01:00
patrick-werner baa80f5cd3 started document operation implementation 2018-03-19 10:41:14 +01:00
patrick-werner c245798cc7 started document operation implementation 2018-03-15 17:23:49 +01:00
jamesagnew 30cd63b929 More loinc work 2018-03-11 19:11:31 -04:00
James Agnew 33554189a1 More loinc work 2018-03-11 15:46:59 -05:00
James Agnew b9802d0101 Document ontology done 2018-03-11 10:02:13 -05:00
James Agnew a5a7d75e58 Lots more additions to LOINC 2018-03-11 09:44:11 -05:00
James Agnew 5a653aeb20 Work on loinc mapping 2018-03-10 20:31:27 -03:00
James Agnew 611ee457cb Lots of addition of loinc 2018-03-07 13:33:49 -03:00
darktyco b18bb033bf Fixes issue #878 where resources in a bundle are updated even when no data changes 2018-03-06 13:28:06 -05:00
Anthony Sute 4da46cdb26 Fixes for issue #512 (:contains modifier not working). 2018-03-06 11:18:53 -05:00
jamesagnew e201091e3a Update licenses for changed files 2018-03-04 13:53:04 -05:00
jamesagnew d22670ddb5 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-03-04 12:21:07 -05:00
James Agnew 2f7751a079 Move stopwatch into hapi-fhir-base and add timing into to client
LoggingInterceptor
2018-03-04 12:13:18 -05:00
jamesagnew 8bdca012d6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-03-04 11:04:07 -05:00
jamesagnew 07290ae8a0 Sync to latest R4 code 2018-03-04 11:02:47 -05:00
James Agnew 928cf23b4c Logging enhancements 2018-03-04 10:21:39 -05:00
James Agnew cda27fdd18 Fix broken test 2018-03-01 14:06:31 -05:00
James Agnew a18303f117 Fix #872 - Include resource type in JPA uri search parameter criterias 2018-03-01 08:31:41 -05:00
jamesagnew ecf570ced9 More testing on #872 2018-03-01 07:25:35 -05:00
jamesagnew 7e4877c524 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-03-01 06:20:46 -05:00
jamesagnew a6e59a0f76 License header updates 2018-03-01 06:20:37 -05:00
James Agnew 790aaeb4ea Tests for #872 2018-02-28 21:34:32 -05:00
James Agnew 2eee606468 Fix 2 tests 2018-02-25 14:57:19 -05:00
James Agnew ef6ee83744 Remove test which is no longer applicable 2018-02-24 23:09:30 -05:00
James Agnew 136455f312 Fix #863 - Allow custom search parameters to use multiple bases 2018-02-24 22:10:55 -05:00
jamesagnew fd285b282f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-24 12:02:28 -05:00
jamesagnew d93bdfa47d Update license header 2018-02-23 15:54:57 -05:00
James Agnew 3b2930f8e9 Prevent a crash in testpage overlay when deleting a resource 2018-02-23 15:24:20 -05:00
James Agnew e241b31905 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-21 17:16:08 -05:00
James Agnew 7723405024 Fix #859 - Remove unused import on com.sun.prism 2018-02-21 17:15:15 -05:00
jamesagnew 72cf22e3a9 Fix #854 - Process ID substitutions on URIs for JPA 2018-02-20 07:32:49 -05:00
James Agnew 81305fb17f Don't deliver subscription results for deleetd resource 2018-02-19 20:58:55 -05:00
jamesagnew c38e306539 Allow disabling of reloading resources in subscription 2018-02-18 11:47:21 -05:00
jamesagnew a60e5cab2a Add config 2018-02-18 11:11:35 -05:00
jamesagnew 2f4ac42edb One more test fix 2018-02-18 09:17:04 -05:00
jamesagnew 3f1a0e81c7 Avoid endless reindex loop 2018-02-17 16:10:44 -05:00
jamesagnew e89f8e5ba4 Fix crash with unique search parameter updates in JPA 2018-02-16 07:39:46 -05:00
James Agnew 2847edd04a Correct subscription read before send 2018-02-15 17:38:29 -05:00
James Agnew 8ea527fa76 Make sure we load subscriptions from DB at some point 2018-02-15 17:13:27 -05:00
jamesagnew 4f45ad87f3 Adjust unit tests to deal with asynchronous search parameter registry 2018-02-15 07:12:30 -05:00
James Agnew e6253b7f22 Refresh search parameter cache asynchronously 2018-02-14 11:10:30 -05:00
James Agnew 329675a81d Fix test 2018-02-12 15:38:38 -05:00
jamesagnew d259b9a65d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-12 11:52:58 -05:00
James Agnew ab3ca5749a Add test for #793 2018-02-12 09:34:11 -05:00
jamesagnew a94a1370e7 Correct localization issue in test 2018-02-11 21:54:29 -05:00
James Agnew 18e4d85625 Add functions to stopwatch 2018-02-11 19:26:03 -05:00
James Agnew 261ecb6460 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-11 16:39:58 -05:00
James Agnew 388f51a823 Add some tests 2018-02-11 16:38:33 -05:00
jamesagnew 32b25f47d8 Update license header 2018-02-11 12:02:39 -05:00
James Agnew 7046d2fe94 Improve subscription procesing within a transaction 2018-02-10 17:05:09 -05:00
James Agnew 2edc9910e5 Add a test 2018-02-09 10:29:20 -05:00
James Agnew 80353e5d42 Better handle large search result deletion in JPA 2018-02-08 17:55:46 -05:00
jamesagnew fb327c60cd FIx spring boot issue 2018-02-04 15:04:45 -05:00
jamesagnew 48330a0fa6 Name the task scheduler bean 2018-02-04 13:32:34 -05:00
jamesagnew 087a130ded Test tweak 2018-02-04 08:50:52 -05:00
jamesagnew 86a0774305 Fix an issue in subscription interceptor which prevented the server from
starting if an invalid subscription was already in the database
2018-02-03 19:20:58 -05:00
James Agnew 3cbf669007 Don't crash on startup if an invalid subscription is in the database 2018-02-03 15:47:48 -05:00
James Agnew 1b9bbc90d6 Add some logging on failing test 2018-01-31 08:24:10 -06:00
James Agnew 4af52c160f Try to get HAPI building on JDK9 2018-01-31 06:41:24 -06:00
James Agnew 1c5a07b5a0 Fix #822 - Respect chained method params in a transaction search 2018-01-30 16:20:25 -06:00
James Agnew c5165e860b Add test for #811 2018-01-30 14:43:21 -06:00
James Agnew 8d468de551 Use R4 validator for DSTU3 validation 2018-01-30 11:16:04 -06:00
James Agnew 044b9f584a Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-01-28 14:02:53 -06:00
James Agnew f976b7bf7e Add new interceptor method which enabled interceptors to modify response 2018-01-28 14:01:20 -06:00
jamesagnew 2e4f80d7a3 Fix #831 - Remove useless TagListParam annotation 2018-01-26 10:03:21 -05:00
jamesagnew 6b366a58f7 Fixing occasionally failing test 2018-01-26 09:45:21 -05:00
jamesagnew 4e0e8fb8f8 Version bump a few dependencies 2018-01-26 06:22:06 -05:00
James Agnew 16038ece26 Version bump to 3.3.0-SNAPSHOT 2018-01-23 10:31:01 -05:00
James Agnew 4fd3e20d06 Remove duplicate resource body creation (Merge branch 'optimize_jpa') 2018-01-21 18:16:11 +08:00
James Agnew 4dcce4e582 Fix #832 - Correctly normalize text with Korean characters 2018-01-21 14:55:14 +08:00
jamesagnew 001bdbc07e Version bump to 3.2.0 2018-01-13 04:07:57 -05:00
James Agnew 6468ca474a Verion bump to 3.2.0 2018-01-13 02:14:33 -05:00
James Agnew 01186ec8cb Squashed commit of the following:
commit ab876ef864005b6758d3e00a1bb1ef2dad5d2161
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Jan 12 18:59:15 2018 -0500

    Tests all passing

commit 4f8a5d98307da1bb5ca7602e34b1d3b791f73d25
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Fri Jan 12 08:21:58 2018 -0500

    Almost compiling
2018-01-12 18:59:43 -05:00
James Agnew f58a03dacf Add some tests 2018-01-11 09:26:28 -05:00
jamesagnew b594b8eee2 FIx issues from merge 2018-01-10 06:27:23 -05:00
jamesagnew b0e196e5cf Merge branch 'master' into optimize_jpa 2018-01-10 06:27:15 -05:00
Łukasz Dywicki 66b6149bf6 Support for negation in search operations #815. 2018-01-09 22:29:01 +01:00
James Agnew d375977410 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-01-08 14:14:42 -05:00
James Agnew 9a72927dbc Fix #808 - Use version from meta if not found in the resource ID 2018-01-08 14:07:27 -05:00
jamesagnew 0352d48720 Bump copyright message to 2018 2018-01-08 13:52:15 -05:00
jamesagnew b420d02f2a Fix tests 2018-01-08 08:51:29 -05:00
jamesagnew 19c6369175 Test fix 2018-01-08 08:20:39 -05:00
jamesagnew 7e2459fbdc FIx up tests 2018-01-08 08:18:34 -05:00
jamesagnew 6fc88caa51 More work on optimizing JPA 2018-01-08 07:15:58 -05:00
James Agnew abf76a778f Add some tests for unique search params 2018-01-08 07:15:31 -05:00
James Agnew 377bae8c16 Allow interceptors to modify request contents 2018-01-06 14:27:32 -05:00
James Agnew 0369b7fd70 JPA server cleanup and add some tests 2018-01-05 16:41:18 -05:00
James Agnew 8b38334955 Fix some tests 2018-01-04 18:12:13 -05:00
James Agnew 2f5ce64755 Start work on removing duplicate resource body 2018-01-04 14:45:17 -05:00
James Agnew b18e71d4f5 Added new callbacks to IServerOperationInterceptor to be invoked before
other operation methods
2017-12-23 17:13:33 -05:00
Jeff Chung eb2d21ac4b Added ability to create a resthook subscription without returning a payload using an HTTP POST for notification 2017-12-22 17:14:45 -08:00
James Agnew fe37c87e78 Redirect test output to a file 2017-12-22 16:52:22 -05:00
James Agnew ce247ce37f Reuse forks when running surefire 2017-12-22 16:20:21 -05:00
James Agnew 5425172816 More travis fighting 2017-12-22 15:53:08 -05:00
James Agnew bf3c09f43d
Merge pull request #810 from darktyco/issue-809-date-search-params
Fixes issue #809 where date search params get deleted upon resource update
2017-12-22 15:43:07 -05:00
James Agnew 56fcdef93a Try still more to get travis building 2017-12-22 15:10:08 -05:00
James Agnew a8e5413d1f Fix two issues found by ErrorProne 2017-12-22 13:47:40 -05:00
Kyle Meadows 18344f2e32 Fixes issue #809 where date search params get deleted upon resource update 2017-12-22 10:35:14 -05:00
Jiajing LIANG 1f88823e8b add some test to check inCompartment rule works for a collection of owners, with Dstu3 and R4 fhir context 2017-12-21 11:42:38 +01:00
James Agnew 502f58022e Add some sorting tests 2017-12-18 06:03:09 -05:00
James Agnew 8595b7059e Let's try and get travis passing now 2017-12-15 16:38:32 -05:00
James Agnew ff477885e1 More fighting with tests 2017-12-13 20:13:18 -05:00
James Agnew 3a6a045d87 Fix two more tests.... grr... This should get appveyor working at least. 2017-12-13 17:52:56 -05:00
James Agnew cba3b5b6d8 More test fighting... 2017-12-13 15:24:16 -05:00
James Agnew 44ec091b35 Still more test tweaks 2017-12-13 13:29:24 -05:00
James Agnew 3363c5ce1b Still fighting with tests to get travis happy 2017-12-13 12:13:08 -05:00
jamesagnew 1a9b63aed6 Fix tests 2017-12-13 07:55:35 -05:00
jamesagnew 96e3135793 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-12-13 07:05:41 -05:00
jamesagnew 4ad5033b13 Add tests 2017-12-13 07:05:30 -05:00
James Agnew 0997167d50 Add test cases for DSTU2 custom search params 2017-12-12 22:08:02 -05:00
James Agnew 3e8fc0c89c Merge branch 'dstu2_custom_structs' 2017-12-12 21:47:05 -05:00
James Agnew bdf734fc3c Examples cleanup 2017-12-08 16:33:45 -05:00
James Agnew c86a2866d8 Reduce search log noise 2017-12-08 14:25:47 -05:00
jamesagnew 561dc86eb4 Test updates 2017-12-08 07:46:59 -05:00
James Agnew 7ce70a792d Add test for #801 2017-12-07 18:17:24 -06:00
James Agnew e838b0e32d Remove unneccesary column 2017-12-07 18:17:24 -06:00
James Agnew ea8ebd88ac Additional timing tweak to get tests passing across platforms 2017-12-07 11:27:11 -06:00
James Agnew f4bc82b300 Rename resource ID property to Resource server ID 2017-12-07 07:20:22 -06:00
James Agnew bbf1151d93 Try to prevent timing failures on Windows 2017-12-07 07:04:26 -06:00
James Agnew 8fae452eaa A little more test tweaking 2017-12-06 23:42:22 -06:00
James Agnew 36e719f92f Allow server assigned UUIDs instead of sequential IDs if conigured to do
so
2017-12-06 23:16:10 -06:00
James Agnew 0fb10b2636 Oops- fix one more test glitch 2017-12-05 14:33:01 -05:00
James Agnew d00c7dbea8 Giant breakthrough in fixing sporadic test failures! 2017-12-05 12:08:56 -05:00