From b40bc78c6fbfc9e40706748089beb508d700b5d8 Mon Sep 17 00:00:00 2001 From: Karolina Zaborska Date: Thu, 12 Oct 2023 17:49:42 +0100 Subject: [PATCH 1/2] DLS-8983: Further addressing config warnings [HTS] - upgrade sbt-auto-build to 3.14.0 - upgraded bootstrap to 7.15.0 --- build.sbt | 3 ++- project/AppDependencies.scala | 2 +- project/plugins.sbt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 6684780..b66c11e 100644 --- a/build.sbt +++ b/build.sbt @@ -12,7 +12,8 @@ lazy val microservice = Project(appName, file(".")) scalacOptions ++= Seq( "-P:silencer:pathFilters=routes;views" ), - libraryDependencies += compilerPlugin("com.github.ghik" % "silencer-plugin" % "1.7.13" cross CrossVersion.full) + libraryDependencies += compilerPlugin( + "com.github.ghik" % "silencer-plugin" % "1.7.13" cross CrossVersion.full) // *************** ) .settings( diff --git a/project/AppDependencies.scala b/project/AppDependencies.scala index 88074e0..b52d376 100644 --- a/project/AppDependencies.scala +++ b/project/AppDependencies.scala @@ -2,7 +2,7 @@ import play.sbt.PlayImport.ws import sbt.* object AppDependencies { - val hmrcBootstrapVersion = "7.11.0" + val hmrcBootstrapVersion = "7.15.0" val compile: Seq[ModuleID] = Seq( ws, diff --git a/project/plugins.sbt b/project/plugins.sbt index 09727f7..8d8b1b0 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -5,7 +5,7 @@ resolvers += Resolver.url("HMRC-open-artefacts-ivy", url("https://open.artefacts resolvers += "Typesafe Releases" at "https://repo.typesafe.com/typesafe/releases/" -addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "3.9.0") +addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "3.14.0") addSbtPlugin("uk.gov.hmrc" % "sbt-distributables" % "2.2.0") addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.19") addSbtPlugin("org.scoverage" %% "sbt-scoverage" % "2.0.8") From 4f8f7f0bd86d5db030180692c3c1bf7a0e001caa Mon Sep 17 00:00:00 2001 From: Karolina Zaborska Date: Thu, 12 Oct 2023 18:28:23 +0100 Subject: [PATCH 2/2] DLS-8983: Addressing BOT suggestions[HTS] Config key auditing.enabled removed from conf/application.conf. Config key auditing.consumer.baseUri.host removed from conf/application.conf. Config key auditing.consumer.baseUri.port removed from conf/application.conf. --- conf/application.conf | 9 --------- 1 file changed, 9 deletions(-) diff --git a/conf/application.conf b/conf/application.conf index ff49dec..fc272e8 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -88,15 +88,6 @@ mongodb { uri = "mongodb://localhost:27017/email-verification" } -auditing { - enabled = false - consumer { - baseUri { - host = localhost - port = 8100 - } - } -} # a list of IP's to allowList. If this list is empty, no filtering is # performed. The IP address is looked for in the HTTP header of requests