Skip to content

Commit

Permalink
fix: spotless (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherif-kv authored May 8, 2024
1 parent 8012938 commit bc834a1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ public ExternalPayloadStorage s3ExternalPayloadStorage(
matchIfMissing = true)
@Bean
public AmazonS3 amazonS3(S3Properties properties) {
return AmazonS3ClientBuilder.standard().withRegion(properties.getRegion()).build();
// TODO: Add localstack support to test locally
// return AmazonS3ClientBuilder.standard()
// .withEndpointConfiguration(
// new AwsClientBuilder.EndpointConfiguration(
// properties.getEndpoint(), properties.getRegion()))
// .build();
return AmazonS3ClientBuilder.standard().withRegion(properties.getRegion()).build();
// TODO: Add localstack support to test locally
// return AmazonS3ClientBuilder.standard()
// .withEndpointConfiguration(
// new AwsClientBuilder.EndpointConfiguration(
// properties.getEndpoint(), properties.getRegion()))
// .build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ public void setRegion(String region) {
this.region = region;
}

// TODO: Add localstack support to test locally
// private String endpoint = "http://s3.localhost.localstack.cloud:4566";
//
// public String getEndpoint() {
// return endpoint;
// }
//
// public void setEndpoint(String endpoint) {
// this.endpoint = endpoint;
// }
// TODO: Add localstack support to test locally
// private String endpoint = "http://s3.localhost.localstack.cloud:4566";
//
// public String getEndpoint() {
// return endpoint;
// }
//
// public void setEndpoint(String endpoint) {
// this.endpoint = endpoint;
// }
}

0 comments on commit bc834a1

Please sign in to comment.