Commit Graph

7334 Commits

Author SHA1 Message Date
Tadgh a4b2fbd906
Merge pull request #2211 from bdenton/bd-20201202-fix-split-package
Split package: delete 'ca.uhn.fhir.rest.server' package from hapi-fhir-server-empi
2020-12-03 09:02:46 -05:00
James Agnew 1eae5db374
autoCreatePlaceholderReferenceTargets true breaks multitenancy (#2215)
* Fix #2209 - autoCreatePlaceholderReferenceTargets true breaks multi-tenancy

* Add changelog

* Address fixme
2020-12-03 08:53:37 -05:00
James Agnew 35f4d48eee
Fix validating capabilitystatements (#2214)
* Fix validating capabilitystatements

* Add changelog
2020-12-03 05:31:04 -05:00
James Agnew 7627a86176
Improve version logging (#2213)
* Improve version logging

* Add changelog

* Test fixes
2020-12-02 21:19:04 -05:00
Nick Goupinets 6d74f4f398 Fixed alert 2020-12-02 21:00:49 -05:00
Bill Denton 01ca7f3746 move TransactionLogMessage to hapi-fhir-rest-server bundle (as per
feedback)
2020-12-02 17:22:31 -08:00
Nick Goupinets ffee7a894f Removed person refs 2020-12-02 17:41:42 -05:00
Tadgh b11f97d9ef
HOTFIX for invalid changelog type (#2212) 2020-12-02 16:41:37 -05:00
Bill Denton 53bd271717 Split package: delete 'ca.uhn.fhir.rest.server' package from
hapi-fhir-server-empi
2020-12-02 13:24:07 -08:00
jamesagnew 0f80c2adf9 Update changelog 2020-12-02 14:48:14 -05:00
dependabot[bot] 1b263f1c32
Bump jetty_version from 9.4.34.v20201102 to 9.4.35.v20201120 (#2210)
Bumps `jetty_version` from 9.4.34.v20201102 to 9.4.35.v20201120.

Updates `jetty-http` from 9.4.34.v20201102 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120)

Updates `jetty-servlets` from 9.4.34.v20201102 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120)

Updates `jetty-io` from 9.4.34.v20201102 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120)

Updates `jetty-continuation` from 9.4.34.v20201102 to 9.4.35.v20201120

Updates `jetty-security` from 9.4.34.v20201102 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120)

Updates `jetty-servlet` from 9.4.34.v20201102 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120)

Updates `jetty-server` from 9.4.34.v20201102 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120)

Updates `jetty-util` from 9.4.34.v20201102 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120)

Updates `jetty-webapp` from 9.4.34.v20201102 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120)

Updates `jetty-xml` from 9.4.34.v20201102 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120)

Updates `websocket-api` from 9.4.34.v20201102 to 9.4.35.v20201120

Updates `websocket-client` from 9.4.34.v20201102 to 9.4.35.v20201120

Updates `websocket-server` from 9.4.34.v20201102 to 9.4.35.v20201120

