Skip to content

Conversation

@NickPhura
Copy link
Contributor

@NickPhura NickPhura commented Oct 18, 2023

Links to Jira Tickets

Bug fixes related to: https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-308

Description of Changes

Fix GCNotify (updated api keys and openshift secrets, etc)

Fix delete survey button (database function updated to account for some missed tables)

Updated Keycloak env vars for local and openshift builds (A few env vars were missing, and one was deprecated, just cleaned it up in general).

Testing Notes

Check that GCNotify works. ✔️

  • Nick/Alfred: Tested that emails are sent successfully on access request and access approval.

Check that deleting a survey works. ✔️

  • Nick/Alfred: Tested that survey delete works (added some basic data, animals, attachment, etc)

Check that anything related to keycloak, including service accounts and the api account, works. ✔️

  • Nick/Alfred: Tested that adding animals works, which uses the service account token.

@github-actions
Copy link

@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #1126 (580fd14) into dev (f63d812) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev    #1126      +/-   ##
==========================================
- Coverage   63.10%   63.09%   -0.01%     
==========================================
  Files         536      536              
  Lines       16326    16325       -1     
  Branches     2510     2510              
==========================================
- Hits        10302    10301       -1     
  Misses       5333     5333              
  Partials      691      691              
Files Coverage Δ
api/src/openapi/schemas/project.ts 100.00% <ø> (ø)
api/src/paths/gcnotify/send.ts 78.26% <ø> (ø)
api/src/paths/project/{projectId}/survey/create.ts 96.15% <ø> (ø)
api/src/services/keycloak-service.ts 84.37% <100.00%> (-0.48%) ⬇️
api/src/services/platform-service.ts 90.05% <100.00%> (ø)
app/src/features/surveys/CreateSurveyPage.tsx 2.94% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

al-rosenthal
al-rosenthal previously approved these changes Oct 18, 2023
Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested these changes in the pod and everything seems to be working 🐛

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍔

@NickPhura NickPhura changed the title SIMSBIOHUB-308: Bug Fixes SIMSBIOHUB-308: Misc Bug Fixes Oct 18, 2023
Copy link
Contributor

@JeremyQuartech JeremyQuartech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything working as expected for me. Looks good!

@NickPhura NickPhura merged commit 2960d9b into dev Oct 18, 2023
@NickPhura NickPhura deleted the SIMSBIOHUB-308 branch October 18, 2023 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants