Commit Graph

1410 Commits

Author SHA1 Message Date
James Agnew d1667487c2 Clean up unique composite search params 2019-03-21 21:57:38 +01:00
James Agnew 08c7afb804 Reduce logging in JPA server 2019-03-14 17:42:13 -04:00
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
James Agnew ed4da7c414 Add setting to disable resource type target validation in JPA 2019-03-12 17:45:19 -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
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 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 87ed00a002 Add ability to generate named parametrrs in a version independent way 2019-02-15 16:27:16 -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 514ace5981 Changelog for #1209 2019-02-15 09:58:53 -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
Ken Stevens badbde7e4a SubscriptionRegistry re-uses channel and handlers if channel type didn't change when subscription is updated 2019-02-14 19:38:31 -05:00
James Agnew 10c348d44f Tweak to elements parametr support 2019-02-14 19:30:10 -05:00
James Agnew 96ad875d3a Credit for #1204 2019-02-11 09:04:57 -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
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
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 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
jamesagnew 86a12bcf2a Credit for #1114 2019-02-02 11:33:08 -05:00
jamesagnew ea84f2c377 Version bump hibernate search 2019-02-02 11:26:19 -05:00
jamesagnew b46b60798a Credit for #1130 2019-01-31 05:26:14 -05:00
jamesagnew db42609ca7 Credit for #1135 2019-01-31 05:20:43 -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
Ken Stevens 5a08593abd
_id support (#1176)
* added support for _id in in-memory matcher
2019-01-23 14:37:34 -05:00
James Agnew 68fae08f20 Fix casing in base64Binary type 2019-01-23 08:34:09 -05:00
jamesagnew eee4c75300 Version bump hibernate 2019-01-23 05:57:20 -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
jamesagnew 6c4d4e43a1 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-01-18 07:17:04 -05:00
jamesagnew 3d941ed7e3 Credit for #1084 2019-01-18 05:50:30 -05:00
James Agnew 4367e340ae Log the version number and commit on startup 2019-01-17 16:05:54 -05:00
James Agnew b8755615b2 Allow AuthorizationInterceptor to read patients if the user has read
access to the individual instance
2019-01-14 13:53:08 -06:00
James Agnew 38bade0429 Credit for #1118 2019-01-13 17:22:29 -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 fc09ed6966 Fix #1163 - Correctly handle invalid CapabilityStatement 2019-01-11 08:01:48 -07: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 b8f200f897 Correctly expose chains in DSTU2 server conformance statmeent 2019-01-10 06:15:31 -07:00
James Agnew ee52d6fb31 Add SearchNarrowingInterceptor 2019-01-09 20:20:46 -06:00
James Agnew bef3b956d8 Add changelog entry 2019-01-09 13:48:31 -05:00
Ken Stevens 66dd6dc96c updated documentation 2019-01-09 13:39:32 -05:00
jamesagnew b3c9b32db4 Credit for #1065 and forward-port fix to R4 provider 2019-01-09 07:19:55 -05:00
James Agnew 62ae71c1c6 Allow authorizing delete operations via a transaction in
AuthorizationInterceptor
2019-01-07 15:43:36 -05:00
jamesagnew 3d94761bcb Improve response for transactions 2019-01-06 18:08:32 -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 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 1bfa29bbcc Site updates 2018-12-28 11:42:21 -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
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
jamesagnew ea80d03a74 Credit for #1051 2018-12-21 05:42:39 -05:00
jamesagnew 54bb1508db Changelog for #980 2018-12-20 06:08:10 -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 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
jamesagnew 8d195aedf0 Credit for #917 2018-12-13 05:36:19 -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 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 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
Ken Stevens 6baee4dc3f
Standalone subscription (#1125) 2018-11-30 17:19:16 -05:00
James Agnew 650872cd3e Address SQL syntax issue 2018-11-29 08:37:50 -05:00
James Agnew b41c222880 Require explicit declaration of authorizationinterceptor operation rules
on whether the response is authorized or not
2018-11-23 14:25:46 -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
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 58388bb614 Allow client to return methodoutcome instead of resdource for operation
call
2018-11-19 11:11:49 +01: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 4b099cf057 Fix #944 - NPE when using a custom resource class that has a @Block
child
2018-11-15 16:11:55 +01:00
James Agnew e75d2e1f10 Credit for #1117 2018-11-15 13:37:32 +01:00
James Agnew 84acafe3af Streamline expunge operation 2018-11-15 11:37:16 +01:00
jamesagnew 31bd2186ce Update changelog 2018-11-12 09:47:17 -05:00
jamesagnew cbc6f22329 Documentation updates 2018-11-12 09:21:09 -05:00
James Agnew 63af04a7b4 Prepare for 3.6.0 release 2018-11-12 05:40:55 -05:00
James Agnew cb00512522 Credit for #1047 2018-11-11 17:08:30 -05:00
James Agnew e5b04710ea Version bump a few dependencies 2018-11-11 17:06:40 -05:00
James Agnew f61df5c3fe Use FHIRPath expression parser for custom SP validation 2018-11-09 14:41:20 -05:00
James Agnew 82ec721c99 Allow client defined parameter style for _format param 2018-11-08 15:27:35 -05:00
James Agnew 7e2e53a354 Credit for #1071 2018-11-08 13:33:25 -05:00
James Agnew 9fee827398 Credit for #1103 2018-11-08 13:24:24 -05:00
jamesagnew 3121334bfd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-11-07 18:28:28 -05:00
jamesagnew ca9268970e Site updates 2018-11-07 18:27:08 -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
jamesagnew 8796c1c5d2 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-11-04 14:01:17 -05:00
jamesagnew 053f4c3be7 Fix bad tag in file 2018-11-04 14:01:06 -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 3f6960d82b Add multithreaded migrator tool 2018-11-01 05:42:51 -04:00
jamesagnew 5849960a14 Add changelog 2018-10-31 05:52:15 -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 600f4585d1 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-10-30 15:23:00 -04:00
James Agnew 6b1ea5b989 Add tests for operation method binding 2018-10-30 15:22:39 -04:00
James Agnew 4cd86596f2
Merge branch 'master' into fhirterser-getvalues-enhancements 2018-10-29 09:55:34 -05: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
Diederik Muylwyk c669bba4bd FhirTerser.getValues(...) enhancements are completed. Added changelog entry. 2018-10-24 12:08:17 -04: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 aa177c1421 Authorize batch operation in AuthorizationInterceptor 2018-10-19 09:45:56 -04:00
James Agnew 4e252063b8 Allow transactions and batches with transaction permission in
AuthorizationInterceptor
2018-10-16 19:54:55 -04:00
James Agnew ba6df6d55a Handle unqualified ID in delete box for testpage overlay 2018-10-15 10:23:21 -04:00
James Agnew 9894980fe0 Changelog for #1093 2018-10-15 08:43:08 -04:00
James Agnew 16daa80afc Add changelog entry 2018-10-15 08:38:16 -04:00
James Agnew b44e96a5cd Merge branch 'philips-3.6.0' 2018-10-15 08:37:00 -04:00
James Agnew 8b46257423 Add warm cache module 2018-10-14 09:32:07 -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 b265c0281b Expand search range when searching by date 2018-10-03 21:31:01 -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
James Agnew 87f90fec47 Correctly handle password promnpt in CLI 2018-10-01 11:59:47 -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 dc4c0809a4 Automatically detect suitable database drivers 2018-09-25 09:58:08 -04:00
James Agnew 706e004b9d Bump to 3.6.0-SNAPSHOT 2018-09-19 10:24:48 -04:00
James Agnew 6e0a1dddd4 Fix formatting in changelog 2018-09-18 09:21:53 -04:00
James Agnew 942dfedbff Doc updates for 3.5.0 2018-09-18 08:10:38 -04:00
James Agnew a26779de81 FIx compile error 2018-09-11 08:42:46 -04:00
James Agnew 4852b0b60f Work on migration 2018-09-08 07:14:43 +08:00
James Agnew f5d567cd00 Work on migrator 2018-09-08 03:30:35 +08:00
James Agnew 8e91600746 Add changelog1 2018-09-01 14:40:31 +08: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
jamesagnew df651c830e Remove dynamic mode 2018-08-19 17:35:08 -04:00
James Agnew fd55aa292c Allow interactive prompts for credentials from the user 2018-08-19 15:13:06 -04:00
patrick-werner 125b2d06de added $document change to changelist 2018-08-13 14:44:04 +02:00
James Agnew f5d330dd03
Merge branch 'master' into 1053-lastupdate-shouldnt-apply-to-includes 2018-08-12 17:58:21 -04:00
jamesagnew 080559027b Credit for #1022 2018-08-12 17:56:42 -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 159377ac16 Add details to ResponseHighlighterInterceptor 2018-08-11 13:46:34 -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
jamesagnew d07fd76d60 Dont keep resource bodies in the queue for JPA subscription delivery 2018-08-03 10:44:15 -04:00
James Agnew bf63caf3fb Credit for #965 2018-07-30 09:47:28 -04:00
James Agnew d6293cf9b3 Merge branch 'client_enhancements' 2018-07-30 09:42:38 -04:00
jamesagnew 17a976369b Credit for #996 2018-07-30 09:15:28 -04:00
jamesagnew 0f1724ac0a Credit and a unit test for #912 2018-07-30 05:48:38 -04:00
James Agnew 518092cbd4 More updates 2018-07-29 17:10:26 -04:00
James Agnew f03d6b7c22 Allow configuration of default page size in SimpleBundleProvider 2018-07-27 18:34:12 +07:00
James Agnew d04db790a3 Try to fix permissions issues in travis 2018-07-27 08:39:22 +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 b4aa4c0e89 Add protection against HTML injection attacks 2018-07-19 08:56:22 -04:00
James Agnew 03e7b018a6 Add skeleton for the $process-message operation in JPA erver 2018-07-12 17:52:24 -04:00
James Agnew 3b794a4f39 Fix a crash when reindexing deleted resources 2018-07-02 09:17:48 -04:00
James Agnew b929864873 Merge branch 'improve_jpa_indexes' 2018-07-01 12:08:03 -04:00
James Agnew faaac4a2e8 Credit for #1018 2018-07-01 11:49:43 -04:00
James Agnew 495fd9f68e Add support for patch in AuthorizationInterceptor 2018-07-01 11:46:11 -04:00
James Agnew 03fc593cb9 Fix broken test 2018-06-28 18:11:19 -04:00
James Agnew 050f9939ac Merge branch 'master' into improve_jpa_indexes 2018-06-27 10:44:18 -04:00
James Agnew bbf47454b3 Credit for #969 2018-06-27 10:43:15 -04:00
James Agnew 609cfc7f08 Credit for #1015 2018-06-27 10:36:50 -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 47633214e0 Credit for #1010 2018-06-24 15:12:47 -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 024394e5e5 Credit for #1000 2018-06-21 10:20:08 -04:00
James Agnew 218937e425 Several fixes 2018-06-20 05:53:32 -04: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
jamesagnew 6d09f5025f Credit for #974 2018-06-03 15:31:40 -04:00
jamesagnew 987679483a Version bumps 2018-06-03 15:29:10 -04:00
jamesagnew 9db3be8536 Include implementation URL in generated capabilitystatement 2018-06-03 14:22:15 -04:00
James Agnew a9cb4dae2f Allow storage of messages 2018-06-01 07:07:24 -04:00
James Agnew 8027f75758 Remove versioneye from readme, as it has been discontinued 2018-06-01 06:28:22 -04:00
James Agnew 44c6292a45 Merge branch 'java9' 2018-05-31 21:56:58 -04:00
James Agnew bb5d4110a2 Test fixes 2018-05-30 21:23:20 -04:00
jamesagnew d127a89047 Some test fixes 2018-05-30 11:01:43 -04:00
James Agnew a52805e504 Work on JDK9 support 2018-05-30 05:45:08 -04:00
jamesagnew 674005bab8 Site updates 2018-05-29 06:14:28 -04:00
James Agnew cccd56243b Website tweak 2018-05-28 21:47:29 -04:00
James Agnew faf17edf89 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-05-28 11:16:52 -04:00
Diederik Muylwyk 2871920734 Preparing release. 2018-05-28 10:45:47 -04:00
James Agnew 9a6594444a Site tweak 2018-05-28 09:59:00 -04:00
Diederik Muylwyk 8c53da2abf Updated release notes. 2018-05-28 09:41:02 -04:00
James Agnew a7eac969d9 Site enhancements for release 2018-05-28 08:53:36 -04:00
jamesagnew d74023925b Credit for #910 2018-05-28 06:04:04 -04:00
jamesagnew 67f21426cb Disable content header on response for non-create operations 2018-05-25 07:28:01 -04:00
jamesagnew b0b98a9a28 Credit for #892 2018-05-24 06:06:01 -04:00
jamesagnew 08542780a0 Credit for #886 2018-05-24 06:01:15 -04:00
jamesagnew 1d11a5fe90 Credit for #880 2018-05-24 05:50:00 -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 e58779d484 Credit for #875 2018-05-23 06:39:40 -04:00
jamesagnew be86eb196b Credit for #874 2018-05-23 06:32:52 -04:00
jamesagnew 98d997c620 Add changelog and credit for #867 2018-05-23 06:21:00 -04:00
jamesagnew 39163304ee Credit for #857 2018-05-23 06:07:32 -04:00
James Agnew 4d93b78c24 Credit for #836 2018-05-22 08:44:17 -04:00
jamesagnew 5a3eeb7b0d CHangelog for #953 2018-05-21 19:07:42 -04:00
jamesagnew a2a81f9878 FIx #926 - Add homebew install instructions for CLI 2018-05-17 07:36:27 -04:00
jamesagnew ad4a545354 Credit for #937 2018-05-17 07:33:13 -04:00
James Agnew c588e01a4d Handle invalid paths in Consent resource 2018-05-16 21:45:23 -04:00
James Agnew 4fd868afae Credit for #946 and add extensions to the CLI uploader 2018-05-16 19:32:12 -04:00
James Agnew d29a9a7f96 AutohrizationInterceptor should correctly recognize type-level operation
invocations
2018-05-15 16:14:10 -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 23a01b5f18 Add to download page 2018-05-12 19:40:39 -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 14a070a47e
927 cli tooling is needed for creating and maintaining conceptmaps using csvs (#934)
CLI tooling for import/export of ConceptMaps using CSVs has been implemented.
2018-05-10 11:12:45 -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
James Agnew 127a8389ac Credit for #903 2018-05-04 08:55:41 -04:00
jamesagnew 1522974a56 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-04-28 11:44:36 -04:00
jamesagnew 83a5eedb29 Fix performance regression in DSTU3 validation 2018-04-28 11:42:59 -04:00
James Agnew 593a705365 Performance enhancements on the CapabilityStatement generator for JPA
server
2018-04-28 11:06:42 -04:00
James Agnew 09b1f547d0 Add expunge 2018-04-24 15:11:00 -04:00
James Agnew a21d0a7752 Add auth tester methods 2018-04-22 19:30:09 -04:00
James Agnew 591539cf13 Add expunge method 2018-04-22 18:34:56 -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
Patrick Werner 4599c525a8
Fixed header nocache -> no-cache 2018-04-17 11:01:28 +02:00
James Agnew d624556e18 Some updates to the loinc mapper 2018-04-06 09:50:18 -04:00
James Agnew 832558b411 Updates to handler 2018-04-06 09:12:52 -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 4c0d5b49d9 Site updates 2018-03-30 08:28:10 -04:00
James Agnew d9c167455e Make sure we correctly clean up resources 2018-03-27 15:20:22 -04:00
jamesagnew fa28d505f3 Credit for #871 2018-03-27 06:14:05 -04:00
jamesagnew ca3e7fe38f Credit for #877 2018-03-26 08:43:28 -04:00
jamesagnew a3a15ac9d8 Add test and credit for #819 2018-03-24 06:45:41 -04:00
James Agnew 6ba6f301e4
Merge pull request #840 from jamesdaily/patch-2
Conformance Statement -> Capability Statement
2018-03-23 07:23:54 -04:00
jamesagnew d5a1c089b8 Credit for #864 2018-03-23 06:50:10 -04:00
jamesagnew 352a9b8593 Credit for #581 2018-03-23 06:37:48 -04:00
jamesagnew 37f12ac28b Credit for #817 2018-03-23 06:35:53 -04:00
jamesagnew 1ba00f6b11 Credit for #879 2018-03-22 06:52:30 -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
jamesagnew 42498f3f87 Credit for #812 2018-03-19 06:25:49 -04:00
jamesagnew 30c32cdc89 Credit for #806 2018-03-19 06:16:29 -04:00
jamesagnew 78a69f654b Credit for #800 2018-03-19 05:43:25 -04:00
jamesagnew 83b1cf5b9f Add credit for #798 and fix broken test 2018-03-15 07:30:32 -04:00
jamesagnew 8c47e2f7be Credit for #791 2018-03-15 06:48:41 -04:00
jamesagnew 49192e5e48 Credit for #776 2018-03-12 06:42:22 -04:00
jamesagnew ea0b8992f4 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-03-12 06:31:56 -04:00
jamesagnew e75336f751 Credit for #786 2018-03-12 06:31:39 -04:00
Patrick Werner 1d92160822
Merge pull request #855 from patrick-werner/patch-2
fixed package name hapi-fhir-validation on the http://hapifhir.io/download.html page.
2018-03-12 05:59:27 -03: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 0c0b9bd74b Fix #814 - Don't create duplicate contained resources 2018-03-02 09:46:29 -05:00
James Agnew 0c52c38eda Add credit for #868 2018-03-02 08:57:40 -05:00
James Agnew a18303f117 Fix #872 - Include resource type in JPA uri search parameter criterias 2018-03-01 08:31:41 -05:00
James Agnew 84c72203b7 Add HashMapResourcePrvider 2018-02-25 13:16:02 -05:00
James Agnew 136455f312 Fix #863 - Allow custom search parameters to use multiple bases 2018-02-24 22:10:55 -05:00
James Agnew 6e47951220 Remove unneccesary log lines and clean up some documentation 2018-02-24 10:57:32 -05:00
James Agnew 3b2930f8e9 Prevent a crash in testpage overlay when deleting a resource 2018-02-23 15:24:20 -05:00
jamesagnew 72cf22e3a9 Fix #854 - Process ID substitutions on URIs for JPA 2018-02-20 07:32:49 -05:00
Patrick Werner e842881aa7
fixed package name haps-fhir-validation
was hapi-fhir-validator, corrected to hapi-fhir-validation
closes #766
2018-02-20 11:59:23 +01:00
James Agnew d18a0ea32f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-18 10:27:45 -05:00
jamesagnew 3f1a0e81c7 Avoid endless reindex loop 2018-02-17 16:10:44 -05:00
James Agnew 222636baca Docs updates 2018-02-17 14:32:42 -05:00
jamesagnew e89f8e5ba4 Fix crash with unique search parameter updates in JPA 2018-02-16 07:39:46 -05:00
James Agnew e6253b7f22 Refresh search parameter cache asynchronously 2018-02-14 11:10:30 -05:00
James Agnew 80353e5d42 Better handle large search result deletion in JPA 2018-02-08 17:55:46 -05:00
jamesagnew b8c01a471a Correctly credit John Grimes for #838 (oops!!!) 2018-02-03 19:21:55 -05:00
James Agnew 17b1ff727e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-03 15:48:09 -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
jamesagnew 371be03b0f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-02 13:20:09 -05:00
James Agnew 0e2d55081f Fix a crash when no count parameter supplied 2018-02-02 12:31:59 -05:00
jamesagnew 351a2fc2f1 Fix #837 - Use non-legacy content-type for plain json and xml accept
header
2018-02-02 06:43:19 -05: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 8d468de551 Use R4 validator for DSTU3 validation 2018-01-30 11:16:04 -06:00
James Agnew e52f582769 An experimental interceptor called VersionedApiConverterInterceptor has been added, which automaticaly converts response payloads to a client-specified version according to transforms built into FHIR. 2018-01-29 12:10:05 -06:00
James Agnew a89c8d50c5 Fix #838 - Include JAXB dependencies explicitly 2018-01-29 12:05:37 -06:00
James Daily 8e3e693d29
Conformance Statement -> Capability Statement
Removed broken link to old conformance.html with link to capabilitysatement.html. Hope this is true that HAPI exports a capability statement now as of STU3?

Note - there are still references to Conformance Statement elsewhere within the documentation (such as doc_rest_operations.xml), but they contained coding / server behavior assertions that I was not comfortable modifying.
2018-01-29 10:37:04 -05: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 5750cfd03c Prevent double calling server interceptor methods under certain
conditions
2018-01-26 07:44:13 -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
James Agnew 3644151a69 Fix crash in JSON parser when parsing extensions on primitive elements 2018-01-18 09:07:23 +07:00
jamesagnew 2c65f1c81b Fix error on docs 2018-01-13 05:42:27 -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 f6c9e3d0fe Add multitenancy support for server 2018-01-11 11:14:54 -05:00
jamesagnew b0e196e5cf Merge branch 'master' into optimize_jpa 2018-01-10 06:27:15 -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 6fc88caa51 More work on optimizing JPA 2018-01-08 07:15:58 -05:00
James Agnew 377bae8c16 Allow interceptors to modify request contents 2018-01-06 14:27:32 -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
James Agnew 64ba145d93 Credit for #810 2017-12-22 16:10:05 -05:00
James Agnew 0997167d50 Add test cases for DSTU2 custom search params 2017-12-12 22:08:02 -05:00
James Agnew 6c85cd1375 Improve documentation and mark redundant methods as deprecated in
IServerInterceptor
2017-12-12 21:45:54 -05:00