Skip to content

Commit

Permalink
Panda: Try out fix for creation of superfluous PanDomainAuthSettingsR…
Browse files Browse the repository at this point in the history
…efresher instances

Initially tried out in guardian/pan-domain-authentication@6e11a68,
this is now separated out into its own PR, guardian/pan-domain-authentication#155.
  • Loading branch information
rtyley committed Sep 12, 2024
1 parent 2df73bd commit dc64bff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/AppComponents.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AppComponents(context: Context, identity: AppIdentity)

override def controllerComponents: ControllerComponents = AppComponents.this.controllerComponents

override def panDomainSettings: PanDomainAuthSettingsRefresher = new PanDomainAuthSettingsRefresher(
override val panDomainSettings: PanDomainAuthSettingsRefresher = new PanDomainAuthSettingsRefresher(
domain = config.pandaDomain,
system = config.pandaSystem,
bucketName = "pan-domain-auth-settings",
Expand Down
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ libraryDependencies ++= dependencies

routesGenerator := InjectedRoutesGenerator

resolvers ++= Resolver.sonatypeOssRepos("releases")

lazy val root = (project in file(".")).enablePlugins(PlayScala, JDebPackaging, SystemdPlugin)
.settings(Defaults.coreDefaultSettings: _*)
.settings(
Expand Down
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ object Dependencies {
"com.gu" %% "editorial-permissions-client" % "2.15",
"com.gu" %% "simple-configuration-ssm" % "1.5.6",
"com.gu" %% "fezziwig" % "1.6",
"com.gu" %% "pan-domain-auth-play_3-0" % "5.0.0",
"com.gu" %% "pan-domain-auth-play_3-0" % "6.0.0-PREVIEW.support-accepting-multiple-public-keys.2024-09-12T1504.6e11a68d",
"io.circe" %% "circe-parser" % "0.14.5",
"net.logstash.logback" % "logstash-logback-encoder" % "6.6",
"com.gu" %% "content-api-client-aws" % "0.7",
"com.gu" %% "content-api-client" % "20.0.0"
)
}
}

0 comments on commit dc64bff

Please sign in to comment.