Skip to content
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

SIMS-BIOHUB-126: Release test -> prod #1047

Closed
wants to merge 25 commits into from
Closed

SIMS-BIOHUB-126: Release test -> prod #1047

wants to merge 25 commits into from

Conversation

al-rosenthal
Copy link
Contributor

@al-rosenthal al-rosenthal commented Jun 27, 2023

Production release

NickPhura and others added 25 commits May 1, 2023 13:53
SIMSBIOHUB-11: Submit project/survey EML when survey/project metadata changes
Added support for Goat total count and moose aerial transect template
* Moved Resources page from /admin/resources to just /resources;

* Added utility functions for building generic URLs and for generating the Login Page URL (historically, we have programatically sent the user to the Keycloak instance);

* Added a /login helper endpoint, which sends the user to the Keycloak instance;

* When unauthenticated access the SIMS application they land on a home page (historically, they are redirected to the Keycloak instance);

* Added repo and service classes for Administrative Activities

* Created the SIMS Landing Page
Updated Funding sources to not require start/end date for First Nations
* Fixes the application URL provided in Access Request email links

* Adds a login endpoint to hook into Keycloak sign-in

* Adds the `useRedirect` hook
Removed some console logs
Updated focal species display values

---------

Co-authored-by: Kjartan <[email protected]>
* Removed some old git workflow files

* Updated keycloak version, which changed it to always being defined (rather than potentially undefined), and so I removed a bunch of unnecessary `?.` when dereferencing the keycloak object.

* Removed a bunch of null user object checks, as the user object would never be undefined.

* Added change_version to the version endpoint (mainly an experimental change, as I never really noticed that var before, but in theory it might let us put a version number in the UI)

* Pulled some taxonomy-service changes from other projects, just misc updated

* Added the BCGov favicon to the react app.

* Added proper error handling to the db setup pipeline step, so it will properly fail the git action if it fails in openshift

* Moved a bunch of old tests from manually specifying mock keycloak auth states, to using the getMockAuthState test helper function
SIMSBIOHUB-24: bugfix
…mary Results or Documents (#1033)

SIMSBIOHUB-15: Submit Request to Resubmit or Remove Observations, Summary Results or Documents
…mpty cells. (#1037)

* Update duplicate key validation rule to account for empty cells.
Send observations input file to Biohub on observation submission
* Removed duplicate code by creating the LoadingButton component as a stand-in for the analogous MUI Lab version

* Refactored the Project and Survey submission components

* Added an error dialog when the request to submit to Biohub fails
* Installed the MUI DataGrid library

* Updated the Projects list table to use the MUI DataGrid

* Updates React from version 16 to 17

* Updated react-scripts from version 3 to version 5

* Updated numerous packages and fixed tests
fixed issue with import pathing
* Validation/transformation updates/cleanup.
* Updates to date handling in transformation code.
…ths, tsconfig, etc. (#1042)

* Update some material import paths.
* Update tsconfig/prettier/eslint versions.
* Remove unused React imports
* Update jest versionss
…s Once They Have Been Submitted (#1043)

* Disabled importing Observations and Summary Results if they have already been submitted to BioHub

* Disabled deleting Observations, Summary Results, Reports or Attachment sif they have already been submitted to BioHub

* Disabled the option to Remove or Resubmit and Obseration, Summary Result, Report or Attachment if it hasn't been submitted to BioHub

* Removed full page reload when navigating from a survey back to the parent project when clicking Back to Project

* Refactored the Remove or Resubmit dialog and related components
Partnerships combined into a single array
@sonarcloud
Copy link

sonarcloud bot commented Jun 27, 2023

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.8% 0.8% Duplication

@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Merging #1047 (bb3fc45) into prod (8f9e869) will decrease coverage by 0.57%.
The diff coverage is 58.35%.

@@            Coverage Diff             @@
##             prod    #1047      +/-   ##
==========================================
- Coverage   68.16%   67.59%   -0.57%     
==========================================
  Files         383      392       +9     
  Lines       11882    12232     +350     
  Branches     2023     2096      +73     
==========================================
+ Hits         8099     8268     +169     
- Misses       3314     3445     +131     
- Partials      469      519      +50     
Impacted Files Coverage Δ
api/src/paths/project/{projectId}/survey/create.ts 96.15% <ø> (ø)
...project/{projectId}/survey/funding-sources/list.ts 88.00% <ø> (ø)
...hs/project/{projectId}/survey/{surveyId}/delete.ts 94.59% <0.00%> (ø)
...d}/survey/{surveyId}/observation/submission/get.ts 84.84% <0.00%> (ø)
...aths/project/{projectId}/survey/{surveyId}/view.ts 95.83% <ø> (ø)
api/src/paths/project/{projectId}/view.ts 95.65% <ø> (ø)
api/src/paths/user/self.ts 96.00% <ø> (-0.30%) ⬇️
api/src/paths/user/{userId}/get.ts 95.65% <ø> (-0.78%) ⬇️
api/src/paths/user/{userId}/system-roles/update.ts 96.42% <ø> (-0.72%) ⬇️
api/src/paths/version.ts 100.00% <ø> (ø)
... and 142 more

... and 50 files with indirect coverage changes

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

@al-rosenthal al-rosenthal changed the title Production Release Release test -> prod Jun 27, 2023
@al-rosenthal al-rosenthal changed the title Release test -> prod SIMS-BIOHUB-126: Release test -> prod Jun 27, 2023
@NickPhura
Copy link
Collaborator

Closing to save resources, for now, until releasing to Prod is re-prioritized.

@NickPhura NickPhura closed this Aug 2, 2023
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.

7 participants