-
Notifications
You must be signed in to change notification settings - Fork 542
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
refactor (jkube-kit) : Add GeneratorManager interface in jkube-kit/config/image
#2766
refactor (jkube-kit) : Add GeneratorManager interface in jkube-kit/config/image
#2766
Conversation
Eclipse JKube CI ReportStarted new GH workflow run for #2766 (2024-03-05T08:31:01Z) ⚙️ JKube E2E Tests (8153053508)
|
7e049f0
to
325b44f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2766 +/- ##
=============================================
+ Coverage 59.36% 70.58% +11.22%
- Complexity 4586 5013 +427
=============================================
Files 500 486 -14
Lines 21211 19462 -1749
Branches 2830 2504 -326
=============================================
+ Hits 12591 13738 +1147
+ Misses 7370 4502 -2868
+ Partials 1250 1222 -28 ☔ View full report in Codecov by Sentry. |
needs rebasing |
325b44f
to
92a4d7c
Compare
@@ -64,6 +65,7 @@ public abstract class AbstractJKubeTask extends DefaultTask implements Kubernete | |||
protected static final String DOCKER_BUILD_TIMESTAMP = "docker/build.timestamp"; | |||
protected List<ImageConfiguration> resolvedImages; | |||
protected DefaultEnricherManager enricherManager; | |||
protected GeneratorManager generatorManager; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's unclear to me why the variable is needed
…onfig/image` + Add an interface `GeneratorManager` in `jkube-kit/config/image` + Rename existing `GeneratorManager` to `DefaultGeneratorManager` that will implement above interface, rather than relying on static method. + Update maven Mojos and AbstractJKubeTask to use GeneratorManager interface method instead of static method Signed-off-by: Rohan Kumar <rohaan@redhat.com>
92a4d7c
to
2aa8992
Compare
|
Description
Refactor related to #2378 (comment)
GeneratorManager
injkube-kit/config/image
GeneratorManager
toDefaultGeneratorManager
that will implement above interface, rather than relying on static method.Type of change
test, version modification, documentation, etc.)
Checklist