Skip to content

Commit

Permalink
WX-1763 Update to jakarta Bard client (#7475)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgainerdewar authored Jul 29, 2024
1 parent d5cc343 commit 8cb78df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ object Dependencies {
private val heterodonV = "1.0.0-beta3"
private val hsqldbV = "2.6.1"
private val http4sV = "0.21.31" // this release is EOL. We need to upgrade further for cats3. https://http4s.org/versions/
private val jacksonV = "2.13.3"
private val jacksonV = "2.14.0"
private val jakartaActivationV = "1.2.1"
private val jakartaAnnotationV = "1.3.5"
private val jakartaInjectV = "2.6.1"
Expand Down Expand Up @@ -595,7 +595,7 @@ object Dependencies {
val servicesDependencies: List[ModuleID] = List(
"com.google.api" % "gax-grpc" % googleGaxGrpcV,
"org.apache.commons" % "commons-csv" % commonsCsvV,
"bio.terra" % "bard-client-resttemplate-javax" % bardClientV
"bio.terra" % "bard-client-resttemplate" % bardClientV
exclude("org.springframework", "spring-aop")
exclude("org.springframework", "spring-jcl"),
"org.apache.httpcomponents.client5" % "httpclient5" % apacheHttpClient5V // Needed for rest-template connection pooling
Expand Down
2 changes: 2 additions & 0 deletions project/Merging.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ object Merging {
MergeStrategy.first
case "versions" :: _ if path.last == "module-info.class" =>
MergeStrategy.discard
case "spring" :: _ if path.last == "aot.factories" =>
MergeStrategy.first
case "native-image" :: _ if Set("native-image.properties", "reflection-config.json").contains(path.last) =>
/*
Discard GraalVM configuration files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import cats.data.NonEmptyList
import com.typesafe.scalalogging.LazyLogging
import cromwell.services.instrumentation.CromwellInstrumentation
import cromwell.services.metrics.bard.model.BardEvent
import org.apache.http.impl.client.HttpClients
import org.apache.http.impl.conn.PoolingHttpClientConnectionManager
import org.apache.hc.client5.http.impl.classic.HttpClients
import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory
import org.springframework.web.client.RestTemplate

Expand Down

0 comments on commit 8cb78df

Please sign in to comment.