feat: extend metadata-info endpoint to return all 4 TUF roles - #98
feat: extend metadata-info endpoint to return all 4 TUF roles#98fghanmi wants to merge 2 commits into
Conversation
Signed-off-by: Firas Ghanmi <fghanmi@redhat.com>
PR Summary by QodoExtend trust metadata-info endpoint to return all 4 TUF roles
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #98 +/- ##
========================================
+ Coverage 3.78% 4.28% +0.50%
========================================
Files 9 9
Lines 2536 2566 +30
========================================
+ Hits 96 110 +14
- Misses 2433 2449 +16
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Code Review by Qodo
1. tufRepositoryUrl parameter ignored
|
Signed-off-by: Firas Ghanmi <fghanmi@redhat.com>
Extend
/api/v1/trust/metadata-infoto return metadata for all 4 TUF roles (root, targets, snapshot, timestamp) instead of only root. Response is restructured as a dict keyed by role name.