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

Add Team BOM api endpoint #4849

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

Add Team BOM api endpoint #4849

wants to merge 4 commits into from

Conversation

hardillb
Copy link
Contributor

@hardillb hardillb commented Dec 2, 2024

part of #4823

Description

  • /api/v1/teams/<teamId>/bom GET returns array of Applicaiton BOM entries.

Requires Owner permissions

Related Issue(s)

#4823

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

  • Includes a DB migration? -> add the area:migration label

part of #4823

- `/api/v1/teams/<teamId>/bom` GET returns array of Applicaiton
  BOM entries.

Requires Owner permissions
@hardillb hardillb requested a review from cstns December 2, 2024 10:32
@hardillb hardillb self-assigned this Dec 2, 2024
@hardillb
Copy link
Contributor Author

hardillb commented Dec 2, 2024

Needs tests

Copy link

codecov bot commented Dec 2, 2024

Codecov Report

Attention: Patch coverage is 82.69231% with 9 lines in your changes missing coverage. Please review.

Project coverage is 78.71%. Comparing base (511acde) to head (8576249).
Report is 38 commits behind head on main.

Files with missing lines Patch % Lines
forge/routes/api/shared/team.js 75.75% 8 Missing ⚠️
forge/ee/routes/bom/team.js 93.75% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4849      +/-   ##
==========================================
+ Coverage   78.67%   78.71%   +0.04%     
==========================================
  Files         314      317       +3     
  Lines       15125    15169      +44     
  Branches     3483     3487       +4     
==========================================
+ Hits        11900    11941      +41     
- Misses       3225     3228       +3     
Flag Coverage Δ
backend 78.71% <82.69%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant