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

fix: BaseGenerator retrieves runtime mode from context #199

Merged

Conversation

manusa
Copy link
Member

@manusa manusa commented May 12, 2020

  • Runtime mode was being computed from System properties that
    were never set in the first place (this is specific to ResourceMojo)
  • TODO: Refactor BaseEnricher so it behaves like BaseGenerator
    (not critical because it works as the properties are there for
    enrichers)

- Runtime mode was being computed from System properties that
  were never set in the first place (this is specific to ResourceMojo)
- TODO: Refactor BaseEnricher so it behaves like BaseGenerator
  (not critical because it works as the properties are there for
   enrichers)

Signed-off-by: Marc Nuri <marc@marcnuri.com>
@codecov
Copy link

codecov bot commented May 12, 2020

Codecov Report

Merging #199 into master will increase coverage by 0.00%.
The diff coverage is 62.50%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #199   +/-   ##
=========================================
  Coverage     26.22%   26.22%           
- Complexity     1576     1577    +1     
=========================================
  Files           350      350           
  Lines         18275    18276    +1     
  Branches       2806     2807    +1     
=========================================
+ Hits           4792     4793    +1     
+ Misses        12926    12925    -1     
- Partials        557      558    +1     
Impacted Files Coverage Δ Complexity Δ
...eclipse/jkube/kit/config/resource/RuntimeMode.java 83.33% <0.00%> (ø) 3.00 <0.00> (ø)
...pse/jkube/generator/api/support/BaseGenerator.java 62.85% <71.42%> (+0.35%) 31.00 <15.00> (+1.00)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 332c121...57e7231. Read the comment docs.

@sonarcloud
Copy link

sonarcloud bot commented May 12, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

69.6% 69.6% Coverage
0.0% 0.0% Duplication

@rohanKanojia rohanKanojia merged commit 8ef0e0c into eclipse-jkube:master May 13, 2020
@manusa manusa deleted the fix/generator-runtime-mode branch May 13, 2020 04:56
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.

None yet

2 participants