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

SPIKE: Siteminder Refresh #3720

Merged
merged 2 commits into from
Feb 13, 2024
Merged

Conversation

devinleighsmith
Copy link
Collaborator

POC possible implementation of siteminder token refresh.

@devinleighsmith devinleighsmith added the enhancement New feature or request label Jan 17, 2024
@devinleighsmith devinleighsmith self-assigned this Jan 17, 2024
Copy link
Contributor

✅ No secrets were detected in the code.

@devinleighsmith devinleighsmith changed the title Siteminder Refresh SPIKE: Siteminder Refresh Jan 17, 2024
Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Contributor

✅ No secrets were detected in the code.

1 similar comment
Copy link
Contributor

✅ No secrets were detected in the code.

Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8e1614c) 74.91% compared to head (4ffcf8a) 73.90%.
Report is 109 commits behind head on 5.1.

❗ Current head 4ffcf8a differs from pull request most recent head 3a60b49. Consider uploading reports for the commit 3a60b49 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              5.1    #3720      +/-   ##
==========================================
- Coverage   74.91%   73.90%   -1.01%     
==========================================
  Files        1439      950     -489     
  Lines       37184    20388   -16796     
  Branches     6973     5873    -1100     
==========================================
- Hits        27855    15067   -12788     
+ Misses       9051     5321    -3730     
+ Partials      278        0     -278     
Flag Coverage Δ
unittests 73.90% <ø> (-1.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...frontend/src/components/common/UserNameTooltip.tsx 95.23% <ø> (-4.77%) ⬇️
source/frontend/src/features/account/Login.tsx 93.75% <ø> (+0.64%) ⬆️
...rontend/src/features/documents/ComposedDocument.ts 82.71% <ø> (ø)
...es/documents/documentDetail/DocumentDetailForm.tsx 50.00% <ø> (ø)
...es/documents/documentDetail/DocumentDetailView.tsx 80.00% <ø> (ø)
...eatures/mapSideBar/acquisition/common/constants.ts 100.00% <ø> (ø)
...c/features/mapSideBar/acquisition/common/models.ts 83.89% <ø> (ø)
...ion/tabs/agreement/update/UpdateAgreementsForm.tsx 71.42% <ø> (-0.99%) ⬇️
...ideBar/acquisition/tabs/agreement/update/models.ts 100.00% <ø> (ø)
...ation/detail/CompensationRequisitionDetailView.tsx 73.45% <ø> (-0.24%) ⬇️
... and 9 more

... and 495 files with indirect coverage changes

Copy link
Contributor

✅ No secrets were detected in the code.

@devinleighsmith devinleighsmith marked this pull request as draft January 26, 2024 18:09
@devinleighsmith
Copy link
Collaborator Author

Converting back to draft, this should not be merged until 5.1

@devinleighsmith devinleighsmith marked this pull request as ready for review January 26, 2024 18:15
@devinleighsmith devinleighsmith changed the base branch from dev to 5.1 January 26, 2024 18:16
axios.get(parcelsLayerUrl + siteminderRefreshUrl);
}, [parcelsLayerUrl, siteminderRefreshUrl]);

return useMemo(
Copy link
Collaborator

Choose a reason for hiding this comment

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

this looks kind odd, but should it be a state rather than a computed variable that only depends on itself for updating?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

uh, yeah, this is from a pattern I use where multiple functions are being returned from a hook. Not necessary in this case.

@devinleighsmith devinleighsmith merged commit ef8f69d into bcgov:5.1 Feb 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.1 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants