Commit Graph

3236 Commits

Author SHA1 Message Date
Tuomo Ala-Vannesluoma fbca9f8060
Offset query fixes (#2579)
* Fix new searchbuilder limit similar to legacy searchbuilder

* Fix returning includes when using offset query

* Add unit tests for offset query with include

* Only use count param if offset is given (sometimes we want to search synchronously more if DAO is used directly)

* Throw if offset is tried to use with everything operations

* Do not offer offset paging for everything operations and fix tests to assert that
2021-04-30 19:01:27 -04:00
Tadgh 983d811af6
Merge pull request #2587 from hapifhir/issue-2585-enhance-placeholder-targets-logic
Issue 2585 enhance placeholder targets logic
2021-04-30 12:55:27 -04:00
Tadgh ac7c684437 Refactor to support all new tests 2021-04-29 17:01:19 -04:00
Tadgh 78271a2931 Create tests for all possiblye use cases 2021-04-29 15:25:11 -04:00
Kevin Dougan SmileCDR 646faa10e1
2540 - Upgraded the fhir_core_version from 5.3.0 to 5.3.10 (#2545)
* 2540 - Upgraded the fhir_core_version from 5.3.0 to 5.3.9.

* 2540 - Updated the Unit Test messages due to the upgraded dependencies.

* 2540 - Fixed some additional Unit Test message checks.

* 2540 - Updated the POM to refer to fhir_core_version 5.3.10-SNAPSHOT so a FULL Pipeline Build can run to verify that everything is fixed now.

* 2540 - Added some DEBUG Sysout logging to try and determine why the Pipeline Builds fail for a specific Unit Test when it passes locally...

* 2540 - Added some more logging to try and determine why the Pipeline Builds fail for a specific Unit Test when it passes locally...

* 2540 - Updated a Unit Test to account for a newly returned search param.

* 2540 - Updated a Unit Test to account for a newly returned search param and removed some debug output.
2021-04-29 15:00:37 -04:00
Tadgh 3ff2ad37ff Start with failing test 2021-04-29 14:08:50 -04:00
James Agnew 95d7ba6fa8
Streamline Search SQLs (#2576)
* Streamline SQL queries

* SQL query tidying

* Add changelog

* Test fixes

* Tests passing

* Ongoing work

* Test fixes

* Test fixes

* Build fix

* Cleanup

* Fixes
2021-04-28 10:29:09 -04:00
Tadgh 9ecb390dae Move tests to proper class. Fix issue with version referencing 2021-04-26 13:40:11 -04:00
Tadgh b200c10ced Merge remote-tracking branch 'origin/master' into issue-2534-new-tx-pointcut 2021-04-26 09:48:30 -04:00
James Agnew 2ba1005762
OpenAPI Support (#2560)
* Start work on OpenAPI

* Fixes

* Work on OpenAPI

* Cleanup

* Cleanup

* More swagger work

* Build fix

* More work

* More work

* Add documentation

* Docs fixes

* Add changelog

* License updates

* Add API

* Cleanup

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_plain/openapi.md

Co-authored-by: patrick-vachon-smilecdr <81274188+patrick-vachon-smilecdr@users.noreply.github.com>

* Work on scripts

* Add docs

* Compile fix

* Work on fixes

* Fix tests

* Test fix

* Test fix

* Build fix

* Tests

* Build fix

* Work on pipeline

* Version bump

* Test fix

* Version bump

* Test fix attempts

* Test fix

* Test fix

* Remove accidentally committed files

* Fixes

* Tets fixes

* Test fix

* Test fix

* Test fix

* Test fixes

* Test fixes

* Test fixes

* License header updates

* test fix

* Test fixes

* Test fix

* Test fixes

* Test fix

* Checkstyle bump

Co-authored-by: patrick-vachon-smilecdr <81274188+patrick-vachon-smilecdr@users.noreply.github.com>
2021-04-25 15:40:50 -04:00
Tadgh a5f81988fc Merge branch 'improve-bundle-builder' into issue-2534-new-tx-pointcut 2021-04-21 16:53:49 -04:00
Tadgh b7166735f9 Merge remote-tracking branch 'origin/master' into issue-2534-new-tx-pointcut 2021-04-21 12:13:54 -04:00
Tadgh ad8921ac4e Add docs, enum, remove prints 2021-04-21 10:39:23 -04:00
Tadgh e997d49d42 Additional Tests 2021-04-20 18:25:45 -04:00
Tadgh 3dee0c8ab6 Working in-place bundle sort 2021-04-20 17:48:55 -04:00
Nick Goupinets 4e266462ec Bumped up version due to breaking changes 2021-04-20 16:17:27 -04:00
Tadgh ff2690b74e Add tests for transaction sorting 2021-04-20 14:12:25 -04:00
Tadgh 1670ed7202 Begin topological sort implementation 2021-04-19 20:01:02 -04:00
Tadgh 2ed4b01eb8 Remove notnull 2021-04-19 10:31:16 -04:00
Tadgh 014fa05271 Fix a present annotation 2021-04-19 09:17:35 -04:00
Tadgh 89e56ecb98 Remove jetbrains annotation 2021-04-19 09:14:12 -04:00
Tadgh c54862e772 Coding around at the speed of sound occasionally causes compilation failures 2021-04-18 18:03:37 -04:00
Tadgh 77e2768a14 Address code review comments. Create new static builder for all partitions SRD 2021-04-18 17:36:55 -04:00
Tadgh 3075a9b5e6 Still minor refactoring 2021-04-16 16:53:23 -04:00
Tadgh f91a4f9576 wip tidy implementaion 2021-04-16 14:18:01 -04:00
Tadgh fad32aa636 Partition management for expired jobs 2021-04-16 11:55:12 -04:00
Tadgh 8035d51e48 Refactor, comment 2021-04-16 11:31:43 -04:00
Tadgh efe5b7b140 Fix package cache usage 2021-04-16 11:24:42 -04:00
Tadgh 7cabcbd772 Fix partition selection for system request details 2021-04-16 11:12:40 -04:00
James Agnew ca2088f3ad
Add framework for Bulk Import (#2538)
* Start work on bul;k import

* Work on bulk import

* Have batch working

* Working

* Working

* More work

* More work on bulk export

* Address fixmes

* License header updates

* Test fixes

* License header updates

* Test fix

* Test fix

* Version bumps

* Work on config

* Test cleanup

* One more version bump

* Version bump

* CLeanup

* A few additions

* Test fixes

* Test fix

* Test fix

* Migration fix

* Test fix

* Test fix
2021-04-14 17:41:32 -04:00
Ken Stevens 550602b2f1
added numeric matcher (#2547)
* added numeric matcher

* changelog

* performance optimization

* fix test
2021-04-14 13:15:30 -04:00
IanMMarshall 4cd0409bae
Merge pull request #2546 from hapifhir/2535_ignore_logical_structuredefinition_during_package_install
2535 ignore logical structuredefinition during package install
2021-04-14 10:54:37 -04:00
Kevin Dougan SmileCDR b45ddcc3da
2543 - Fix issue where versionned references are not being returned properly. (#2544)
* 2543 - Fix issue where versionned references are not being returned properly.

* 2543 - Added changelog entries for this fix plus a previous fix for 2533.
2021-04-14 08:45:49 -04:00
ianmarshall 5a3f2e3edf Change package loader to not generate snapshot for logical StructureDefinition resources. 2021-04-13 22:22:06 -04:00
Tadgh fcbfb11506 Merge remote-tracking branch 'origin/master' into issue-2534-new-tx-pointcut 2021-04-13 15:55:01 -04:00
Tadgh 3732698e01 Update a few more pointcuts 2021-04-13 13:50:53 -04:00
Tadgh de3d6cd36a Update pointcut invocations 2021-04-13 13:49:50 -04:00
Tadgh d695e35e59 Update test 2021-04-13 09:31:45 -04:00
Tadgh f61d52d199 Should have realized that transactiondetails is an object reference, so we can't change it effectively 2021-04-13 09:26:05 -04:00
Kevin Dougan SmileCDR 129df5dc14
2533 - Fix Issue with Reference Resources Not Being Returned In Search Queries (#2539)
* 2533 - Initial commit to show how I might fix this Bug but not ready for merge at this time as it causes some other Unit Test failures in FhirResourceDaoR4VersionedReferenceTest.

* Fix up test

* 2533 - Cleaned up Unit Test to make it ready to merge.

Co-authored-by: jamesagnew <jamesagnew@gmail.com>
2021-04-13 05:28:39 -04:00
jamesagnew 3637dfc60f License headers 2021-04-12 09:57:08 -04:00
Tadgh 8099b6634a wip 2021-04-09 18:21:15 -04:00
Tadgh ac8e012892 wip 2021-04-09 13:07:15 -04:00
Tadgh 99e10de5fb
Merge pull request #2487 from hapifhir/mdm-expansion-interceptor
MDM Expansion Interceptor (poc)
2021-04-09 11:23:04 -04:00
Tadgh 8f30f7b0f2 Vague skeleton of pointcut 2021-04-09 11:08:47 -04:00
James Agnew edfe1ae8e6
Add lastupdated to capabilitystatement (#2530)
* Add lastupdated to capabilitystatement

* Test fix

* Test fix
2021-04-08 13:23:21 -04:00
James Agnew f70648484a
Avoid a deadlock uploading terminology in postgres (#2529)
* Fix #2493

* Try to fix intermittent test failure
2021-04-08 12:28:42 -04:00
James Agnew 462d9bc6c4
Fix compartment defs for R5 (#2528)
* Fix compartment defs for R5

* Add changelog

* Test fix
2021-04-08 05:59:05 -04:00
James Agnew a6cbf7eebd
Add support for hierarchycal valueset expansion (#2525)
* Add support for hierarchycal valueset expansion

* Add changelog

* Add tests

* Cleanup

* Test fix

* Test fixes
2021-04-06 17:36:54 -04:00
James Agnew fcffb04c7b
Allow unknown code systems during validation (#2523)
* Allow unknown code systems during validation

* Add changelog

* Test fix
2021-04-05 20:59:59 -04:00