Skip to content

Commit

Permalink
scalaFmt again
Browse files Browse the repository at this point in the history
  • Loading branch information
jsaun committed Dec 21, 2024
1 parent 64a1920 commit 25110ff
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ package org.broadinstitute.dsde.workbench.leonardo.app

import cats.effect.IO
import org.broadinstitute.dsde.workbench.google2.KubernetesSerializableName.ServiceAccountName
import org.broadinstitute.dsde.workbench.leonardo.CommonTestData.{azureRegion, billingProfileId, landingZoneResources, petUserInfo}
import org.broadinstitute.dsde.workbench.leonardo.CommonTestData.{
azureRegion,
billingProfileId,
landingZoneResources,
petUserInfo
}
import org.broadinstitute.dsde.workbench.leonardo.{ManagedIdentityName, PostgresServer, WsmControlledDatabaseResource}
import org.broadinstitute.dsde.workbench.leonardo.TestUtils.appContext
import org.broadinstitute.dsde.workbench.leonardo.config.AzureEnvironmentConverter
Expand All @@ -20,7 +25,7 @@ class CromwellAppInstallSpec extends BaseAppInstallSpec {
mockCbasDAO,
mockAzureBatchService,
mockAzureApplicationInsightsService,
mockSamAuthProvider,
mockSamAuthProvider
)

val cromwellAzureDbName = "cromwell_tghfgi"
Expand Down Expand Up @@ -67,7 +72,8 @@ class CromwellAppInstallSpec extends BaseAppInstallSpec {
"instrumentationEnabled=false," +
s"provenance.userAccessToken=${petUserInfo.accessToken.token}," +
"postgres.podLocalDatabaseEnabled=false," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter
.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
"postgres.pgbouncer.enabled=true," +
"postgres.user=ksa-1," +
s"postgres.dbnames.cromwell=$cromwellAzureDbName," +
Expand Down Expand Up @@ -123,7 +129,8 @@ class CromwellAppInstallSpec extends BaseAppInstallSpec {
"instrumentationEnabled=false," +
s"provenance.userAccessToken=${petUserInfo.accessToken.token}," +
"postgres.podLocalDatabaseEnabled=false," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter
.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
"postgres.pgbouncer.enabled=false," +
"postgres.user=ksa-1," +
s"postgres.dbnames.cromwell=$cromwellAzureDbName," +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class CromwellRunnerAppInstallSpec extends BaseAppInstallSpec {
"instrumentationEnabled=false," +
s"provenance.userAccessToken=${petUserInfo.accessToken.token}," +
"postgres.podLocalDatabaseEnabled=false," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter
.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
"postgres.pgbouncer.enabled=true," +
"postgres.user=ksa-1," +
s"postgres.dbnames.cromwell=$cromwellAzureDbName," +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ class HailBatchAppInstallSpec extends BaseAppInstallSpec {
s"persistence.workspaceManager.url=${ConfigReader.appConfig.azure.wsm.uri.renderString}," +
s"persistence.workspaceManager.workspaceId=${workspaceId.value}," +
s"persistence.workspaceManager.containerResourceId=${storageContainer.resourceId.value.toString}," +
s"persistence.workspaceManager.storageContainerUrl=https://${lzResources.storageAccountName.value}.blob${AzureEnvironmentConverter.fromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment).getSqlServerHostnameSuffix}/${storageContainer.name.value}," +
s"persistence.workspaceManager.storageContainerUrl=https://${lzResources.storageAccountName.value}.blob${AzureEnvironmentConverter
.fromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)
.getSqlServerHostnameSuffix}/${storageContainer.name.value}," +
"persistence.leoAppName=app1," +
"workloadIdentity.serviceAccountName=ksa-1," +
s"relay.domain=relay.com," +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ class WdsAppInstallSpec extends BaseAppInstallSpec {
"instrumentationEnabled=false," +
s"provenance.userAccessToken=${petUserInfo.accessToken.token}," +
"provenance.sourceWorkspaceId=," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter
.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
"postgres.pgbouncer.enabled=true," +
s"postgres.dbname=$wdsAzureDbName," +
"postgres.user=ksa-1"
Expand Down Expand Up @@ -83,7 +84,8 @@ class WdsAppInstallSpec extends BaseAppInstallSpec {
"instrumentationEnabled=false," +
s"provenance.userAccessToken=${petUserInfo.accessToken.token}," +
s"provenance.sourceWorkspaceId=${sourceWorkspaceId.value}," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter
.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
"postgres.pgbouncer.enabled=true," +
s"postgres.dbname=$wdsAzureDbName," +
"postgres.user=ksa-1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class WorkflowsAppInstallSpec extends BaseAppInstallSpec {
"instrumentationEnabled=false," +
s"provenance.userAccessToken=${petUserInfo.accessToken.token}," +
"postgres.podLocalDatabaseEnabled=false," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
s"postgres.host=${lzResources.postgresServer.map(_.name).get}.postgres${AzureEnvironmentConverter
.postgresSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
"postgres.pgbouncer.enabled=true," +
"postgres.user=ksa-1," +
s"postgres.dbnames.cromwellMetadata=$cromwellMetadataAzureDbName," +
Expand Down

0 comments on commit 25110ff

Please sign in to comment.