Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
TomJKing committed Jul 17, 2024
1 parent b902082 commit d3158fd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 6 additions & 6 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import sbt.*

object Dependencies {
private val http4sVersion = "0.23.26"
private val pureConfigVersion = "0.17.6"
private val tapirVersion = "1.10.7"
private val pureConfigVersion = "0.17.7"
private val tapirVersion = "1.10.13"
private val tdrAWSUtilsVersion = "0.1.197-SNAPSHOT"

lazy val authUtils = "uk.gov.nationalarchives" %% "tdr-auth-utils" % "0.0.206-SNAPSHOT"
lazy val authUtils = "uk.gov.nationalarchives" %% "tdr-auth-utils" % "0.0.207"

lazy val catsEffect = "org.typelevel" %% "cats-effect" % "3.5.4"

Expand All @@ -19,8 +19,8 @@ object Dependencies {
lazy val logBackEncoder = "net.logstash.logback" % "logstash-logback-encoder" % "7.4"
lazy val logbackClassic = "ch.qos.logback" % "logback-classic" % "1.5.6"

lazy val mockito = "org.mockito" %% "mockito-scala" % "1.17.31"
lazy val mockitoScalaTest = "org.mockito" %% "mockito-scala-scalatest" % "1.17.31"
lazy val mockito = "org.mockito" %% "mockito-scala" % "1.17.37"
lazy val mockitoScalaTest = "org.mockito" %% "mockito-scala-scalatest" % "1.17.37"

lazy val pekkoTestKitHttp = "org.apache.pekko" %% "pekko-http-testkit" % "1.0.1"
lazy val pureConfig = "com.github.pureconfig" %% "pureconfig" % pureConfigVersion
Expand All @@ -33,5 +33,5 @@ object Dependencies {
lazy val tapirJsonCirce = "com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion
lazy val tapirSwaggerUI = "com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % tapirVersion

lazy val scalaTest = "org.scalatest" %% "scalatest" % "3.2.18"
lazy val scalaTest = "org.scalatest" %% "scalatest" % "3.2.19"
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class DataLoadProcessor {
def trigger(consignmentId: UUID, token: Token): IO[String] = {
// Trigger data load step function
val metadataObjectKey = s"$consignmentId/metadataload/${s3Config.metadataFileName}"
val input = ExecutionInput(consignmentId, token.userId, s3SourceBucketKey = metadataObjectKey, s3UploadBucketKey = metadataObjectKey)
val input = ExecutionInput(
consignmentId, token.userId, s3SourceBucketKey = metadataObjectKey, s3UploadBucketKey = metadataObjectKey, s3QuarantineBucketKey = metadataObjectKey)
for {
_ <- StepFunctionUtils.apply(sfnAsyncClient(sfnConfig.sfnEndpoint)).startExecution(sfnConfig.dataLoadStepFunctionArn, input)
} yield "OK"
Expand All @@ -35,6 +36,7 @@ object DataLoadProcessor {
userId: UUID,
s3SourceBucketKey: String,
s3UploadBucketKey: String,
s3QuarantineBucketKey: String,
fileId: String = s3Config.metadataFileName,
s3SourceBucket: String = s3Config.metadataS3SourceBucket,
s3UploadBucket: String = s3Config.metadataS3UploadBucket,
Expand Down

0 comments on commit d3158fd

Please sign in to comment.