Skip to content

Commit

Permalink
Upgrade junits TC version to 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Feb 5, 2024
1 parent e8344f9 commit 25e0bad
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 18 deletions.
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,3 @@ build/
.DS_Store
.jpb/
logs/
aws-dynamodb-project/docker/volume/
aws-ses-project/docker/volume/
aws-kinesis-project/consumer/docker/volume/
aws-kinesis-project/producer/docker/volume/
aws-parameterstore-project/docker/volume/
aws-secretmanager-project/docker/volume/
aws-sqs-project/docker/volume/
aws-s3-project/docker/volume/
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class LocalStackConfig {
static {
localStackContainer =
new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.0.2"))
DockerImageName.parse("localstack/localstack").withTag("3.1.0"))
.withServices(CLOUDWATCH)
.withExposedPorts(4566);
localStackContainer.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class LocalStackConfig {

@Container
static LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.0.2"));
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.1.0"));

static {
localStackContainer.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class LocalStackConfig {
System.setProperty("com.amazonaws.sdk.disableCbor", "true");
localStackContainer =
new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.0.2"))
DockerImageName.parse("localstack/localstack").withTag("3.1.0"))
.withEnv("EAGER_SERVICE_LOADING", "1")
.withServices(KINESIS)
.withExposedPorts(4566);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ApplicationIntegrationTest {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:3.0.2"))
DockerImageName.parse("localstack/localstack:3.1.0"))
.withNetwork(network)
.withEnv("LOCALSTACK_HOST", "localhost.localstack.cloud")
.withEnv("LAMBDA_DOCKER_NETWORK", ((Network.NetworkImpl) network).getName())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class LocalStackContainerConfig {

@Container
private static final LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.0.2"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.1.0"))
.withCopyFileToContainer(
MountableFile.forHostPath("localstack/"),
"/etc/localstack/init/ready.d/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PostgreSQLContainer<?> postgresContainer() {
LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) {
LocalStackContainer localStackContainer =
new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.0.2"))
DockerImageName.parse("localstack/localstack").withTag("3.1.0"))
.withCopyFileToContainer(
MountableFile.forHostPath(".localstack/"),
"/etc/localstack/init/ready.d/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class LocalStackContainerConfig {

@Container
private static final LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.0.2"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.1.0"))
.withCopyFileToContainer(
MountableFile.forHostPath("localstack/"),
"/etc/localstack/init/ready.d/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class LocalStackConfig {

static final LocalStackContainer localStackContainer =
new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.0.2"));
DockerImageName.parse("localstack/localstack").withTag("3.1.0"));

static {
localStackContainer.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class ContainersConfig {
@Bean
LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) {
LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.0.2"));
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.1.0"));
registry.add("spring.cloud.aws.credentials.access-key", localStackContainer::getAccessKey);
registry.add("spring.cloud.aws.credentials.secret-key", localStackContainer::getSecretKey);
registry.add("spring.cloud.aws.region.static", localStackContainer::getRegion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public PostgreSQLContainer<?> postgreSQLContainer() {
@Bean
LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) {
LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.0.2"))
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.1.0"))
.withReuse(true);
registry.add("spring.cloud.aws.credentials.access-key", localStackContainer::getAccessKey);
registry.add("spring.cloud.aws.credentials.secret-key", localStackContainer::getSecretKey);
Expand Down

0 comments on commit 25e0bad

Please sign in to comment.