-
Notifications
You must be signed in to change notification settings - Fork 1
CSV file upload #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
base: main
Are you sure you want to change the base?
CSV file upload #15
Conversation
…upgraded to trixie (debian) transitional package deprecated
remove leftover debug code, and linter fixes that don"t belong to this PR
# Validation successful, upload to minio bucket | ||
lha_id: str = request_state.realm | ||
# Get lha display name | ||
lha_name = next((realm['displayName'] for realm in get_realms() if realm['realm'] == lha_id), '') |
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.
The realm
field is explicit enough because it contains the region name (e.g. lha-koeln). The id
field consists of the actual UUID used in Keycloak instead. Is it really necessary to include the full name of the LHA?
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.
Hmm
I'm not sure.
I'll check with Mariama to figure out if the realm field is sufficient.
If they need the exact name they probably could look it up themselves from the api 🤔
this adds an endpoint where a csv case data file can be uploaded.
It is then validated and forwarded to the rest of the memilio infrastructure.
Also adds IAM endpoints to the
.env.template
instead of hard-coding them.