Package org.keycloak.it.junit5.extension
Annotation Interface DistributionTest
@Target(TYPE)
@ExtendWith(CLITestExtension.class)
@Retention(RUNTIME)
public @interface DistributionTest
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint[]Exposed ports when container is usedbooleanString[]If any option must be set when starting the server.booleanbooleanIf the distribution should be left running after the launch.booleanIf any build option must be unset after the running the build command.intDefault port for making HTTP requests with RestAssured
-
Element Details
-
debug
boolean debug- Default:
- false
-
keepAlive
boolean keepAliveIf the distribution should be left running after the launch.- Default:
- false
-
enableTls
boolean enableTls- Default:
- false
-
reInstall
DistributionTest.ReInstall reInstall- Default:
- BEFORE_ALL
-
removeBuildOptionsAfterBuild
boolean removeBuildOptionsAfterBuildIf any build option must be unset after the running the build command.- Default:
- false
-
defaultOptions
String[] defaultOptionsIf any option must be set when starting the server.- Default:
- {}
-
containerExposedPorts
int[] containerExposedPortsExposed ports when container is used- Default:
- {8080}
-
requestPort
int requestPortDefault port for making HTTP requests with RestAssured- Default:
- 8080
-