From 4dbcc1d416bd23301e8b3da64ef1d78446d15877 Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Fri, 1 Dec 2023 12:43:37 +0530 Subject: [PATCH] chore(deps) : upgrade localstack version to latest (#576) --- .../java/com/example/awsspring/common/LocalStackConfig.java | 2 +- .../java/com/learning/awsspring/common/LocalStackConfig.java | 2 +- .../java/com/learning/aws/spring/common/LocalStackConfig.java | 2 +- .../java/com/learning/aws/spring/common/LocalStackConfig.java | 2 +- .../com/learning/awslambda/ApplicationIntegrationTest.java | 2 +- .../src/test/java/com/example/awsspring/TestApplication.java | 2 +- .../example/awsspring/common/LocalStackContainerConfig.java | 2 +- .../test/java/com/learning/awspring/TestS3Application.java | 2 +- .../src/test/java/com/example/awsspring/TestApplication.java | 2 +- .../example/awsspring/common/LocalStackContainerConfig.java | 2 +- .../java/com/example/awsspring/common/LocalStackConfig.java | 2 +- .../com/learning/awspring/config/TestcontainersConfig.java | 4 ++-- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/aws-cloudwatch-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java b/aws-cloudwatch-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java index 97c92b9f..858c5b63 100644 --- a/aws-cloudwatch-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java +++ b/aws-cloudwatch-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java @@ -14,7 +14,7 @@ public class LocalStackConfig { static { localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("2.3.2")) + DockerImageName.parse("localstack/localstack").withTag("3.0.2")) .withServices(CLOUDWATCH) .withExposedPorts(4566); localStackContainer.start(); diff --git a/aws-dynamodb-project/src/test/java/com/learning/awsspring/common/LocalStackConfig.java b/aws-dynamodb-project/src/test/java/com/learning/awsspring/common/LocalStackConfig.java index 061a4703..e4380aee 100644 --- a/aws-dynamodb-project/src/test/java/com/learning/awsspring/common/LocalStackConfig.java +++ b/aws-dynamodb-project/src/test/java/com/learning/awsspring/common/LocalStackConfig.java @@ -12,7 +12,7 @@ @Slf4j public class LocalStackConfig { protected static final LocalStackContainer LOCAL_STACK_CONTAINER = - new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.0.0")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.0.2")) .withCopyFileToContainer( MountableFile.forHostPath(".localstack/"), "/etc/localstack/init/ready.d/") 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 c492bddd..4365e4b4 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 { @Container static LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.0.1")); + new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.0.2")); static { localStackContainer.start(); diff --git a/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java b/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java index 423167c4..8fa3ed37 100644 --- a/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java +++ b/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java @@ -20,7 +20,7 @@ public class LocalStackConfig { System.setProperty("com.amazonaws.sdk.disableCbor", "true"); localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("2.3.2")) + DockerImageName.parse("localstack/localstack").withTag("3.0.2")) .withEnv("EAGER_SERVICE_LOADING", "1") .withServices(KINESIS) .withExposedPorts(4566); diff --git a/aws-lambda-project/src/test/java/com/learning/awslambda/ApplicationIntegrationTest.java b/aws-lambda-project/src/test/java/com/learning/awslambda/ApplicationIntegrationTest.java index e6d65b24..ab6508e8 100644 --- a/aws-lambda-project/src/test/java/com/learning/awslambda/ApplicationIntegrationTest.java +++ b/aws-lambda-project/src/test/java/com/learning/awslambda/ApplicationIntegrationTest.java @@ -64,7 +64,7 @@ class ApplicationIntegrationTest { @Container static LocalStackContainer localstack = new LocalStackContainer( - DockerImageName.parse("localstack/localstack:3.0.0")) + DockerImageName.parse("localstack/localstack:3.0.2")) .withNetwork(network) .withEnv("LOCALSTACK_HOST", "localhost.localstack.cloud") .withEnv("LAMBDA_DOCKER_NETWORK", ((Network.NetworkImpl) network).getName()) 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 93e35472..b20c575f 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.0-alpine"); + return new PostgreSQLContainer<>("postgres:16.1-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 180d0ef9..cc3c226c 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("2.3.2")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.0.2")) .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 7f25161b..f11eab29 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 @@ -22,7 +22,7 @@ PostgreSQLContainer postgresContainer() { } static final LocalStackContainer LOCALSTACKCONTAINER = - new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.0.1")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.0.2")) .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 93e35472..b20c575f 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 @@ -12,7 +12,7 @@ public class TestApplication { @Bean @ServiceConnection PostgreSQLContainer sqlContainer() { - return new PostgreSQLContainer<>("postgres:16.0-alpine"); + return new PostgreSQLContainer<>("postgres:16.1-alpine"); } public static void main(String[] args) { diff --git a/aws-secretmanager-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java b/aws-secretmanager-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java index 3bf19223..30ebf113 100644 --- a/aws-secretmanager-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java +++ b/aws-secretmanager-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("2.3.2")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.0.2")) .withCopyFileToContainer( MountableFile.forHostPath("localstack/"), "/etc/localstack/init/ready.d/") diff --git a/aws-ses-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java b/aws-ses-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java index 13c7cf17..2f132fa8 100644 --- a/aws-ses-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java +++ b/aws-ses-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java @@ -12,7 +12,7 @@ public class LocalStackConfig { static final LocalStackContainer localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("2.3.2")); + DockerImageName.parse("localstack/localstack").withTag("3.0.2")); static { localStackContainer.start(); 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 80a741f9..4e95717c 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 @@ -13,12 +13,12 @@ public class TestcontainersConfig { @Bean @ServiceConnection public PostgreSQLContainer postgreSQLContainer() { - return new PostgreSQLContainer<>("postgres:16.0-alpine"); + return new PostgreSQLContainer<>("postgres:16.1-alpine"); } static final LocalStackContainer localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("2.3.2")); + DockerImageName.parse("localstack/localstack").withTag("3.0.2")); static { localStackContainer.start();