3502 Commits

Author SHA1 Message Date
Ken Stevens
a4856bba17
fix iBundleProvider.getResources(from,to) throwing a NPE (#2632)
* fix iBundleProvider.getResources(from,to) throwing a NPE

* change log

* review feedback

* rename test to IT that has concurrency failures
2021-05-05 21:50:51 -04:00
Tadgh
4031968357
Calls with zero request details and non-partitionable resource automatically go to default now. This updates the test to pass in servletrequest details, simulating a user request (#2636) 2021-05-05 16:57:12 -04:00
Tadgh
bf37d1db74 Fix test 2021-05-05 15:36:20 -04:00
Tadgh
e15825b336 Increase length, add test 2021-05-05 15:29:02 -04:00
Tadgh
0fb0419a67 If null, return default partition during create 2021-05-04 16:22:01 -04:00
Tadgh
fcc662da79 Fix not sending request details 2021-05-04 16:18:34 -04:00
KevinIsAProgrammer
75c74a22db
Merge pull request #2619 from hapifhir/2590_preserve_the_ID_value_of_the_resources_in_the_package_loader
2590 preserve the id value of the resources in the package loader
2021-05-03 15:39:14 -04:00
Kevin Hartmann
320e8379b3 Now convert pure numeric ids to "npm-<id>". 2021-05-03 12:55:17 -04:00
James Agnew
172ea770b8
Fix transaction references (#2627) 2021-05-03 12:25:51 -04:00
jamesagnew
8be50641e5 License header 2021-05-03 08:45:54 -04:00
Hanan Awwad
871914bd3b
Concept properties are not being saved while using the operation apply-codesystem-delta-add (#2577)
* fix issue #2280

* revert the indentation back.

* revert-back untouched changes.

* saving concept properties using the operation apply-codesystem-delta-add

* fix test cases; add check for null properties

* fix test; expected file descriptors
2021-05-03 08:02:20 -04:00
Jari Maijenburg
6dc12603bb
Fixed GraphQL token parameter matching bug (#2623) 2021-05-02 17:18:51 -04:00
James Agnew
0cea403800
Fix vulnerability warning on maven plugin (#2621)
* Fix vulnerability warning on maven plugin

* Compile fixes

* Fix bootstrap dep

* Test fix

* Fix tests

* FIx deps
2021-05-02 12:14:32 -04:00
James Agnew
970a9884f0
Avoid tag definition constraint (#2620)
* Avoid tag definition constraint failure

* Version bumps

* Add changelog

* Avoid guava issue

* Test fix

* Test fix

* Bump pom
2021-05-01 17:16:15 -04:00
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
Kevin Hartmann
e8ac24b4df Test now passes. 2021-04-30 15:17:22 -04:00
Kevin Hartmann
b3afe41de8 Added test to make sure we have loaded the expected package id. 2021-04-30 15:14:19 -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