Package org.wildfly.test.cloud.common
Annotation Type WildFlyKubernetesIntegrationTest
-
@Target({TYPE,METHOD,ANNOTATION_TYPE}) @Retention(RUNTIME) @ExtendWith(WildFlyKubernetesExtension.class) public @interface WildFlyKubernetesIntegrationTest
Extends io.dekorate.testing.annotation.KubernetesIntegrationTest- 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 apply resources.booleandeployEnabledFlag to define whether the extension should automatically apply resources.Class<? extends ExtraTestSetup>extraTestSetupA class to do more advanced test initialisation.KubernetesResource[]kubernetesResourcesAny resources to be deployed before the application is deployed.StringnamespaceThe namespace to deploy the test application and other resources into.ConfigPlaceholderReplacement[]placeholderReplacementsA list of replacements to do in the generated kubernetes.yml and in the#kubernetesResources.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.
- See Also:
KubernetesIntegrationTest
- Default:
- {}
-
-
-
namespace
String namespace
The namespace to deploy the test application and other resources into. If empty, the default namespace will be used- Returns:
- the namespace
- 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:
- {}
-
-