Skip to content

Commit

Permalink
Upgrade Localstack to 0.14.2 (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejwalkowiak authored Apr 29, 2022
1 parent a0b3141 commit e362bf6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ParameterStoreConfigDataLoaderIntegrationTests {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:0.14.0")).withServices(SSM).withReuse(true);
DockerImageName.parse("localstack/localstack:0.14.2")).withServices(SSM).withReuse(true);

@BeforeAll
static void beforeAll() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class SecretsManagerConfigDataLoaderIntegrationTests {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:0.14.0")).withServices(SECRETSMANAGER).withReuse(true);
DockerImageName.parse("localstack/localstack:0.14.2")).withServices(SECRETSMANAGER).withReuse(true);

@BeforeAll
static void beforeAll() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SnsTemplateIntegrationTest {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:0.14.0")).withServices(SNS).withReuse(true);
DockerImageName.parse("localstack/localstack:0.14.2")).withServices(SNS).withReuse(true);

@Test
void send_validTextMessage_usesTopicChannel_auto_create() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class S3ResourceIntegrationTests {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:0.14.0")).withServices(Service.S3).withReuse(true);
DockerImageName.parse("localstack/localstack:0.14.2")).withServices(Service.S3).withReuse(true);

private static S3Client client;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class S3TemplateIntegrationTests {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:0.14.0")).withServices(LocalStackContainer.Service.S3)
DockerImageName.parse("localstack/localstack:0.14.2")).withServices(LocalStackContainer.Service.S3)
.withReuse(true);

private static S3Client client;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class MailSendingApplication {
* logs in debug mode.
*/
private static final LocalStackContainer localStack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:0.14.0")).withEnv(Collections.singletonMap("DEBUG", "1"))
DockerImageName.parse("localstack/localstack:0.14.2")).withEnv(Collections.singletonMap("DEBUG", "1"))
.withServices(SES);

public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public SpringSNSSample(SnsTemplate snsTemplate, SnsClient snsClient) {

public static void main(String[] args) {
Testcontainers.exposeHostPorts(8080);
localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:0.14.0")).withServices(SNS);
localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:0.14.2")).withServices(SNS);
localStack.start();
System.setProperty("spring.cloud.aws.sns.region", localStack.getRegion());
System.setProperty("spring.cloud.aws.sns.endpoint", localStack.getEndpointOverride(SNS).toString());
Expand Down

0 comments on commit e362bf6

Please sign in to comment.