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

Rename auth -> auth_methods; Add AuthMethods class #310

Merged

Conversation

@jeffwecan
Copy link
Collaborator

commented Oct 29, 2018

Part 1 of 3 large refactors of how we organize auth methods, secrets engines, and system backend classes. This moves all auth method-related classes under an "auth_methods" module. It also adds a new "auth" property used to access instances of these classes under the Client class.

@jeffwecan jeffwecan added this to the 0.7.0 milestone Oct 29, 2018

@jeffwecan jeffwecan added this to In progress in Breakout Client Class Methods via automation Oct 29, 2018

@codecov-io

This comment has been minimized.

Copy link

commented Oct 29, 2018

Codecov Report

Merging #310 into master will decrease coverage by 0.41%.
The diff coverage is 80%.

@@            Coverage Diff            @@
##           master    #310      +/-   ##
=========================================
- Coverage   91.31%   90.9%   -0.42%     
=========================================
  Files          25      25              
  Lines        1474    1462      -12     
=========================================
- Hits         1346    1329      -17     
- Misses        128     133       +5
Impacted Files Coverage Δ
hvac/api/auth_methods/ldap.py 100% <ø> (ø)
hvac/api/auth_methods/gcp.py 94.52% <ø> (ø)
hvac/api/auth_methods/azure.py 98.3% <ø> (ø)
hvac/api/auth_methods/github.py 100% <ø> (ø)
hvac/api/auth_methods/mfa.py 100% <ø> (ø)
hvac/constants/client.py 100% <100%> (ø)
hvac/api/azure.py 95% <100%> (ø) ⬆️
hvac/api/__init__.py 100% <100%> (ø) ⬆️
hvac/api/auth_methods/__init__.py 72.22% <72.22%> (ø)
hvac/v1/__init__.py 86.15% <85.71%> (-0.18%) ⬇️
... and 2 more

@jeffwecan jeffwecan merged commit e82e7d0 into hvac:master Oct 29, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

Breakout Client Class Methods automation moved this from In progress to Done Oct 29, 2018

@jeffwecan jeffwecan deleted the jeffwecan:rearrange_api_classes_a_smidge_auth_version branch Oct 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.