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 missing OpenShiftReadiness.isReadinessApplicable #2558

Merged
merged 1 commit into from Oct 27, 2020

Conversation

Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Oct 22, 2020

This is to make OpenShiftReadiness a drop-in replacement
for Readiness for OpenShift users.

Fixes #2557.

Description

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change
  • Chore (non-breaking change which doesn't affect codebase;
    test, version modification, documentation, etc.)

Checklist

  • Code contributed by me aligns with current project license: Apache 2.0
  • I Added CHANGELOG entry regarding this change
  • I have implemented unit tests to cover my changes
  • I have added/updated the javadocs and other documentation accordingly
  • No new bugs, code smells, etc. in SonarCloud report
  • I tested my code in Kubernetes
  • I tested my code in OpenShift

This is to make `OpenShiftReadiness` a drop-in replacement
for `Readiness` for OpenShift users.
@centos-ci
Copy link

Can one of the admins verify this patch?

@sonarcloud
Copy link

sonarcloud bot commented Oct 22, 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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (1.8.0_265) 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

Copy link
Member

@manusa manusa left a comment

Choose a reason for hiding this comment

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

thx!

@manusa
Copy link
Member

manusa commented Oct 27, 2020

[merge]

@fusesource-ci fusesource-ci merged commit 1a920c4 into fabric8io:master Oct 27, 2020
@pjgg
Copy link

pjgg commented Feb 22, 2021

@rohanKanojia
Do you know, in which version this method is going to be available? , I mean public ...

protected boolean isReadinessApplicable(HasMetadata item) -> public boolean isReadinessApplicable(HasMetadata item)

@rohanKanojia
Copy link
Member

rohanKanojia commented Feb 22, 2021

From commit info it looks like this change is available since 4.13.0 to latest releases

@pjgg
Copy link

pjgg commented Feb 23, 2021

@manusa
Copy link
Member

manusa commented Mar 4, 2021

@rohanKanojia
Do you know, in which version this method is going to be available? , I mean public ...

protected boolean isReadinessApplicable(HasMetadata item) -> public boolean isReadinessApplicable(HasMetadata item)

Hi @pjgg
What's your use-case, why do you need that method to be public?

@Ladicek Ladicek deleted the openshift-readiness branch March 4, 2021 07:37
@Ladicek
Copy link
Contributor Author

Ladicek commented Mar 4, 2021

We should probably file a separate issue, something like "make the Readiness API public". I've personally used that API on multiple occasions, for example in a test framework that deploys applications and then waits for their readiness. Or in tests that rolls out new applications versions and, again, waits for their readiness.

@rohanKanojia
Copy link
Member

@Ladicek : I think there is an issue already for this: #2838

@Ladicek
Copy link
Contributor Author

Ladicek commented Mar 4, 2021

Nice, didn't know that, thanks!

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.

OpenShiftReadiness is missing isReadinessApplicable
6 participants