Skip to content

Commit

Permalink
fix(deps): bump localstack from 3.0.1 to 3.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
scrocquesel committed Sep 29, 2024
1 parent 1feb1ff commit ae2ea35
Show file tree
Hide file tree
Showing 22 changed files with 21 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public interface LocalStackDevServicesBuildTimeConfig {
/**
* The LocalStack container image to use.
*/
@WithDefault(value = "localstack/localstack:3.0.1")
@WithDefault(value = "localstack/localstack:3.7.2")
String imageName();

/**
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-cloudwatch.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can also set up a local version of CloudWatch manually, first start a LocalS

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-cloudwatch --publish 4566:4582 -e SERVICES=cloudwatch -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-cloudwatch --publish 4566:4582 -e SERVICES=cloudwatch -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts CloudWatch instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-cloudwatchlogs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can also set up a local version of CloudWatch Logs manually, first start a L

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-cloudwatchlogs --publish 4566:4582 -e SERVICES=logs -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-cloudwatchlogs --publish 4566:4582 -e SERVICES=logs -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts CloudWatch instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-eventbridge.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can also set up a local version of EventBridge manually, first start a Local

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-eventbridge --publish 4592:4592 -e SERVICES=events -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-eventbridge --publish 4592:4592 -e SERVICES=events -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts a EventBridge instance that is accessible on port `4592`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-kinesis.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can also set up a local version of Kinesis manually, first start a LocalStac

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-kinesis --publish 4592:4592 -e SERVICES=kinesis -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-kinesis --publish 4592:4592 -e SERVICES=kinesis -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts a Kinesis instance that is accessible on port `4592`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-kms.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You can also set up a local version of KMS manually, first start a LocalStack co

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-kms --publish 4566:4599 -e SERVICES=kms -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-kms --publish 4566:4599 -e SERVICES=kms -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts a KMS instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-lambda.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You can also set up a local version of Lambda manually, first start a LocalStack

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-lambda --publish 4566:4583 -e SERVICES=lambda -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-lambda --publish 4566:4583 -e SERVICES=lambda -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts a Lambda instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-s3.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ You can also setup a local version of S3 manually, first start a LocalStack cont

[source,bash,subs="verbatim,attributes"]
----
docker run -it --publish 4566:4566 -e SERVICES=s3 -e START_WEB=0 localstack/localstack:3.0.1
docker run -it --publish 4566:4566 -e SERVICES=s3 -e START_WEB=0 localstack/localstack:3.7.2
----
This starts a S3 instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-secretsmanager.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You can also set up a local version of Secrets Manager manually, first start a L

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-secrets-manager --publish 4566:4584 -e SERVICES=secretsmanager -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-secrets-manager --publish 4566:4584 -e SERVICES=secretsmanager -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts a Secrets Manager instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-ses.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can also set up a local version of SES manually, first start a LocalStack co

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-ses -p 4566:4579 -e SERVICES=ses -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-ses -p 4566:4579 -e SERVICES=ses -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts a SES instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-sfn.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You can also set up a local version of SFN manually, first start a LocalStack co

[source,bash,subs="verbatim,attributes"]
----
docker run -it --publish 4566:4566 -e SERVICES=stepfunctions -e START_WEB=0 localstack/localstack:3.0.1
docker run -it --publish 4566:4566 -e SERVICES=stepfunctions -e START_WEB=0 localstack/localstack:3.7.2
----
This starts a SFN instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-sns.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You can also set up a local version of SNS manually, first start a LocalStack co

[source,bash,subs="verbatim,attributes"]
----
docker run -it --publish 4566:4575 -e SERVICES=sns -e START_WEB=0 localstack/localstack:3.0.1
docker run -it --publish 4566:4575 -e SERVICES=sns -e START_WEB=0 localstack/localstack:3.7.2
----
This starts a SNS instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-sqs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ You can also set up a local version of SQS manually, first start a LocalStack co

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-sqs -p 4566:4566 -e SERVICES=sqs -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-sqs -p 4566:4566 -e SERVICES=sqs -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts a SQS instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-ssm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You can also set up a local version of SSM manually, first start a LocalStack co

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-ssm --publish 4566:4583 -e SERVICES=ssm -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-ssm --publish 4566:4583 -e SERVICES=ssm -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts a SSM instance that is accessible on port `4566`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/amazon-sts.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can also set up a local version of STS manually, first start a LocalStack co

[source,bash,subs="verbatim,attributes"]
----
docker run --rm --name local-sts --publish 4592:4592 -e SERVICES=sts -e START_WEB=0 -d localstack/localstack:3.0.1
docker run --rm --name local-sts --publish 4592:4592 -e SERVICES=sts -e START_WEB=0 -d localstack/localstack:3.7.2
----
This starts a STS instance that is accessible on port `4592`.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/dev-services.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Dev Services for Amazon Services uses `localstack/localstack` image. You can con

[source,properties]
----
quarkus.aws.devservices.localstack.image-name=localstack/localstack:3.0.1
quarkus.aws.devservices.localstack.image-name=localstack/localstack:3.7.2
----

== Specific configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Environment variable: `+++QUARKUS_AWS_DEVSERVICES_LOCALSTACK_IMAGE_NAME+++`
endif::add-copy-button-to-env-var[]
--
|string
|`localstack/localstack:3.0.1`
|`localstack/localstack:3.7.2`

a|icon:lock[title=Fixed at build time] [[quarkus-amazon_quarkus-aws-devservices-localstack-container-properties-container-properties]] [.property-path]##`quarkus.aws.devservices.localstack.container-properties."container-properties"`##

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import jakarta.enterprise.inject.Instance;
import jakarta.inject.Inject;

import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;

Expand All @@ -19,9 +18,7 @@ public class EcrDevServicesTest {

@RegisterExtension
static final QuarkusUnitTest config = new QuarkusUnitTest()
.withApplicationRoot((jar) -> jar
.addAsResource(new StringAsset("quarkus.aws.devservices.localstack.image-name=localstack/localstack:3.0.1"),
"application.properties"));
.withEmptyApplication();

@Test
public void test() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
quarkus.http.test-timeout=1m

quarkus.aws.devservices.localstack.image-name=localstack/localstack:3.0.1
quarkus.aws.devservices.localstack.container-properties."START_WEB"=0
quarkus.aws.devservices.localstack.additional-services.redshift.enabled=true
quarkus.aws.devservices.moto.image-name=motoserver/moto:3.0.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import jakarta.enterprise.inject.Instance;
import jakarta.inject.Inject;

import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
Expand All @@ -25,9 +24,7 @@ public class LambdaDevServicesTest {

@RegisterExtension
static final QuarkusUnitTest config = new QuarkusUnitTest()
.withApplicationRoot((jar) -> jar
.addAsResource(new StringAsset("quarkus.aws.devservices.localstack.image-name=localstack/localstack:3.0.1"),
"application.properties"));
.withEmptyApplication();

@Test
public void test() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import jakarta.enterprise.inject.Instance;
import jakarta.inject.Inject;

import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
Expand All @@ -30,9 +29,7 @@ public class S3DevServicesTest {

@RegisterExtension
static final QuarkusUnitTest config = new QuarkusUnitTest()
.withApplicationRoot((jar) -> jar
.addAsResource(new StringAsset("quarkus.aws.devservices.localstack.image-name=localstack/localstack:3.0.1"),
"application.properties"));
.withEmptyApplication();

@Test
public void test() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import jakarta.enterprise.inject.Instance;
import jakarta.inject.Inject;

import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;

Expand All @@ -25,10 +24,7 @@ class SqsDevServicesWithoutQueueTest {

@RegisterExtension
static final QuarkusUnitTest config = new QuarkusUnitTest()
.withApplicationRoot((jar) -> jar
.addAsResource(new StringAsset("quarkus.aws.devservices.localstack.image-name=localstack/localstack:3.0.1"),
"application.properties"));

.withEmptyApplication();
@Test
void test() {
assertNotNull(client.get());
Expand Down

0 comments on commit ae2ea35

Please sign in to comment.