From a3c0aaf735e814a9b39ac93b57fcf5498c4302f5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 17:34:48 +0000 Subject: [PATCH 1/4] chore(deps): update localstack/localstack docker tag to v3.3.0 --- aws-cloudwatch-project/docker/docker-compose.yml | 2 +- aws-dynamodb-project/docker/docker-compose.yml | 2 +- aws-kinesis-project/consumer/docker/docker-compose.yml | 2 +- aws-kinesis-project/producer/docker/docker-compose.yml | 2 +- aws-lambda-project/docker/docker-compose.yml | 2 +- aws-parameterstore-project/docker/docker-compose.yml | 2 +- aws-s3-project/docker/docker-compose.yml | 2 +- aws-secretmanager-project/docker/docker-compose.yml | 2 +- aws-ses-project/docker/docker-compose.yml | 2 +- aws-sns-project/docker/docker-compose.yml | 2 +- aws-sqs-project/docker/docker-compose.yml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/aws-cloudwatch-project/docker/docker-compose.yml b/aws-cloudwatch-project/docker/docker-compose.yml index 3dae5957..7b1ad606 100644 --- a/aws-cloudwatch-project/docker/docker-compose.yml +++ b/aws-cloudwatch-project/docker/docker-compose.yml @@ -11,7 +11,7 @@ services: - "5432:5432" localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 ports: - "4566:4566" environment: diff --git a/aws-dynamodb-project/docker/docker-compose.yml b/aws-dynamodb-project/docker/docker-compose.yml index c90e548a..0e6d69a0 100644 --- a/aws-dynamodb-project/docker/docker-compose.yml +++ b/aws-dynamodb-project/docker/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.8' services: localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 ports: - "4566:4566" environment: diff --git a/aws-kinesis-project/consumer/docker/docker-compose.yml b/aws-kinesis-project/consumer/docker/docker-compose.yml index ac68dfd3..ef0fd737 100644 --- a/aws-kinesis-project/consumer/docker/docker-compose.yml +++ b/aws-kinesis-project/consumer/docker/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 ports: - "4566:4566" environment: diff --git a/aws-kinesis-project/producer/docker/docker-compose.yml b/aws-kinesis-project/producer/docker/docker-compose.yml index 9eef6925..48961ecd 100644 --- a/aws-kinesis-project/producer/docker/docker-compose.yml +++ b/aws-kinesis-project/producer/docker/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 ports: - "4566:4566" environment: diff --git a/aws-lambda-project/docker/docker-compose.yml b/aws-lambda-project/docker/docker-compose.yml index e557578a..618856fb 100644 --- a/aws-lambda-project/docker/docker-compose.yml +++ b/aws-lambda-project/docker/docker-compose.yml @@ -13,7 +13,7 @@ services: - aws-lambda localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 ports: - "127.0.0.1:4566:4566" # LocalStack Gateway - "127.0.0.1:4510-4559:4510-4559" # external services port range diff --git a/aws-parameterstore-project/docker/docker-compose.yml b/aws-parameterstore-project/docker/docker-compose.yml index e8137105..84836960 100644 --- a/aws-parameterstore-project/docker/docker-compose.yml +++ b/aws-parameterstore-project/docker/docker-compose.yml @@ -11,7 +11,7 @@ services: - "5432:5432" localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 ports: - "4566:4566" environment: diff --git a/aws-s3-project/docker/docker-compose.yml b/aws-s3-project/docker/docker-compose.yml index 3cbeedf6..3440518b 100644 --- a/aws-s3-project/docker/docker-compose.yml +++ b/aws-s3-project/docker/docker-compose.yml @@ -11,7 +11,7 @@ services: - "5432:5432" localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 ports: - "127.0.0.1:4566:4566" # LocalStack Gateway - "127.0.0.1:4510-4559:4510-4559" # external services port range diff --git a/aws-secretmanager-project/docker/docker-compose.yml b/aws-secretmanager-project/docker/docker-compose.yml index fe4ff893..629bafe7 100644 --- a/aws-secretmanager-project/docker/docker-compose.yml +++ b/aws-secretmanager-project/docker/docker-compose.yml @@ -11,7 +11,7 @@ services: - "5432:5432" localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 ports: - "4566:4566" environment: diff --git a/aws-ses-project/docker/docker-compose.yml b/aws-ses-project/docker/docker-compose.yml index bfb19104..8be2d0e2 100644 --- a/aws-ses-project/docker/docker-compose.yml +++ b/aws-ses-project/docker/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.8' services: localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 ports: - "4566:4566" environment: diff --git a/aws-sns-project/docker/docker-compose.yml b/aws-sns-project/docker/docker-compose.yml index 240d9755..d25572d7 100644 --- a/aws-sns-project/docker/docker-compose.yml +++ b/aws-sns-project/docker/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 ports: - "4566:4566" environment: diff --git a/aws-sqs-project/docker/docker-compose.yml b/aws-sqs-project/docker/docker-compose.yml index eb2891ef..6b23e2fb 100644 --- a/aws-sqs-project/docker/docker-compose.yml +++ b/aws-sqs-project/docker/docker-compose.yml @@ -16,7 +16,7 @@ services: retries: 5 localstack: - image: localstack/localstack:3.2.0 + image: localstack/localstack:3.3.0 environment: - AWS_DEFAULT_REGION=us-east-1 - EDGE_PORT=4566 From bf229a54560f75c2790d715785e60bce745be184 Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Fri, 29 Mar 2024 07:17:10 +0000 Subject: [PATCH 2/4] chore(deps) : Upgrade container to latest version --- .../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 +- .../learning/aws/spring/TestKinesisProducerApplication.java | 2 +- .../com/learning/awslambda/ApplicationIntegrationTest.java | 4 ++-- .../java/com/learning/awslambda/common/ContainersConfig.java | 2 +- .../example/awsspring/common/LocalStackContainerConfig.java | 2 +- .../test/java/com/learning/awspring/TestS3Application.java | 2 +- .../java/com/example/awsspring/common/DBTestContainer.java | 2 +- .../example/awsspring/common/LocalStackContainerConfig.java | 2 +- .../java/com/example/awsspring/common/LocalStackConfig.java | 2 +- .../java/com/learning/awssns/common/ContainersConfig.java | 2 +- .../test/java/com/learning/awspring/SchemaValidationTest.java | 2 +- .../com/learning/awspring/config/TestcontainersConfig.java | 4 ++-- 14 files changed, 16 insertions(+), 16 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 12177c5c..1b369bdf 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("3.1.0")) + DockerImageName.parse("localstack/localstack").withTag("3.3.0")) .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 222d2c61..d17aa6f0 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.1.0")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0")) .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 3f9e8c36..ad956bfe 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 @@ -19,7 +19,7 @@ public class LocalStackConfig { private static final Logger log = LoggerFactory.getLogger(LocalStackConfig.class); static LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.2.0")); + new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.3.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 24f5d33c..de85da14 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 @@ -19,7 +19,7 @@ public class TestKinesisProducerApplication { @Bean LocalStackContainer localStackContainer(DynamicPropertyRegistry dynamicPropertyRegistry) { LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.2.0")); + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.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/ApplicationIntegrationTest.java b/aws-lambda-project/src/test/java/com/learning/awslambda/ApplicationIntegrationTest.java index febdfdf3..0303649f 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 @@ -57,14 +57,14 @@ class ApplicationIntegrationTest { static Network network = Network.newNetwork(); @Container - static PostgreSQLContainer postgres = new PostgreSQLContainer<>("postgres:16.1-alpine") + static PostgreSQLContainer postgres = new PostgreSQLContainer<>("postgres:16.2-alpine") .withNetwork(network) .withNetworkAliases("postgres") .withReuse(true); @Container static LocalStackContainer localstack = new LocalStackContainer( - DockerImageName.parse("localstack/localstack:3.1.0")) + DockerImageName.parse("localstack/localstack").withTag("3.3.0")) .withNetwork(network) .withEnv("LOCALSTACK_HOST", "localhost.localstack.cloud") .withEnv("LAMBDA_DOCKER_NETWORK", ((Network.NetworkImpl) network).getName()) 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 b3209b00..3ab6f1fa 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.1-alpine")); + return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.2-alpine")); } } 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 0bec3bd8..ff9b62a2 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.1.0")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.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 76b7eb63..466c41be 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.2.0")) + DockerImageName.parse("localstack/localstack").withTag("3.3.0")) .withCopyFileToContainer( MountableFile.forHostPath(".localstack/"), "/etc/localstack/init/ready.d/") diff --git a/aws-secretmanager-project/src/test/java/com/example/awsspring/common/DBTestContainer.java b/aws-secretmanager-project/src/test/java/com/example/awsspring/common/DBTestContainer.java index 21391e8a..1af281d9 100644 --- a/aws-secretmanager-project/src/test/java/com/example/awsspring/common/DBTestContainer.java +++ b/aws-secretmanager-project/src/test/java/com/example/awsspring/common/DBTestContainer.java @@ -7,5 +7,5 @@ public interface DBTestContainer { @Container @ServiceConnection - PostgreSQLContainer sqlContainer = new PostgreSQLContainer<>("postgres:16.1-alpine"); + PostgreSQLContainer sqlContainer = new PostgreSQLContainer<>("postgres:16.2-alpine"); } 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 39be4f3d..f4da8470 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("3.1.0")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0")) .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 c881c22a..bb8e916a 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("3.1.0")); + DockerImageName.parse("localstack/localstack").withTag("3.3.0")); static { localStackContainer.start(); 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 3db2ffe5..f466a097 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 @@ -12,7 +12,7 @@ public class ContainersConfig { @Bean LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) { LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.1.0")); + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.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); diff --git a/aws-sqs-project/src/test/java/com/learning/awspring/SchemaValidationTest.java b/aws-sqs-project/src/test/java/com/learning/awspring/SchemaValidationTest.java index 77e45f59..059b8a7b 100644 --- a/aws-sqs-project/src/test/java/com/learning/awspring/SchemaValidationTest.java +++ b/aws-sqs-project/src/test/java/com/learning/awspring/SchemaValidationTest.java @@ -12,7 +12,7 @@ properties = { "spring.jpa.hibernate.ddl-auto=validate", "spring.test.database.replace=none", - "spring.datasource.url=jdbc:tc:postgresql:16.1-alpine:///db" + "spring.datasource.url=jdbc:tc:postgresql:16.2-alpine:///db" }) class SchemaValidationTest { 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 2bae80e8..247d2e68 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 @@ -14,13 +14,13 @@ public class TestcontainersConfig { @Bean @ServiceConnection public PostgreSQLContainer postgreSQLContainer() { - return new PostgreSQLContainer<>("postgres:16.1-alpine"); + return new PostgreSQLContainer<>("postgres:16.2-alpine"); } @Bean LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) { LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.1.0")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0")) .withReuse(true); registry.add("spring.cloud.aws.credentials.access-key", localStackContainer::getAccessKey); registry.add("spring.cloud.aws.credentials.secret-key", localStackContainer::getSecretKey); From 19da3f24012291307096d64a9da8ce2ea7abbdba Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Fri, 29 Mar 2024 07:21:35 +0000 Subject: [PATCH 3/4] feat : fix spotless formatting issue --- .../learning/aws/spring/TestKinesisProducerApplication.java | 3 ++- .../java/com/learning/awssns/common/ContainersConfig.java | 4 ++-- .../com/learning/awspring/config/TestcontainersConfig.java | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) 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 de85da14..001b30b4 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 @@ -19,7 +19,8 @@ public class TestKinesisProducerApplication { @Bean LocalStackContainer localStackContainer(DynamicPropertyRegistry dynamicPropertyRegistry) { LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0")); + new LocalStackContainer( + DockerImageName.parse("localstack/localstack").withTag("3.3.0")); dynamicPropertyRegistry.add("spring.cloud.aws.endpoint", localStackContainer::getEndpoint); dynamicPropertyRegistry.add( "spring.cloud.aws.region.static", localStackContainer::getRegion); 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 f466a097..3be0e43b 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 @@ -11,8 +11,8 @@ public class ContainersConfig { @Bean LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) { - LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0")); + LocalStackContainer localStackContainer = new LocalStackContainer( + DockerImageName.parse("localstack/localstack").withTag("3.3.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); 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 247d2e68..bdc464d5 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,8 @@ public PostgreSQLContainer postgreSQLContainer() { @Bean LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) { LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0")) + new LocalStackContainer( + DockerImageName.parse("localstack/localstack").withTag("3.3.0")) .withReuse(true); registry.add("spring.cloud.aws.credentials.access-key", localStackContainer::getAccessKey); registry.add("spring.cloud.aws.credentials.secret-key", localStackContainer::getSecretKey); From 8d74c8ee87b6f5db3f54e5158e2592eca3e6a28b Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Fri, 29 Mar 2024 07:24:03 +0000 Subject: [PATCH 4/4] feat : minor changes --- .../java/com/learning/aws/spring/common/LocalStackConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ad956bfe..fe31927e 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 @@ -19,7 +19,8 @@ public class LocalStackConfig { private static final Logger log = LoggerFactory.getLogger(LocalStackConfig.class); static LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.3.0")); + new LocalStackContainer( + DockerImageName.parse("localstack/localstack").withTag("3.3.0")); static { localStackContainer.start();