Class WildFlyOpenshiftExtension

  • All Implemented Interfaces:
    io.dekorate.testing.openshift.WithOpenshiftConfig, io.dekorate.testing.openshift.WithOpenshiftIntegrationTest, io.dekorate.testing.openshift.WithOpenshiftResources, io.dekorate.testing.openshift.WithRoute, io.dekorate.testing.WithBaseConfig, io.dekorate.testing.WithClosables, io.dekorate.testing.WithDiagnostics, io.dekorate.testing.WithEvents, io.dekorate.testing.WithImageConfig, io.dekorate.testing.WithIntegrationTestConfig, io.dekorate.testing.WithKubernetesClient, io.dekorate.testing.WithPod, io.dekorate.testing.WithProject, org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.ExecutionCondition, org.junit.jupiter.api.extension.Extension, org.junit.jupiter.api.extension.TestInstancePostProcessor, org.junit.jupiter.api.extension.TestWatcher

    public class WildFlyOpenshiftExtension
    extends io.dekorate.testing.openshift.OpenshiftExtension
    • Field Summary

      • Fields inherited from interface io.dekorate.testing.WithBaseConfig

        KUBERNETES_CONFIG_PATH
      • Fields inherited from interface io.dekorate.testing.WithClosables

        CLOSABLES
      • Fields inherited from interface io.dekorate.testing.WithDiagnostics

        EXTENSION_ERROR, READINESS_FAILED
      • Fields inherited from interface io.dekorate.testing.WithImageConfig

        CONFIG_DIR, CONFIG_YML
      • Fields inherited from interface io.dekorate.testing.WithKubernetesClient

        KUBERNETES_CLIENT
      • Fields inherited from interface io.dekorate.testing.openshift.WithOpenshiftConfig

        CONFIG_DIR, OPENSHIFT_YML
      • Fields inherited from interface io.dekorate.testing.openshift.WithOpenshiftIntegrationTest

        DEFAULT_INTEGRATION_TEST_CONFIG
      • Fields inherited from interface io.dekorate.testing.openshift.WithOpenshiftResources

        MANIFEST_PATH
      • Fields inherited from interface io.dekorate.testing.WithProject

        PROJECT_YML, PROJECTS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterAll​(org.junit.jupiter.api.extension.ExtensionContext context)  
      void beforeAll​(org.junit.jupiter.api.extension.ExtensionContext context)  
      org.wildfly.test.cloud.common.WildFlyOpenshiftIntegrationTestConfig getIntegrationTestConfig​(org.junit.jupiter.api.extension.ExtensionContext context)  
      io.dekorate.testing.openshift.config.OpenshiftIntegrationTestConfig getOpenshiftIntegrationTestConfig​(org.junit.jupiter.api.extension.ExtensionContext context)  
      void postProcessTestInstance​(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context)  
      • Methods inherited from class io.dekorate.testing.openshift.OpenshiftExtension

        evaluateExecutionCondition, getAdditionalModules, getName, testFailed
      • Methods inherited from interface org.junit.jupiter.api.extension.TestWatcher

        testAborted, testDisabled, testSuccessful
      • Methods inherited from interface io.dekorate.testing.WithBaseConfig

        getBaseConfig, getBaseConfig
      • Methods inherited from interface io.dekorate.testing.WithClosables

        closeAll, getCloseables
      • Methods inherited from interface io.dekorate.testing.WithDiagnostics

        displayDiagnostics, extensionError, hasExtensionError, hasReadinessFailed, readinessFailed, shouldDisplayDiagnostics
      • Methods inherited from interface io.dekorate.testing.WithEvents

        getEvents
      • Methods inherited from interface io.dekorate.testing.WithImageConfig

        getImageConfig, hasImageConfig, stream
      • Methods inherited from interface io.dekorate.testing.WithIntegrationTestConfig

        getAdditionalModulesFromProperties, getBuildEnabledFromProperties, getDeployEnabledFromProperties, getReadinessTimeoutFromProperties
      • Methods inherited from interface io.dekorate.testing.WithKubernetesClient

        closeKubernetesClient, deleteAndWait, deleteAndWait, getKubernetesClient, injectKubernetesClient, waitUntilCondition
      • Methods inherited from interface io.dekorate.testing.openshift.WithOpenshiftConfig

        getOpenshiftConfig, getOpenshiftConfig, getOpenshiftConfigPath, hasOpenshiftConfig
      • Methods inherited from interface io.dekorate.testing.openshift.WithOpenshiftResources

        fromManifest, getOpenshiftResources, injectOpenshiftResources
      • Methods inherited from interface io.dekorate.testing.WithPod

        injectPod, namedAnnotation, podForName
      • Methods inherited from interface io.dekorate.testing.WithProject

        getProjects
      • Methods inherited from interface io.dekorate.testing.openshift.WithRoute

        injectRoute, namedAnnotationForRoute, routeForName
    • Constructor Detail

      • WildFlyOpenshiftExtension

        public WildFlyOpenshiftExtension()
    • Method Detail

      • getIntegrationTestConfig

        public org.wildfly.test.cloud.common.WildFlyOpenshiftIntegrationTestConfig getIntegrationTestConfig​(org.junit.jupiter.api.extension.ExtensionContext context)
      • beforeAll

        public void beforeAll​(org.junit.jupiter.api.extension.ExtensionContext context)
                       throws Exception
        Specified by:
        beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallback
        Overrides:
        beforeAll in class io.dekorate.testing.openshift.OpenshiftExtension
        Throws:
        Exception
      • afterAll

        public void afterAll​(org.junit.jupiter.api.extension.ExtensionContext context)
        Specified by:
        afterAll in interface org.junit.jupiter.api.extension.AfterAllCallback
        Overrides:
        afterAll in class io.dekorate.testing.openshift.OpenshiftExtension
      • postProcessTestInstance

        public void postProcessTestInstance​(Object testInstance,
                                            org.junit.jupiter.api.extension.ExtensionContext context)
        Specified by:
        postProcessTestInstance in interface org.junit.jupiter.api.extension.TestInstancePostProcessor
        Specified by:
        postProcessTestInstance in interface io.dekorate.testing.WithKubernetesClient
        Specified by:
        postProcessTestInstance in interface io.dekorate.testing.openshift.WithOpenshiftResources
        Specified by:
        postProcessTestInstance in interface io.dekorate.testing.WithPod
        Specified by:
        postProcessTestInstance in interface io.dekorate.testing.openshift.WithRoute
        Overrides:
        postProcessTestInstance in class io.dekorate.testing.openshift.OpenshiftExtension
      • getOpenshiftIntegrationTestConfig

        public io.dekorate.testing.openshift.config.OpenshiftIntegrationTestConfig getOpenshiftIntegrationTestConfig​(org.junit.jupiter.api.extension.ExtensionContext context)