feat: add HostName field to WorkloadViews for inventory host filter#604
feat: add HostName field to WorkloadViews for inventory host filter#604
Conversation
SUB-6828: Supports the new Host filter on the inventory page by adding a HostName field to the API model. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds a HostName field to the shared armotypes.WorkloadViews DTO to support inventory host filtering (SUB-6828) across downstream services that consume this module.
Changes:
- Extend
WorkloadViewswithHostName stringserialized ashostName(omitempty).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…deprecation Add a new Type field to the WorkloadViews struct for enhanced workload classification. The existing Kind field is marked for deprecation in future versions, ensuring a smoother transition for API consumers.
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughAdds two new fields ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
✨ 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 |
Summary
HostName stringfield toWorkloadViewsstruct inarmotypes/workloadview.goJira
SUB-6828
Multi-Repo Merge Order
Test plan
go build ./...passes🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Deprecations
Kindfield has been marked as deprecated.