Commit Graph

7822 Commits

Author SHA1 Message Date
Oliver Egger 30b081c925
Merge 670fcdbc0a into 82cbb6067f 2024-11-12 09:18:36 +01:00
Grahame Grieve 82cbb6067f
Merge pull request #1806 from hapifhir/2024-11-gg-tx-test-metadata
Start testing metadata in tx tests, and consequent bugs and library u…
2024-11-12 15:54:54 +10:30
Grahame Grieve 8a831a9e45 Start testing metadata in tx tests, and consequent bugs and library upgrades for that (patternMode in ComparisonUtilities) 2024-11-12 13:24:09 +10:30
Grahame Grieve 097f493099
Merge pull request #1805 from hapifhir/do-20241111-server-auth-per-type
Use server type to select server settings in combination with URL
2024-11-12 12:14:03 +10:30
dotasek d0b0bd694b Remove unneeded test
***NO_CI***
2024-11-11 19:00:53 -05:00
dotasek a155475feb Fix test and set up apiKey for package client servers 2024-11-11 17:59:40 -05:00
dotasek 36142f4904 Fixes for getting configured servers from fhir-settings 2024-11-11 16:50:39 -05:00
dotasek 7c796b4ba4 Simplify FhirSettings format. 2024-11-11 16:25:18 -05:00
dotasek 730a1781ee Remove FIXMEs reviewed as OK by Grahame 2024-11-11 15:21:17 -05:00
dotasek 5cbb45abec Allow ManagedWebAccess to fetch specific server types for auth 2024-11-11 14:35:06 -05:00
dotasek 4ee4a89a76 Fix refactor misses 2024-11-11 11:06:09 -05:00
dotasek cac080b5bd Fix merge issue. 2024-11-11 09:23:59 -05:00
dotasek 4c5c71411b
Merge branch 'master' into 2024-11-gg-web-mode2 2024-11-09 11:19:10 -05:00
dotasek 7bcd3ca43b
Update master-branch-pipeline.yml
Disable github packages deploy
2024-11-09 10:44:55 -05:00
dotasek 07de311296 Updating i18n-coverage csv and png table ***NO_CI*** 2024-11-09 15:39:37 +00:00
Grahame Grieve 60acdd0b88 Add mode to web access 2024-11-09 18:39:12 +10:30
Grahame Grieve 1a2c25b531
Merge pull request #1801 from hapifhir/2024-11-gg-slice-validation
2024 11 gg slice validation
2024-11-09 18:01:00 +10:30
Grahame Grieve 275df1aba6
Merge branch 'master' into 2024-11-gg-slice-validation 2024-11-09 08:20:36 +10:30
Grahame Grieve 28b19212e4 Validate slice expressions where possible 2024-11-09 08:19:07 +10:30
Grahame Grieve 93a1f192f1 Fix bug where extension slices defined in other profiles are not found when processing slices based on extension 2024-11-09 08:13:58 +10:30
dotasek 59fe0c6d20
Manage FhirRequestBuilders via ManagedWebAccess (#1788)
* WIP start moving FhirRequestBuilder to ManagedWebAccess

* Update PECodeGenerator.java

* WIP keep moving FhirRequestBuilder to ManagedWebAccess + fix some tests

* WIP move logging, retry, timeout and proxy

* WIP move accept to parameter

* WIP some HTTP Header refactoring, rename FhirRequest to HTTPRequest

* WIP fix removed import

* Tidy up code

***NO_CI***

* Fix for renamed class

* Change mem settings for build

* Adjust pipeline mem again

* Apply changes to r4b

* Actually add headers from HTTPRequest to OkHttp request

* Use ManagedFhirWebAccess in r4

* Removing leftover okttp usage

* Remove unused classes and okhttp usages and add tests for r4

* Make dstu3 use ManagedFhirWebAccess

* Make sure we get response headers

* Add test coverage (some failing) for DSTU2 ClientUtils

* Add FHIRToolingClient tests

* Use ManagedFhirWebAccess for DSTU2

* WIP restore format header tests - turns out they break

* Fix format header issues

* Switch to static fhirBuilder for all FhirRequestBuilders

+ Fix null user agent issue
+ Load ManagedWebAccess from FHIR settings
+ Add terminology servers to FhirSettings

* fix slicing by type and profile to allow multiple options per slice

* List measure choices when a match by version can't be found

* Validate fhirpath expression in slice discriminators

* Remove conflicting authorization header setting methods

* fix VSAC importer for changes to ManagedWebAccess

* Tests 1

* Rename ...AccessBuilder classes to ...Accessor

* Fix api-key token mixup, more tests

* Resolve all deletions enclosed in FIXME + fix headers in dstu2 postfeed

* More TODO erasures. Plus found missing functionality

* Move tests to utilities. Clarify missing functionality

* Clean up comments and JavaDoc

* Final rename

* update vsac access code

* Fix get bytes for -1 or chunked content

---------

Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2024-11-08 16:42:26 -05:00
dotasek 765ba8baed Fix get bytes for -1 or chunked content 2024-11-08 15:22:50 -05:00
Grahame Grieve 8b43a95aa8 update vsac access code 2024-11-09 06:33:07 +10:30
dotasek d724a27d95 Final rename 2024-11-08 14:35:36 -05:00
dotasek fb6a22c3b1 Clean up comments and JavaDoc 2024-11-08 14:29:40 -05:00
dotasek cc00bb903c Move tests to utilities. Clarify missing functionality 2024-11-08 11:26:43 -05:00
dotasek ebcbf4db49 More TODO erasures. Plus found missing functionality 2024-11-08 11:18:57 -05:00
dotasek 2bbfcb8845 Resolve all deletions enclosed in FIXME + fix headers in dstu2 postfeed 2024-11-08 11:08:06 -05:00
dotasek 822f0866b4 Fix api-key token mixup, more tests 2024-11-07 18:07:23 -05:00
dotasek e9917defb0 Rename ...AccessBuilder classes to ...Accessor 2024-11-07 17:53:14 -05:00
dotasek 4592dc1a82 Tests 1 2024-11-07 17:42:32 -05:00
Grahame Grieve d98e575795 Merge remote-tracking branch 'origin/do-20241021-tx-auth' into do-20241021-tx-auth 2024-11-08 08:46:59 +10:30
Grahame Grieve 7aef291a0c fix VSAC importer for changes to ManagedWebAccess 2024-11-08 08:46:23 +10:30
dotasek 2c57f5954e Remove conflicting authorization header setting methods 2024-11-07 15:44:25 -05:00
Grahame Grieve a93ab69231 Validate fhirpath expression in slice discriminators 2024-11-07 22:16:27 +10:30
Grahame Grieve ee7dc203f6 List measure choices when a match by version can't be found 2024-11-07 22:15:54 +10:30
Grahame Grieve 0c4da028b3 fix slicing by type and profile to allow multiple options per slice 2024-11-07 22:14:49 +10:30
dotasek afd9e7a471 Merge remote-tracking branch 'origin/master' into do-20241021-tx-auth 2024-11-06 19:19:53 -05:00
Grahame Grieve 3dd720367f
Merge pull request #1798 from hapifhir/2024-11-gg-pe-code-gen-2
2024 11 gg pe code gen 2
2024-11-07 10:45:08 +10:30
dotasek b6ef81c9f3 Switch to static fhirBuilder for all FhirRequestBuilders
+ Fix null user agent issue
+ Load ManagedWebAccess from FHIR settings
+ Add terminology servers to FhirSettings
2024-11-06 09:47:27 -05:00
dotasek e45c0b2bf0 Merge remote-tracking branch 'origin/master' into do-20241021-tx-auth 2024-11-05 10:51:21 -05:00
dotasek 07b31d94fd Fix format header issues 2024-11-05 10:20:06 -05:00
dotasek 6775a09adb Make sure codegen directory exists 2024-11-05 09:56:06 -05:00
dotasek f1d5f714d3 WIP restore format header tests - turns out they break 2024-11-05 09:08:40 -05:00
Grahame Grieve 31764fc016 Fix to use derived element cardinality not element base cardinality when elementdefinition-json-name is present 2024-11-05 20:58:26 +10:30
Grahame Grieve 6b0175ed38 compile fixes 2024-11-05 20:57:46 +10:30
Grahame Grieve 441f7b4e47 update code generation 2024-11-05 19:19:42 +10:30
Grahame Grieve 497b502a1c compile fix 2024-11-05 10:15:40 +10:30
dotasek ac7c7332d3 Use ManagedFhirWebAccess for DSTU2 2024-11-04 17:49:31 -05:00
Grahame Grieve 478c338e10 Fix NPE in FHIRPath engine 2024-11-05 06:06:59 +10:30