Skip to content

Commit

Permalink
Merge pull request #403 from guardian/db/remove-aws-package-and-traces
Browse files Browse the repository at this point in the history
The AWS project is removed after having it as a standalone library
  • Loading branch information
Divs-B authored Jan 17, 2024
2 parents ed01efc + a22cc81 commit 5a020ed
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 153 deletions.
19 changes: 0 additions & 19 deletions aws/readme.md

This file was deleted.

37 changes: 0 additions & 37 deletions aws/src/main/scala/com/gu/contentapi/client/IAMEncoder.scala

This file was deleted.

60 changes: 0 additions & 60 deletions aws/src/main/scala/com/gu/contentapi/client/IAMSigner.scala

This file was deleted.

16 changes: 0 additions & 16 deletions aws/src/test/scala/com/gu/contentapi/client/IAMEncoderSpec.scala

This file was deleted.

1 change: 0 additions & 1 deletion aws/version.sbt

This file was deleted.

15 changes: 0 additions & 15 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ lazy val defaultClient = (project in file("client-default"))
.dependsOn(client)
.settings(commonSettings, defaultClientSettings, publishSettings)

// we apply versionSettingsMaybe to aws too because this project is always released in isolation
// from the others - and we _might_ want to put out a snapshot or beta for that (TBC).
// Bear this in mind if we begin releasing aws in sync with the others
lazy val aws = (project in file("aws"))
.settings(commonSettings, awsSettings, versionSettingsMaybe, publishSettings)

/* --------------------------------------------------------------------- */

lazy val commonSettings: Seq[Setting[_]] = Metadata.settings ++ Seq(
Expand Down Expand Up @@ -75,15 +69,6 @@ lazy val defaultClientSettings: Seq[Setting[_]] = Seq(
"""
)

lazy val awsSettings: Seq[Setting[_]] = Seq(
name := Metadata.ghProject + "-aws",
description := "AWS helper functionality for using Guardian's Content API scala client",
developers := Metadata.awsDevs,
releaseUseGlobalVersion := false,
releaseVersionFile := baseDirectory.value / "version.sbt",
libraryDependencies ++= awsDeps,
)


lazy val publishSettings: Seq[Setting[_]] = Seq(
resolvers += Resolver.sonatypeRepo("public"),
Expand Down
5 changes: 0 additions & 5 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,4 @@ object Dependencies {
val defaultClientDeps = Seq(
"com.squareup.okhttp3" % "okhttp" % okhttpVersion
)

val awsDeps = Seq(
"com.amazonaws" % "aws-java-sdk-core" % awsSdkVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion % "test"
)
}

0 comments on commit 5a020ed

Please sign in to comment.