Updates `jetty-maven-plugin` from 9.4.34.v20201102 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.34.v20201102...jetty-9.4.35.v20201120)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 14:47:10 -05:00
James Agnew a3ae6c3813
Add partition selector to id parameter (#2208)
* Add partition selector to id parameter

* Add changelog
2020-12-02 14:10:37 -05:00
Nick Goupinets 417ae55cb4 Merge remote-tracking branch 'origin/master' into gg_20201105-remove-person-references 2020-12-02 09:29:47 -05:00
James Agnew 30b6244988
Avoid blocking on shutdown (#2206) 2020-12-02 08:44:06 -05:00
James Agnew 6e72ee8f6b
Fix new searchbuilder on oracle (#2205)
* Fix new searchbuilder on oracle

* Add changelog
2020-12-02 06:22:41 -05:00
jamesagnew 18541d4388 Correctly chunk resource version queries 2020-12-01 17:20:44 -05:00
Nick Goupinets d63c580e82 Merge remote-tracking branch 'origin/master' into gg_20201105-remove-person-references 2020-12-01 13:18:42 -05:00
jamesagnew 015502e98e Docs tweak 2020-11-30 18:59:53 -05:00
James Agnew c309737166
Allow reading from multiple partitions (#2198)
* Partitioning rework

* Work on partition improvements

* Partition updates

* Work on partitiong

* Test fixes

* Add docs

* Add changelog

* Resolve FIXME

* Test fixes

* Test fixes

* Test fixes

* Compile fix

* Fix compile error

* Test fix

* Test fixes
2020-11-30 17:59:52 -05:00
Nick Goupinets 3f3b811b16 Fixed Foreign Key references 2020-11-30 17:21:56 -05:00
jamesagnew 283834ed1d Docs tweak 2020-11-30 16:25:15 -05:00
Nick Goupinets db28a94eee Resolved alerts 2020-11-30 09:09:38 -05:00
jamesagnew 74aed5d107 License headers 2020-11-29 20:53:19 -05:00
Ken Stevens 3d3242cf9a
Resource change listener (#2191)
* init rev

* fix build

* Tweaked the POM config settings and also added some dependency exclusions (commented out for now).

* More re-factoring of the CQL Unit Tests.

* Removed a LogMessages.html file and a minor Unit Test change.

* Unit Tests.

* added debug logging to troubleshoot the dao that has no name

* added debug logging to troubleshoot the dao that has no name

* workaround to get past null dao resourceName issue

* fix jsons to get test to pass.  Test still fails with library id problem

* gitignore

* gitignore

* test passes!  Woohoo!

* undo troubleshooting logging

* added timer and logging.

* added asserts and time multiple evaluations and measure the average

* readme

* adding explanations

* added more explanatory notes

* measure 2 patients

* move pom to use cqf snapshot

* roughed out cache

* roughed out cache

* Added code to VersionChangeCache class.

* added tests

* added polling test

* wrote init version

* wrote init version

* optimized versioncache

* worked on getting tests to pass

* redesigned interfaces

* all tests pass

* fixmes

* fixmes

* rename param

* Added Unit Tests.

* javadoc

* Fixed the 2-Patient Unit Test.

* More Unit Test work.

* make ResourceVersionMap immutable

* Fixed a Unit Test that was failing intermittently by adding a new way to refresh the cache.

* Use a new method called doRefreshAllCaches(0) to force a refresh and have all Listeners called immediately.

* Cleaned up IVersionChangeListenerRegistry interface to make methods more clear and resolved all Unit Tests.

* disabled tests

* disabled tests

* removed unused test method

* fixed refresh logic and added asserts

* moved cache so it can be used by searchparamregistry

* Updated the Cql Unit Tests to be properly configured for Dstu3 or R4.

* started rewriting SearchParamRegistryImpl to use new cache
added init method to listener interface

* added fixmes

* adding tests

* tests pass

* added tests

* Fixed the way CqlProviderFactory Autowires Beans so it can work with both Dstu3 and R4 contexts.

* moar tests

* fix test

* work tests

* reverting unneccessary refactors

* undo unneccessary import changes to reduce MR size

* undo unneccessary import changes to reduce MR size

* Unit Test fixes...more to come...

* add unregister

* fix tests

* Changed ResourceVersionCache to use a Map of Maps.

* searchparam test

* test passes

* resolved fixme

* fixmies

* strengthen test asserts

* More Unit Test changes and added some FIMXME items.

* changed from long to changeresult

* renamed VersionChange -> ResourceChange

* fixed delete bug

* organize imports

* fix test

* add update test

* add test reset function

* fix stack overflow

* fix startup race condition (might still be intermittent)

* found the problem.  delete doesn't work because we can't look up the deleted resource to find out what its name is

* fixed regression

* abandoned idea of incrementally updating searchparam registry.  Rebuilding every time--it doesn't change that often.

* fix test

* begin with failing test

* test passes

* fixmes and javadoc

* fix test

* fixme

* fix test

* whack-a-mole.  Either subs pass or cql passes.  Something's fishy with the FhirContext

* fix subscription test initialization

* fix method name

* Re-factored the CqlProvider Unit Tests.

* changed ResourceChange API

* add interface

* add interface

* fix test

* add schedule test

* add doc

* init rev

* FIXME

* modify FhirContext change

* change fhirContext.getResourceTypes to lazy load

* converted subscriptions

* converted subscriptions

* begin with failing test

* test passes

* fix test

* test coverage

* test coverage

* test coverage

* test coverage

* good coverage now

* pre-review cleanup.  I think I found a bug.

* moved cache into listener entry
tests pass with fixmes

* fix test

* fix test

* fix test

* fixme

* FIXMEs

* merge cache and registry

* method reorg

* javadoc

* javadoc done.  all FIXMEs resolved.

* change log

* changes needed by cdr

* spring config cleanup

* james feedback

* james feedback

* might not work. Try moving resourcechangeconfig into searchparam config

* merge ResourceChangeListenerRegistryConfig.java into SearchParamConfig

* fix test

* fix SubscriptionLoader

* fix SubscriptionLoader

* create ResourceVersionMap from resources

* added cache handle interface

* fix test

* javadoc

* fix test

* fix test

* James feedback: clone searchparametermap

* fix startup

* fix test

* fix test

* fix intermittent

* pre-review cleanup

* FIXME

* final FIXME yay!

* Address a couple of my own reviw comments

Co-authored-by: Kevin Dougan <kevin.dougan@smilecdr.com>
Co-authored-by: jamesagnew <jamesagnew@gmail.com>
2020-11-29 19:42:40 -05:00
James Agnew 1e5def260c
Bump woodstox version (#2199) 2020-11-27 19:49:06 -05:00
Nick Goupinets da3df49089 Fixed build failures 2020-11-27 18:00:24 -05:00
Nick Goupinets c64ca81373 Removed obsolete tests 2020-11-27 17:11:52 -05:00
Nick Goupinets 2a3b72db17 Merge remote-tracking branch 'origin/master' into gg_20201105-remove-person-references 2020-11-27 16:54:04 -05:00
Nick Goupinets dc2a9e55c5 Renamed sourceResource to goldenResource 2020-11-27 16:53:47 -05:00
Nick Goupinets 36ce84335a Renamed sourceResource to goldenResource 2020-11-27 16:53:21 -05:00
jamesagnew b85fd42ead Add changelog validator 2020-11-27 16:40:31 -05:00
jamesagnew 835c450b63 Fix changelog file 2020-11-27 16:23:57 -05:00
jamesagnew fbbba11417 Formatting only 2020-11-27 16:16:01 -05:00
Nick Goupinets 8a7dc4e80b EMPI to MDM 2020-11-27 15:12:21 -05:00
IanMMarshall 722e24d80c
Merge pull request #2175 from jamesagnew/ft-fix-expend-filter-contains-issue
Fixed expand filter issue
2020-11-27 14:47:05 -05:00
ianmarshall bbba4428ee Changed name for new tokenFilter to make it unique. 2020-11-27 11:38:24 -05:00
ianmarshall be88a256d0 Changed name for new tokenFilter to make it unique. 2020-11-27 11:32:08 -05:00
Frank Tao 08a59413c6 Remove unused import 2020-11-26 20:58:18 -05:00
Frank Tao 014e2ba9cb Rework on the expand issue replaced the EdgeAnalyzer 2020-11-26 20:37:51 -05:00
Frank Tao a511543e77 Merge branch 'master' into ft-fix-expend-filter-contains-issue
# Conflicts:
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/dstu3/FhirResourceDaoValueSetDstu3.java
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoValueSetR4.java
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/r5/FhirResourceDaoValueSetR5.java
#	hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/provider/dstu3/ResourceProviderDstu3ValueSetTest.java
2020-11-26 18:47:10 -05:00
jamesagnew da75ff8da2 Credit for #2197 2020-11-26 10:08:56 -05:00
swagers cb693afe25
Changed the names URIs and IDs of a few LOINC concept maps (#2197)
Changed to match what LOINC uses for these concept maps

Co-authored-by: Steven Wagers <swagers@regenstrief.org>
2020-11-26 10:06:17 -05:00
Nick Goupinets 03643a7b3c Fix for bean scope inconsistenices 2020-11-25 17:37:37 -05:00
James Agnew fb8658da70
Always apply vs filters correctly (#2195)
* Always apply valueset filters correctly

* Test fix

* Testfix

* Test fix

* Add changelog

* Test fix
2020-11-24 18:12:02 -05:00
Nick Goupinets 5f97428d38 Added schema migration steps for MDM 2020-11-24 15:50:56 -05:00
Frank Tao 3d9e0aeac1 Added more test cases 2020-11-23 21:32:46 -05:00
Frank Tao 5a05513250 Revoked filter op to EQUAL and enabled NGramAnalyzer 2020-11-21 14:46:26 -05:00
Tadgh 702cc7762d
2185 doc updates for multitenancy (#2187)
* update to docs to indicate requests to default partition

* update operation docs
2020-11-20 11:08:19 -05:00
Tadgh 99d2bf1f0e
Merge pull request #2170 from jamesagnew/2169-docs-hapi-fhir-cli
2169 - Fixed hapi-fhir-cli doc issues.
2020-11-20 10:43:46 -05:00
Tadgh 8647502da1
update to docs to indicate requests to default partition (#2186) 2020-11-20 10:32:59 -05:00