Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information