-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add additional param to the BaseService class to allow for passing other licenses to FastAPI #526
Conversation
…ed a test to pass a different license as a dict and tests pass locally
Codecov Report
@@ Coverage Diff @@
## main #526 +/- ##
=======================================
Coverage 96.48% 96.49%
=======================================
Files 45 45
Lines 2473 2479 +6
=======================================
+ Hits 2386 2392 +6
Misses 87 87
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…sn't added in the test for it
This one is wrapped up and ready now--didn't notice the changes from #517 with the inclusion of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I think it would be nice if we could address that default_app_license
is defined twice. This isn't a huge deal though so I'm not going to block merging.
default_app_license = { | ||
"name": "Creative Commons Zero v1.0 Universal", | ||
"url": "https://creativecommons.org/publicdomain/zero/1.0/", | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this dictionary is also defined in base_service.py
. Could we DRY this out a bit?
…-license-param-baseservice
… it's an enum of two types (for now) with contact moved as a class variable
…-license-param-baseservice
PULL REQUEST
Summary
Added a
license_info
param that is adict
with a default value that matches all DIBBs defaults for the container apps inphdi/containers
. Given thefhir-converter
is pulling a Microsoft base image in its Dockerfile and using Micosoft's FHIR Converter we should make a best effort to pass its MIT license and add it to thedescription.md
for thefhir-converter
, which is already done in #520Related Issue
Fixes #520