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

updates: implement inventoryGroupDevicesInfo #2304

Conversation

ldjebran
Copy link
Contributor

Description

In the context of inventory group details view we want to update devices of an inventory group. But before that we to need to retrieve validation data and the device uuids related to this group.

FIXES: https://issues.redhat.com/browse/THEEDGE-3539

Type of change

What is it?

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation update
  • Tests update
  • Refactor

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I run make pre-commit to check fmt/vet/lint/test-no-fdo

pkg/models/updates_api.go Show resolved Hide resolved
pkg/routes/updates.go Show resolved Hide resolved
Copy link
Contributor

mergify bot commented Nov 15, 2023

This pull request needs all conversation threads to be resolved. Could you fix it @ldjebran? 🙏

@mergify mergify bot added question Further information is requested and removed question Further information is requested labels Nov 15, 2023
acosferreira
acosferreira previously approved these changes Nov 15, 2023
Copy link
Contributor

@acosferreira acosferreira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

mergify bot commented Nov 15, 2023

This pull request is now in conflicts. Could you fix it @ldjebran? 🙏

@mergify mergify bot added the conflict Code conflict label Nov 15, 2023
@ldjebran ldjebran force-pushed the implement-inventory-group-devices-update-info branch from f5c5f82 to d162fdc Compare November 15, 2023 17:26
@mergify mergify bot dismissed acosferreira’s stale review November 15, 2023 17:26

New commit(s) added, removing existing approval(s)

@mergify mergify bot removed the conflict Code conflict label Nov 15, 2023
acosferreira
acosferreira previously approved these changes Nov 15, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2023

Codecov Report

Attention: 17 lines in your changes are missing coverage. Please review.

Comparison is base (88ab52f) 62.20% compared to head (61e905d) 62.36%.

Files Patch % Lines
pkg/routes/updates.go 79.03% 9 Missing and 4 partials ⚠️
pkg/services/updates.go 91.89% 2 Missing and 1 partial ⚠️
pkg/dependencies/main.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2304      +/-   ##
==========================================
+ Coverage   62.20%   62.36%   +0.16%     
==========================================
  Files          86       86              
  Lines       12842    12942     +100     
==========================================
+ Hits         7988     8071      +83     
- Misses       4194     4206      +12     
- Partials      660      665       +5     

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

In the context of inventory group details view we want to update devices of an inventory group.
But before that we to need to retrieve validation data and the device uuids related to this group.

FIXES: https://issues.redhat.com/browse/THEEDGE-3539
@ldjebran ldjebran force-pushed the implement-inventory-group-devices-update-info branch from d162fdc to 61e905d Compare November 15, 2023 17:53
@mergify mergify bot dismissed acosferreira’s stale review November 15, 2023 17:53

New commit(s) added, removing existing approval(s)

Copy link
Contributor

@omaciel omaciel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@mergify mergify bot merged commit b8aa4ae into RedHatInsights:main Nov 15, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants