Skip to content

Commit

Permalink
Merge branch '4.1.x' into 4.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjbaxter committed Jan 23, 2025
2 parents fea1937 + 122c792 commit 21f0425
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class AwsS3IntegrationTests {

@Container
static LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:1.3.1"))
DockerImageName.parse("localstack/localstack:4.0.3"))
.withServices(LocalStackContainer.Service.S3);

private static ConfigurableApplicationContext server;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class AwsParameterStoreEnvironmentRepositoryTests {

@Container
private static final LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:1.3.1"))
DockerImageName.parse("localstack/localstack:4.0.3"))
.withServices(SSM);

private final StaticCredentialsProvider staticCredentialsProvider = StaticCredentialsProvider
Expand Down Expand Up @@ -700,8 +700,12 @@ private void putParameters(Environment environment, boolean withSlashesForProper
String path = StringUtils.delete(ps.getName(), environmentProperties.getOrigin());
Set<Parameter> parameters = getParameters(ps, path, withSlashesForPropertyName);
parameters.forEach(value -> {
ssmClient.putParameter(
PutParameterRequest.builder().name(value.name()).dataType("text").value(value.value()).build());
ssmClient.putParameter(PutParameterRequest.builder()
.name(value.name())
.type("String")
.dataType("text")
.value(value.value())
.build());
toBeRemoved.add(value.name());
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class AwsS3EnvironmentRepositoryTests {

@Container
private static final LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:1.3.1"))
DockerImageName.parse("localstack/localstack:4.0.3"))
.withServices(S3);

private final ConfigServerProperties server = new ConfigServerProperties();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class AwsSecretsManagerEnvironmentRepositoryTests {

@Container
private static final LocalStackContainer localstack = new LocalStackContainer(
DockerImageName.parse("localstack/localstack:1.3.1"))
DockerImageName.parse("localstack/localstack:4.0.3"))
.withServices(SECRETSMANAGER);

private static final Log log = LogFactory.getLog(AwsSecretsManagerEnvironmentRepository.class);
Expand Down

0 comments on commit 21f0425

Please sign in to comment.