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

Equivalent of @EnableKubernetesMockClient for OpenshiftClient? #2699

Closed
jarebudev opened this issue Dec 26, 2020 · 1 comment · Fixed by #2785 or jenkinsci/kubernetes-client-api-plugin#83
Assignees
Labels
component/openshift-server-mock Deals with the openshift-server-mock enhancement platform/openshift Specific to OpenShift question
Milestone

Comments

@jarebudev
Copy link

Hi,

Is there an equivalent for @EnableKubernetesMockClient for the OpenShiftClient?

@EnableOpenshiftMockClient
class ExampleTest {

    OpenShiftClient client;

    @Test
    public void testInStandardMode() {
            ...
    }
}
@manusa
Copy link
Member

manusa commented Dec 30, 2020

This feature was recently added #2320 and there is yet no OpenShiftClient equivalent available.

A proper extended extension could be created under the openshift-server-mock module.

@manusa manusa added enhancement component/openshift-server-mock Deals with the openshift-server-mock platform/openshift Specific to OpenShift labels Dec 30, 2020
@manusa manusa added this to the 5.1.0 milestone Jan 18, 2021
@rohanKanojia rohanKanojia self-assigned this Feb 4, 2021
rohanKanojia added a commit to rohanKanojia/kubernetes-client that referenced this issue Feb 4, 2021
…OpenShiftClient

Add OpenShiftMockServerExtension based on KubernetesMockServerExtension
rohanKanojia added a commit to rohanKanojia/kubernetes-client that referenced this issue Feb 4, 2021
…OpenShiftClient

Add OpenShiftMockServerExtension based on KubernetesMockServerExtension
rohanKanojia added a commit to rohanKanojia/kubernetes-client that referenced this issue Feb 9, 2021
…OpenShiftClient

Add OpenShiftMockServerExtension based on KubernetesMockServerExtension
rohanKanojia added a commit to rohanKanojia/kubernetes-client that referenced this issue Feb 10, 2021
…OpenShiftClient

Add OpenShiftMockServerExtension based on KubernetesMockServerExtension
@manusa manusa modified the milestones: 5.1.0, 5.2.0 Feb 17, 2021
rohanKanojia added a commit to rohanKanojia/kubernetes-client that referenced this issue Feb 18, 2021
…OpenShiftClient

Add OpenShiftMockServerExtension based on KubernetesMockServerExtension
manusa pushed a commit to rohanKanojia/kubernetes-client that referenced this issue Mar 1, 2021
…OpenShiftClient

Add OpenShiftMockServerExtension based on KubernetesMockServerExtension
manusa pushed a commit that referenced this issue Mar 1, 2021
…Client

Add OpenShiftMockServerExtension based on KubernetesMockServerExtension
This was referenced Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment