ROX-30352: define VirtualMachineV2Service proto with all RPCs#19663
ROX-30352: define VirtualMachineV2Service proto with all RPCs#19663
Conversation
Define the full API contract for the new VirtualMachineV2Service with 10 REST endpoints serving the V2 normalized data model for VM vulnerability management. Uses the UnimplementedServer stub pattern so endpoints can be delivered incrementally in follow-up PRs. No behavioral change — the service is not registered yet. Partially generated by AI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Skipping CI for Draft Pull Request. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This change is part of the following stack:
Change managed by git-spice. |
|
Images are ready for the commit at faf5bbe. To use with deploy scripts, first |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #19663 +/- ##
=======================================
Coverage 49.37% 49.38%
=======================================
Files 2743 2743
Lines 207020 207037 +17
=======================================
+ Hits 102215 102235 +20
+ Misses 97221 97219 -2
+ Partials 7584 7583 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Part 1/6 of the VirtualMachineV2Service API stack (ROX-30352).
Defines the full gRPC/REST API contract for the new
VirtualMachineV2Servicewith 10 endpoints serving the V2 normalized data model for VM vulnerability management. All messages, enums, and RPC definitions are included upfront so that theUnimplementedServerstub provides safe defaults while endpoints are delivered incrementally in follow-up PRs.No behavioral change - the service is not registered yet.
User-facing documentation
Testing and quality
Automated testing
No tests needed - proto definitions and generated code only. Compilation verified locally.
How I validated my change
make proto-generated-srcssucceedsgo build ./generated/api/v2/...compiles cleanlymake proto-stylepasses