Skip to content

Commit

Permalink
Merge branch 'develop' into se/CORE-105-fix-broadbot-auto-approve
Browse files Browse the repository at this point in the history
  • Loading branch information
samanehsan authored Nov 12, 2024
2 parents d54a01f + ab2829d commit 24751b4
Show file tree
Hide file tree
Showing 11 changed files with 333 additions and 369 deletions.
4 changes: 2 additions & 2 deletions pact4s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ On the command line, you can try the following:
source env/local.env
source src/main/resources/rendered/secrets.env
export PACT_BROKER_URL="https://pact-broker.dsp-eng-tools.broadinstitute.org/"
export PACT_BROKER_USERNAME=$(vault read -field=basic_auth_read_only_username secret/dsp/pact-broker/users/read-only)
export PACT_BROKER_PASSWORD=$(vault read -field=basic_auth_read_only_password secret/dsp/pact-broker/users/read-only)
export PACT_BROKER_USERNAME="$(gcloud secrets versions access latest --project 'broad-dsp-eng-tools' --secret 'pact-broker-users-read-only' | jq -r '.basic_auth_read_only_username')"
export PACT_BROKER_PASSWORD="$(gcloud secrets versions access latest --project 'broad-dsp-eng-tools' --secret 'pact-broker-users-read-only' | jq -r '.basic_auth_read_only_password')"
```

In IntelliJ, you can create a Run Configuration for `SamProviderSpec.scala` and save `Environment Variables` for:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ object MockTestSupport extends MockTestSupport {
policyDAO,
googleExt,
FakeOpenIDConnectConfiguration,
azureService:Option[AzureService]
azureService: Option[AzureService]
)
}

Expand Down
15 changes: 9 additions & 6 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object Dependencies {
val scalaTestV = "3.2.19"
val scalaCheckV = "1.18.1"
val scalikejdbcVersion = "3.4.2"
val postgresDriverVersion = "42.7.2"
val postgresDriverVersion = "42.7.4"
val sentryVersion = "6.15.0"

val workbenchLibV = "fa46370" // If updating this, make sure googleStorageLocal in test dependencies is up-to-date
Expand Down Expand Up @@ -53,7 +53,7 @@ object Dependencies {
val ficus: ModuleID = "com.iheart" %% "ficus" % "1.5.2"
// val stackdriverLogging: ModuleID = "org.springframework.cloud" % "spring-cloud-gcp-logging" % "1.2.8.RELEASE" excludeAll(excludeSpring, excludeSpringBoot)
val stackdriverLogging: ModuleID = "com.google.cloud" % "google-cloud-logging-logback" % "0.127.11-alpha"
val janino: ModuleID = "org.codehaus.janino" % "janino" % "3.1.7" // For if-else logic in logging config
val janino: ModuleID = "org.codehaus.janino" % "janino" % "3.1.12" // For if-else logic in logging config

val akkaActor: ModuleID = "com.typesafe.akka" %% "akka-actor" % akkaV
val akkaSlf4j: ModuleID = "com.typesafe.akka" %% "akka-slf4j" % akkaV
Expand All @@ -71,7 +71,7 @@ object Dependencies {
val ioGrpc: ModuleID = "io.grpc" % "grpc-core" % "1.34.1"

val googleOAuth2: ModuleID = "com.google.auth" % "google-auth-library-oauth2-http" % "0.18.0" excludeAll excludIoGrpc
val googleStorage: ModuleID = "com.google.apis" % "google-api-services-storage" % "v1-rev20220401-1.32.1" excludeAll excludIoGrpc // force this version
val googleStorage: ModuleID = "com.google.apis" % "google-api-services-storage" % "v1-rev20241008-2.0.0" excludeAll excludIoGrpc // force this version

val monocle: ModuleID = "com.github.julien-truffaut" %% "monocle-core" % monocleVersion
val monocleMacro: ModuleID = "com.github.julien-truffaut" %% "monocle-macro" % monocleVersion
Expand Down Expand Up @@ -107,7 +107,7 @@ object Dependencies {

val liquibaseCore: ModuleID = "org.liquibase" % "liquibase-core" % "4.2.2"

val circeYAML: ModuleID = "io.circe" %% "circe-yaml" % "0.14.2"
val circeYAML: ModuleID = "io.circe" %% "circe-yaml" % "0.16.0"
val snakeYAML: ModuleID = "org.yaml" % "snakeyaml" % "2.3"

val scalikeCore = "org.scalikejdbc" %% "scalikejdbc" % scalikejdbcVersion
Expand Down Expand Up @@ -169,7 +169,9 @@ object Dependencies {
val terraCommonLib = tclExclusions("bio.terra" % "terra-common-lib" % tclVersion classifier "plain")

// was included transitively before, now explicit
val commonsCodec: ModuleID = "commons-codec" % "commons-codec" % "1.15"
val commonsCodec: ModuleID = "commons-codec" % "commons-codec" % "1.17.1"

val caffeine: ModuleID = "com.github.ben-manes.caffeine" % "caffeine" % "3.1.8"

val rootDependencies = Seq(
// proactively pull in latest versions of Jackson libs, instead of relying on the versions
Expand Down Expand Up @@ -222,7 +224,8 @@ object Dependencies {
sentry,
sentryLogback,
okio,
terraCommonLib
terraCommonLib,
caffeine
)

// Needed because it looks like the dependency overrides of wb-libs doesn't propagate to the importing project...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ trait AccessPolicyDAO {
resourceTypeNames: Set[ResourceTypeName],
policies: Set[AccessPolicyName],
roles: Set[ResourceRoleName],
actions: Set[ResourceAction],
includePublic: Boolean,
samRequestContext: SamRequestContext
): IO[Seq[FilterResourcesResult]]
Expand Down
Loading

0 comments on commit 24751b4

Please sign in to comment.