Skip to content

Conversation

@Buzz1167
Copy link
Collaborator

@Buzz1167 Buzz1167 commented Jul 19, 2024

Description

Scaler uses PyHPS and pyHPS didn't support OIDC discovery, only hardcoded things for keycloak, add those new features and a new one to allow grabbing the auth_url from JMS instead of the client needing to know it.

Checklist

  • I have tested these changes locally.
  • I have added unit tests (if appropriate).
  • I have added necessary documentation or updated existing documentation.
  • I have linked the issue(s) addressed by this PR if any.

@codecov
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

Attention: Patch coverage is 73.97260% with 19 lines in your changes missing coverage. Please review.

Project coverage is 93.25%. Comparing base (f9cad07) to head (228a764).
Report is 1 commits behind head on main.

Files Patch % Lines
src/ansys/hps/client/client.py 66.66% 15 Missing ⚠️
src/ansys/hps/client/authenticate.py 85.71% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #431      +/-   ##
==========================================
- Coverage   93.75%   93.25%   -0.51%     
==========================================
  Files          64       64              
  Lines        2435     2489      +54     
==========================================
+ Hits         2283     2321      +38     
- Misses        152      168      +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@FedericoNegri FedericoNegri left a comment

Choose a reason for hiding this comment

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

Left a minor comment about removing a warning, otherwise looks good to me.
Since this is backward compatible, can be merged at any time.

I guess proper testing against Ansys ID needs to happen elsewhere.

@Buzz1167 Buzz1167 merged commit 03608d5 into main Aug 23, 2024
@Buzz1167 Buzz1167 deleted the jnovak/ansys_id_support branch August 23, 2024 16:33
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