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 improvements on subscription with activation key #2396

Merged
merged 8 commits into from
Feb 1, 2024

Conversation

adeliaferreira
Copy link
Contributor

Description

After hot fixes from last week, this PR will address some of comments we have open on subscription to image.
It's create a new func that will create the subscription object to fill "req.customizations.subscription" if adequate and more tests to validate it.

FIXES:

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

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2024

Codecov Report

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

Comparison is base (cee7574) 62.58% compared to head (ae0c852) 62.74%.
Report is 3 commits behind head on main.

Files Patch % Lines
pkg/clients/imagebuilder/client.go 73.91% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2396      +/-   ##
==========================================
+ Coverage   62.58%   62.74%   +0.15%     
==========================================
  Files          88       88              
  Lines       13380    13409      +29     
==========================================
+ Hits         8374     8413      +39     
+ Misses       4323     4313      -10     
  Partials      683      683              

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

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.

I love that you created a helper function! Left a question for you. I was a bit confused with the tests, but I don't have time to review the entire test suite (maybe some of the context I'm missing is already set somewhere else?).

pkg/clients/imagebuilder/client.go Show resolved Hide resolved
Copy link
Contributor

mergify bot commented Jan 30, 2024

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

@mergify mergify bot added the question Further information is requested label Jan 30, 2024
Signed-off-by: Adelia Ferreira <[email protected]>
Copy link
Contributor

@ldjebran ldjebran left a comment

Choose a reason for hiding this comment

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

looks good , left some comments.

@mergify mergify bot removed the question Further information is requested label Feb 1, 2024
Copy link
Contributor

mergify bot commented Feb 1, 2024

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

@mergify mergify bot added the question Further information is requested label Feb 1, 2024
Signed-off-by: Adelia Ferreira <[email protected]>
Copy link
Contributor

@ldjebran ldjebran left a comment

Choose a reason for hiding this comment

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

lgtm, many thanks Tay

@mergify mergify bot removed the question Further information is requested label Feb 1, 2024
@mergify mergify bot merged commit eb4aaa6 into RedHatInsights:main Feb 1, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fixes #issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants