Package org.wildfly.test.cloud.common
Annotation Type WildFlyOpenshiftIntegrationTest
-
@Target({TYPE,METHOD,ANNOTATION_TYPE}) @Retention(RUNTIME) @ExtendWith(WildFlyOpenshiftExtension.class) public @interface WildFlyOpenshiftIntegrationTest
Extends io.dekorate.testing.openshift.annotation.OpenshiftIntegrationTest- Author:
- Kabir Khan
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]additionalModulesList of additional modules to be loaded by the test framework.booleanbuildEnabledFlag to define whether the extension should automatically perform container builds.booleandeployEnabledFlag to define whether the extension should automatically apply resources.Class<? extends ExtraTestSetup>extraTestSetupA class to do more advanced test initialisation.longimageStreamTagTimeoutThe amount of time in seconds to wait for the image stream tags to be available.KubernetesResource[]kubernetesResourcesAny resources to be deployed before the application is deployed.ConfigPlaceholderReplacement[]placeholderReplacementsA list of replacements to do in the generated kubernetes.yml and in the#kubernetesResources.booleanpushEnabledFlag to define whether the extension should automatically push image.longreadinessTimeoutThe amount of time in milliseconds to wait for application to become ready.Class<? extends ValueInjector>[]valueInjectorsA list of value injectors used to@Injectglobal fields in tests.
-
-
-
-
additionalModules
String[] additionalModules
List of additional modules to be loaded by the test framework.- Returns:
- The list of additional modules to be loaded.
- Default:
- {}
-
-
-
kubernetesResources
KubernetesResource[] kubernetesResources
Any resources to be deployed before the application is deployed. This could be things like CRDs or pods based on those CRDs.- Returns:
- the list of resources
- Default:
- {}
-
-
-
extraTestSetup
Class<? extends ExtraTestSetup> extraTestSetup
A class to do more advanced test initialisation.- Returns:
- the class
- Default:
- org.wildfly.test.cloud.common.ExtraTestSetup.None.class
-
-
-
placeholderReplacements
ConfigPlaceholderReplacement[] placeholderReplacements
A list of replacements to do in the generated kubernetes.yml and in the#kubernetesResources. Useful for when we don't have the full information needed until the test is run. The replacements are done before deploying to Kubernetes.- Returns:
- the list of replacements
- Default:
- {}
-
-
-
valueInjectors
Class<? extends ValueInjector>[] valueInjectors
A list of value injectors used to@Injectglobal fields in tests.- Returns:
- an array of value injectors
- Default:
- {}
-
-