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

18522, 18525 - updates to REQUEST affiliation #2642

Merged
merged 5 commits into from
Nov 21, 2023
Merged

Conversation

hfekete
Copy link
Collaborator

@hfekete hfekete commented Nov 20, 2023

Issue #:18522 bcgov/entity#18522
Issue #:18525 bcgov/entity#18525

Description of changes:
Updates to REQUEST affiliation.

  • filtered out SBC_STAFF and STAFF accounts from the list.
  • added branch name in list display.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).

Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Merging #2642 (6e58f75) into main (261dc17) will increase coverage by 8.78%.
Report is 160 commits behind head on main.
The diff coverage is 89.41%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2642      +/-   ##
==========================================
+ Coverage   80.71%   89.50%   +8.78%     
==========================================
  Files         322      178     -144     
  Lines       11915     9421    -2494     
  Branches      618       48     -570     
==========================================
- Hits         9617     8432    -1185     
+ Misses       2289      977    -1312     
- Partials        9       12       +3     
Flag Coverage Δ
accountmailerqueue 83.91% <ø> (-4.02%) ⬇️
activityloglistenerqueue ?
authapi 89.94% <89.41%> (-0.02%) ⬇️
authweb ∅ <ø> (∅)
eventlistenerqueue ?

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

Files Coverage Δ
auth-api/src/auth_api/__init__.py 85.33% <100.00%> (ø)
auth-api/src/auth_api/config.py 99.39% <100.00%> (+<0.01%) ⬆️
auth-api/src/auth_api/exceptions/errors.py 100.00% <100.00%> (ø)
auth-api/src/auth_api/models/affiliation.py 94.82% <100.00%> (+2.14%) ⬆️
auth-api/src/auth_api/models/dataclass.py 100.00% <100.00%> (ø)
auth-api/src/auth_api/models/membership.py 72.41% <100.00%> (ø)
auth-api/src/auth_api/models/org.py 93.52% <100.00%> (+0.11%) ⬆️
auth-api/src/auth_api/models/product_code.py 96.66% <100.00%> (+0.11%) ⬆️
...th-api/src/auth_api/models/product_subscription.py 100.00% <ø> (ø)
auth-api/src/auth_api/resources/__init__.py 100.00% <100.00%> (ø)
... and 48 more

... and 153 files with indirect coverage changes

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
No Duplication information No Duplication information

@@ -158,12 +159,19 @@ def search_org(cls, search: OrgSearch, environment: str):
return pagination.items, pagination.total

@classmethod
def search_orgs_by_business_identifier(cls, business_identifier, pagination_info: PaginationInfo, environment):
def search_orgs_by_business_identifier(cls,
Copy link
Collaborator

@seeker25 seeker25 Nov 21, 2023

Choose a reason for hiding this comment

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

Alotta params, would have combined pagination_info, excluded_org_types together - they both affect the query

But this should be ok, environment we'll eventually gun anyways

@seeker25 seeker25 merged commit a93a8e5 into bcgov:main Nov 21, 2023
28 of 29 checks passed
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.

3 participants