From 27b8f8b3c29f10d54753a2bfa2b6e5d055a27ea5 Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Sat, 27 Jul 2024 13:23:39 +0000 Subject: [PATCH] chore(deps): update localstack/localstack docker tag to v3.6.0 --- .../src/test/java/com/example/awsspring/TestApplication.java | 2 +- .../src/test/java/com/learning/awsspring/TestApplication.java | 2 +- .../com/learning/aws/spring/TestKinesisConsumerApplication.java | 2 +- .../java/com/learning/aws/spring/common/LocalStackConfig.java | 2 +- .../com/learning/aws/spring/TestKinesisProducerApplication.java | 2 +- .../java/com/learning/awslambda/common/ContainersConfig.java | 2 +- .../src/test/java/com/example/awsspring/TestApplication.java | 2 +- .../com/example/awsspring/common/LocalStackContainerConfig.java | 2 +- .../src/test/java/com/learning/awspring/TestS3Application.java | 2 +- .../src/test/java/com/example/awsspring/TestApplication.java | 2 +- .../src/test/java/com/example/awsspring/TestSESApplication.java | 2 +- .../test/java/com/learning/awssns/common/ContainersConfig.java | 2 +- .../java/com/learning/awspring/config/TestcontainersConfig.java | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/aws-cloudwatch-project/src/test/java/com/example/awsspring/TestApplication.java b/aws-cloudwatch-project/src/test/java/com/example/awsspring/TestApplication.java index c89596b4..541077b7 100644 --- a/aws-cloudwatch-project/src/test/java/com/example/awsspring/TestApplication.java +++ b/aws-cloudwatch-project/src/test/java/com/example/awsspring/TestApplication.java @@ -15,7 +15,7 @@ public class TestApplication { @ServiceConnection LocalStackContainer localstackContainer() { return new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("3.3.0")); + DockerImageName.parse("localstack/localstack").withTag("3.6.0")); } @Bean diff --git a/aws-dynamodb-project/src/test/java/com/learning/awsspring/TestApplication.java b/aws-dynamodb-project/src/test/java/com/learning/awsspring/TestApplication.java index ba7175b6..4fe4a4e0 100644 --- a/aws-dynamodb-project/src/test/java/com/learning/awsspring/TestApplication.java +++ b/aws-dynamodb-project/src/test/java/com/learning/awsspring/TestApplication.java @@ -20,7 +20,7 @@ public class TestApplication { LocalStackContainer localstackContainer() { LocalStackContainer localstackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("3.3.0")) + DockerImageName.parse("localstack/localstack").withTag("3.6.0")) .withCopyFileToContainer( MountableFile.forHostPath(".localstack/"), "/etc/localstack/init/ready.d/") diff --git a/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/TestKinesisConsumerApplication.java b/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/TestKinesisConsumerApplication.java index 91c0e76f..e52903cf 100644 --- a/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/TestKinesisConsumerApplication.java +++ b/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/TestKinesisConsumerApplication.java @@ -15,7 +15,7 @@ public class TestKinesisConsumerApplication { @Bean @ServiceConnection PostgreSQLContainer postgreSQLContainer() { - return new PostgreSQLContainer<>("postgres:16.2-alpine"); + return new PostgreSQLContainer<>("postgres:16.3-alpine"); } public static void main(String[] args) { diff --git a/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java b/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java index fe31927e..5dc39597 100644 --- a/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java +++ b/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java @@ -20,7 +20,7 @@ public class LocalStackConfig { static LocalStackContainer localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("3.3.0")); + DockerImageName.parse("localstack/localstack").withTag("3.6.0")); static { localStackContainer.start(); diff --git a/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/TestKinesisProducerApplication.java b/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/TestKinesisProducerApplication.java index 001b30b4..c8d4ef85 100644 --- a/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/TestKinesisProducerApplication.java +++ b/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/TestKinesisProducerApplication.java @@ -20,7 +20,7 @@ public class TestKinesisProducerApplication { LocalStackContainer localStackContainer(DynamicPropertyRegistry dynamicPropertyRegistry) { LocalStackContainer localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("3.3.0")); + DockerImageName.parse("localstack/localstack").withTag("3.6.0")); dynamicPropertyRegistry.add("spring.cloud.aws.endpoint", localStackContainer::getEndpoint); dynamicPropertyRegistry.add( "spring.cloud.aws.region.static", localStackContainer::getRegion); diff --git a/aws-lambda-project/src/test/java/com/learning/awslambda/common/ContainersConfig.java b/aws-lambda-project/src/test/java/com/learning/awslambda/common/ContainersConfig.java index 3ab6f1fa..caf4cd48 100644 --- a/aws-lambda-project/src/test/java/com/learning/awslambda/common/ContainersConfig.java +++ b/aws-lambda-project/src/test/java/com/learning/awslambda/common/ContainersConfig.java @@ -12,6 +12,6 @@ public class ContainersConfig { @Bean @ServiceConnection PostgreSQLContainer postgreSQLContainer() { - return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.2-alpine")); + return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.3-alpine")); } } diff --git a/aws-parameterstore-project/src/test/java/com/example/awsspring/TestApplication.java b/aws-parameterstore-project/src/test/java/com/example/awsspring/TestApplication.java index b20c575f..0842fee8 100644 --- a/aws-parameterstore-project/src/test/java/com/example/awsspring/TestApplication.java +++ b/aws-parameterstore-project/src/test/java/com/example/awsspring/TestApplication.java @@ -12,7 +12,7 @@ public class TestApplication { @Bean @ServiceConnection PostgreSQLContainer sqlContainer() { - return new PostgreSQLContainer<>("postgres:16.1-alpine"); + return new PostgreSQLContainer<>("postgres:16.3-alpine"); } public static void main(String[] args) { diff --git a/aws-parameterstore-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java b/aws-parameterstore-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java index ff9b62a2..075995e4 100644 --- a/aws-parameterstore-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java +++ b/aws-parameterstore-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java @@ -14,7 +14,7 @@ public class LocalStackContainerConfig { @Container private static final LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.6.0")) .withCopyFileToContainer( MountableFile.forHostPath("localstack/"), "/etc/localstack/init/ready.d/") diff --git a/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java b/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java index 466c41be..0a5abe55 100644 --- a/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java +++ b/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java @@ -27,7 +27,7 @@ PostgreSQLContainer postgresContainer() { LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) { LocalStackContainer localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("3.3.0")) + DockerImageName.parse("localstack/localstack").withTag("3.6.0")) .withCopyFileToContainer( MountableFile.forHostPath(".localstack/"), "/etc/localstack/init/ready.d/") diff --git a/aws-secretmanager-project/src/test/java/com/example/awsspring/TestApplication.java b/aws-secretmanager-project/src/test/java/com/example/awsspring/TestApplication.java index 45abe4f1..4f54c02e 100644 --- a/aws-secretmanager-project/src/test/java/com/example/awsspring/TestApplication.java +++ b/aws-secretmanager-project/src/test/java/com/example/awsspring/TestApplication.java @@ -19,7 +19,7 @@ public class TestApplication { @ServiceConnection LocalStackContainer localStackContainer() { return new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("3.3.0")) + DockerImageName.parse("localstack/localstack").withTag("3.6.0")) .withCopyFileToContainer( MountableFile.forHostPath("localstack/"), "/etc/localstack/init/ready.d/") .waitingFor(Wait.forLogMessage(".*LocalStack initialized successfully\n", 1)); diff --git a/aws-ses-project/src/test/java/com/example/awsspring/TestSESApplication.java b/aws-ses-project/src/test/java/com/example/awsspring/TestSESApplication.java index cee6b50c..c300d249 100644 --- a/aws-ses-project/src/test/java/com/example/awsspring/TestSESApplication.java +++ b/aws-ses-project/src/test/java/com/example/awsspring/TestSESApplication.java @@ -18,7 +18,7 @@ public class TestSESApplication { LocalStackContainer localStackContainer() { LocalStackContainer localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("3.3.0")); + DockerImageName.parse("localstack/localstack").withTag("3.6.0")); localStackContainer.start(); Slf4jLogConsumer logConsumer = new Slf4jLogConsumer(log); localStackContainer.followOutput(logConsumer); diff --git a/aws-sns-project/src/test/java/com/learning/awssns/common/ContainersConfig.java b/aws-sns-project/src/test/java/com/learning/awssns/common/ContainersConfig.java index d67f1da8..ef5f68c8 100644 --- a/aws-sns-project/src/test/java/com/learning/awssns/common/ContainersConfig.java +++ b/aws-sns-project/src/test/java/com/learning/awssns/common/ContainersConfig.java @@ -14,6 +14,6 @@ public class ContainersConfig { @ServiceConnection LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) { return new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("3.3.0")); + DockerImageName.parse("localstack/localstack").withTag("3.6.0")); } } diff --git a/aws-sqs-project/src/test/java/com/learning/awspring/config/TestcontainersConfig.java b/aws-sqs-project/src/test/java/com/learning/awspring/config/TestcontainersConfig.java index af810af0..8024e5eb 100644 --- a/aws-sqs-project/src/test/java/com/learning/awspring/config/TestcontainersConfig.java +++ b/aws-sqs-project/src/test/java/com/learning/awspring/config/TestcontainersConfig.java @@ -20,7 +20,7 @@ public PostgreSQLContainer postgreSQLContainer() { @ServiceConnection LocalStackContainer localstackContainer() { return new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("3.3.0")) + DockerImageName.parse("localstack/localstack").withTag("3.6.0")) .withReuse(true); } }