-
Notifications
You must be signed in to change notification settings - Fork 9
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
SIMSBIOHUB-331: Keycloak Library Updates #1151
Conversation
Refactor the keycloakWrapper, and update code/tests as needed.
Openshift URLs for the PR Deployment: |
Codecov Report
@@ Coverage Diff @@
## dev-staging #1151 +/- ##
===============================================
- Coverage 62.13% 61.83% -0.31%
===============================================
Files 554 549 -5
Lines 16929 16572 -357
Branches 2599 2534 -65
===============================================
- Hits 10519 10247 -272
+ Misses 5703 5648 -55
+ Partials 707 677 -30
... and 90 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Great refactor! 👏
…il function instead Add/update RouteGuards tests. Add "fix" npm command to app/api level.
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.
running this locally I was not able to approve an access request
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.
🚜
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.
Something I noticed while testing out permissions is that updating my own permission from admin to creator caused the app to crash as well as an infinite refresh loop. I think this is due to not having permission to the endpoint after the request has been processed, and maybe a non-issue.
Update: looks like without these new changes it still causes an app crash, but not a infinite reload loop.
Add git action to clean PR builds for PRs against non-base branches
Openshift URLs for the PR Deployment: |
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.
Code looks good; Testing locally...
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.
Tested locally and everything looks good!
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
* Swap out old keycloak libraries for newer more up to date libraries. * Add RouteGuards tests. * Add git action to clean PR builds for PRs against non-base branches
Links to Jira Tickets
https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-331
Description of Changes
Swap out old keycloak libraries for newer more up to date libraries.
Remove login and logout pages.
Refactor the keycloakWrapper, and update code/tests as necessary.
Testing Notes
Anything to do with logging in/out works as before.