8000 feat: Raft Autopilot endpoints by kayra1 · Pull Request #1176 · hvac/hvac · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: Raft Autopilot endpoints #1176

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

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 8000 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
8000

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%) ⬇️

@kayra1
Copy link
Author
kayra1 commented Jul 9, 2024

hello @briantist . I was just wondering if there was anything missing from my end about this.

@briantist
Copy link
Contributor

@kayra1 I have not had a chance to look over it in detail. I would like to see more test coverage if possible. I know we don't use raft in the tests at all so integration is probably not feasible but unit tests might be.

@kayra1
Copy link
Author
kayra1 commented Jul 10, 2024

@briantist I was basing the files i changed to this PR, which seems to have done something similar. I will investigate the unit tests and add some if I can, a 8435 nd let you know if I run into any issues.

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
0