Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesgaroux committed Apr 15, 2024
1 parent 425a115 commit da363b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 0 additions & 2 deletions bag_replicator/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ services:
image: "public.ecr.aws/localstack/localstack:3.0.0"
environment:
- SERVICES=sqs
- USE_SINGLE_REGION=1
- DEFAULT_REGION=eu-west-1
ports:
- "4566:4566"
s3:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import akka.actor.ActorSystem
import com.azure.storage.blob.{BlobServiceClient, BlobServiceClientBuilder}
import com.typesafe.config.Config

import software.amazon.awssdk.services.s3.{S3AsyncClient, S3Client}
import software.amazon.awssdk.services.s3.S3Client
import software.amazon.awssdk.services.s3.presigner.S3Presigner
import software.amazon.awssdk.services.sqs.SqsAsyncClient
import software.amazon.awssdk.transfer.s3.S3TransferManager
Expand Down Expand Up @@ -46,12 +46,8 @@ object Main extends WellcomeTypesafeApp {
implicit val s3Client: S3Client =
S3Client.builder().build()


implicit val s3AsyncClient: S3AsyncClient =
S3AsyncClient.crtCreate

implicit val s3TransferManager: S3TransferManager =
S3TransferManager.builder().s3Client(s3AsyncClient).build()
S3TransferManager.builder().build()

implicit val s3Presigner: S3Presigner =
S3Presigner.builder().build()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import java.net.URI
trait S3TransferManagerFixtures extends S3Fixtures {
def createS3TransferManagerWithEndpoint(endpoint: String): S3TransferManager = {
val s3AsyncClient =
S3AsyncClient.crtBuilder()
S3AsyncClient.builder()
.credentialsProvider(s3Credentials)
.forcePathStyle(true)
.endpointOverride(new URI(endpoint))
Expand Down

0 comments on commit da363b8

Please sign in to comment.