-
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-194: Seed SIMS with Users from SPI #1086
Conversation
* Add retry mechanic to useAxios to handle the case where your keycloak token has expired, but your refresh token is still valid.
* Fix bad error handling on a repo function. Function was throwing on empty array, when empty array should be expected/allowed.
…w) (#1084) Update existing migration: remove observation table (for now)
* Creates new tables: survey_block, survey_stratrum, site_strategy, survey_site_strategy * Amends the survey deletion procedure to delete blocks as well as stratum records upon survey deletion
…using SIMS Service Account (#1077) * Adds '/telemetry' endpoint to API for proxied BCTW requests. * Adds new service to handle authenticated requests to Critterbase API. * Adds new '/critter-data' endpoint to API for proxied Critterbase requests. * Modifies Add Animal form's api hooks to point at /critter-data endpoint instead of Critterbase directly. * Adds new method to Keycloak service for service account token retrieval. --------- Co-authored-by: Mac Deluca <[email protected]> Co-authored-by: Graham Stewart <[email protected]> Co-authored-by: Alfred Rosenthal <[email protected]> Co-authored-by: Curtis Upshall <[email protected]> Co-authored-by: Nick Phura <[email protected]>
Openshift URLs for the PR Deployment: |
Codecov Report
@@ Coverage Diff @@
## dev #1086 +/- ##
==========================================
- Coverage 64.64% 64.51% -0.13%
==========================================
Files 458 464 +6
Lines 13923 13921 -2
Branches 2190 2200 +10
==========================================
- Hits 9000 8981 -19
- Misses 4366 4374 +8
- Partials 557 566 +9
📣 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.
ran this locally and it inserted users 👍
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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!
Links to Jira Tickets
Description of Changes
SIMS
SIMS-UTILS
npm run users
npm run insert
Testing Notes
keycloakData.json
on the Jira ticket comments.utils/users/src/data_temp/keycloakData.json