-
Notifications
You must be signed in to change notification settings - Fork 3
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
TechDebt: Port Auth Changes From SIMS + Refactor Service Client Auth #219
Conversation
Openshift URLs for the PR Deployment: |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dataset_security_feature #219 +/- ##
============================================================
+ Coverage 61.75% 62.09% +0.34%
============================================================
Files 262 263 +1
Lines 7130 7147 +17
Branches 1007 1008 +1
============================================================
+ Hits 4403 4438 +35
+ Misses 2487 2469 -18
Partials 240 240 ☔ View full report in Codecov by Sentry. |
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 good to me 🛺
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
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.
ran this locally, looks good!
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.
🐈 ran locally, functioning properly
Continuation of #219. Ported over auth/keycloak changes from SIMS but missed some changes that impacted the pipeline (wouldn't be noticed when running locally).
Overview
Links to Jira tickets
n/a
Description of relevant changes
Port Auth changes from SIMS (newer keycloak libraries, etc)
Refactor service client authentication
db-constants.ts
file, which is used to load constants from the database during API initialization (currently only loads service client information, but can be updated to support other constants as needed).Populate submission source_system column from live submission data.
Update seed to mark a pseudo-random number of submissions as reviewed, and a subset of those as published.
UI change for Jer: Change default switch case for security review status to UNSECURED (rather than PENDING), so that the user only ever sees either UNSECURED, SECURED, or PARTIAL status.
Testing
Everything related to authentication works as before, including service clients.
You will need to run a clean build to get the latest database changes.
Have tested the submission of SIMS data to Biohub, and it seems to be working as expected as far as I can tell.