inferno-framework / inferno-core

Core library for the Inferno Framework
https://inferno-framework.github.io/
Apache License 2.0
26 stars 5 forks source link

FI-2863: Added support for auth_info to fhir_client #512

Closed vanessuniq closed 4 months ago

vanessuniq commented 4 months ago

Summary

This branch updates the fhir client to support auth info.

Testing Guidance

Updated tests in the access mode group of the auth info suite to verify that auth_info is properly declare when defining fhir_client. The tests will verify that the fhir_client.auth_info attributes are what is expected.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 46.87500% with 17 lines in your changes missing coverage. Please review.

Project coverage is 79.51%. Comparing base (ca84840) to head (bd0c7c0).

Files Patch % Lines
dev_suites/dev_auth_info/auth_info_suite.rb 23.80% 16 Missing :warning:
lib/inferno/dsl/fhir_client_builder.rb 83.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #512 +/- ## ========================================== + Coverage 79.46% 79.51% +0.04% ========================================== Files 242 242 Lines 12078 12105 +27 Branches 1185 1189 +4 ========================================== + Hits 9598 9625 +27 Misses 1815 1815 Partials 665 665 ``` | [Flag](https://app.codecov.io/gh/inferno-framework/inferno-core/pull/512/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inferno-framework) | Coverage Δ | | |---|---|---| | [backend](https://app.codecov.io/gh/inferno-framework/inferno-core/pull/512/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inferno-framework) | `91.32% <46.87%> (+0.06%)` | :arrow_up: | | [frontend](https://app.codecov.io/gh/inferno-framework/inferno-core/pull/512/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inferno-framework) | `73.98% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inferno-framework#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.