Adds junit-vintage-engine

This commit is contained in:
spencergibb
2020-06-15 16:32:55 -04:00
parent 72ec91814e
commit 9021b3805f
3 changed files with 11 additions and 0 deletions

View File

@@ -81,6 +81,11 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-test-support</artifactId>

View File

@@ -123,6 +123,11 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-test-support</artifactId>

View File

@@ -37,6 +37,7 @@ public class AwsS3EnvironmentRepositoryFactory implements
if (environmentProperties.getRegion() != null) {
clientBuilder.withRegion(environmentProperties.getRegion());
}
clientBuilder.withClientConfiguration()
final AmazonS3 client = clientBuilder.build();
if (environmentProperties.getEndpoint() != null) {
client.setEndpoint(environmentProperties.getEndpoint());