Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ public ExternalPayloadStorage s3ExternalPayloadStorage(
matchIfMissing = true)
@Bean
public AmazonS3 amazonS3(S3Properties properties) {
return AmazonS3ClientBuilder.standard().withRegion(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 @@ -54,4 +54,15 @@ public String getRegion() {
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;
// }
}
1 change: 1 addition & 0 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ dependencies {
runtimeOnly group: 'com.netflix.conductor', name: 'conductor-postgres-persistence', version: '3.9.1'

implementation "com.netflix.spectator:spectator-reg-metrics3:${version_spectator}"
implementation 'javax.xml.bind:jaxb-api:2.3.1'

runtimeOnly "org.glassfish.jaxb:jaxb-runtime:${revJAXB}"

Expand Down