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

feat: Raft Autopilot endpoints #1176

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

kayra1
Copy link

@kayra1 kayra1 commented Jun 21, 2024

closes #1165

This adds 3 endpoints from the autopilot feature of Vault as described in the issue #1165 .

I locally validated and wrote tests for these functions, but I added a skip reason stating that the integration tests currently only support Consul. I am not too familiar with the testing setup in this repo, but let me know if there is anything I can address there.

Thanks.

@kayra1 kayra1 marked this pull request as ready for review June 21, 2024 17:15
@kayra1 kayra1 requested a review from a team as a code owner June 21, 2024 17:15
@briantist briantist self-assigned this Jun 21, 2024
@briantist briantist added this to the 2.4.0 milestone Jun 21, 2024
@briantist briantist added enhancement a new feature or addition system backend generally related to the Vault system backend routes minor Used as part of release-drafter's version-resolver configuration labels Jun 21, 2024
@briantist
Copy link
Contributor

thanks @kayra1 and welcome! It'll take me a little time to review this more closely. In the meantime, take a look at the lint/test runs in CI, consider running linting, formatting, and tests locally to enable more rapid iteration so you don't have to wait for CI (I have to approve each new push for first time contributors).

cc @tot19 since I think you were interested as well

@kayra1
Copy link
Author

kayra1 commented Jun 21, 2024

will do, thanks

Copy link

codecov bot commented Jun 24, 2024

Codecov Report

Attention: Patch coverage is 30.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 87.38%. Comparing base (b76e0ed) to head (174bdf0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1176      +/-   ##
==========================================
- Coverage   87.56%   87.38%   -0.18%     
==========================================
  Files          67       67              
  Lines        3288     3298      +10     
==========================================
+ Hits         2879     2882       +3     
- Misses        409      416       +7     
Files Coverage Δ
hvac/api/system_backend/raft.py 35.29% <30.00%> (-1.30%) ⬇️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement a new feature or addition minor Used as part of release-drafter's version-resolver configuration system backend generally related to the Vault system backend routes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add raft autopilot set-configuration option
2 participants