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 #184: IngressEnricher seems to be broken #213

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

rohanKanojia
Copy link
Member

@codecov
Copy link

codecov bot commented May 28, 2020

Codecov Report

Merging #213 into master will increase coverage by 0.71%.
The diff coverage is 49.23%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #213      +/-   ##
============================================
+ Coverage     27.40%   28.11%   +0.71%     
- Complexity     1669     1689      +20     
============================================
  Files           353      353              
  Lines         18310    18202     -108     
  Branches       2781     2761      -20     
============================================
+ Hits           5017     5117     +100     
+ Misses        12729    12486     -243     
- Partials        564      599      +35     
Impacted Files Coverage Δ Complexity Δ
...ipse/jkube/kit/config/resource/ResourceConfig.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...g/eclipse/jkube/kit/enricher/api/BaseEnricher.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
.../kit/enricher/api/util/KubernetesResourceUtil.java 16.92% <0.00%> (-0.27%) 30.00 <0.00> (ø)
...ube/enricher/generic/DefaultNamespaceEnricher.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...ube/enricher/generic/openshift/ExposeEnricher.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...lipse/jkube/maven/plugin/mojo/build/ApplyMojo.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...se/jkube/maven/plugin/mojo/build/ResourceMojo.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...kube/enricher/generic/openshift/RouteEnricher.java 59.25% <51.92%> (+59.25%) 10.00 <7.00> (+10.00)
...clipse/jkube/enricher/generic/IngressEnricher.java 58.42% <60.65%> (+58.42%) 10.00 <8.00> (+10.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 3f5c783...d3f6e45. Read the comment docs.

withHost(routeDomainPostfix.isEmpty() ? null : routeDomainPostfix).
endSpec();

// removing `expose : true` label from metadata.
Copy link
Member

Choose a reason for hiding this comment

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

What does this imply?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's about removing expose=true labels added by ExposeEnricher

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I see that. But what does that expose=true label > ExposeEnricher do?

I think it something fabric8 only related (hence deprecated) but I may be wrong

https://blog.fabric8.io/additional-kubernetes-controllers-from-fabric8-you-can-use-with-your-microservice-3126a2c4c132
https://github.com/jenkins-x/exposecontroller

@sonarcloud
Copy link

sonarcloud bot commented Jun 4, 2020

SonarCloud Quality Gate failed.

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

57.1% 57.1% Coverage
0.0% 0.0% Duplication

warning The version of Java (1.8.0_131) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11.
Read more here

@manusa manusa merged commit e11392a into eclipse-jkube:master Jun 5, 2020
@rohanKanojia rohanKanojia deleted the pr/issue184 branch July 7, 2020 09:32
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.

IngressEnricher seems to be broken
2 participants