Annotation Type LocalstackDockerProperties
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface LocalstackDockerPropertiesAn annotation to provide parameters to the LocalstackDockerTestRunner
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<? extends IEnvironmentVariableProvider>environmentVariableProviderUsed for injecting environment variables into the container.java.lang.Class<? extends IHostNameResolver>hostNameResolverUsed for determining the host name of the machine running the docker containers so that the containers can be addressed.java.lang.StringimageTagUse a specific image tag for docker containerbooleanpullNewImageDetermines if a new image is pulled from the docker repo before the tests are run.booleanrandomizePortsDetermines if the container should expose the default local stack ports (4567-4583) or if it should expose randomized ports in order to prevent conflicts with other localstack containers running on the same machinejava.lang.String[]servicesDetermines which services should be run when the localstack starts.
-
-
-
Element Detail
-
hostNameResolver
java.lang.Class<? extends IHostNameResolver> hostNameResolver
Used for determining the host name of the machine running the docker containers so that the containers can be addressed.- Default:
- cloud.localstack.docker.annotation.LocalHostNameResolver.class
-
-
-
environmentVariableProvider
java.lang.Class<? extends IEnvironmentVariableProvider> environmentVariableProvider
Used for injecting environment variables into the container. Implement a class that provides a map of the environment variables and they will be injected into the container on start-up- Default:
- cloud.localstack.docker.annotation.DefaultEnvironmentVariableProvider.class
-
-