diff --git a/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/GoogleServicesDAO.scala b/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/GoogleServicesDAO.scala index 1d893a028..53e927713 100644 --- a/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/GoogleServicesDAO.scala +++ b/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/GoogleServicesDAO.scala @@ -2,9 +2,8 @@ package org.broadinstitute.dsde.firecloud.dataaccess import akka.http.scaladsl.model.HttpResponse import better.files.File -import com.google.api.services.storage.model.Bucket import org.broadinstitute.dsde.firecloud.model.WithAccessToken -import org.broadinstitute.dsde.rawls.model.{ErrorReportSource, GoogleProjectId} +import org.broadinstitute.dsde.rawls.model.ErrorReportSource import org.broadinstitute.dsde.workbench.model.google.{GcsBucketName, GcsObjectName, GcsPath} import org.broadinstitute.dsde.workbench.util.health.Subsystems.Subsystem import org.broadinstitute.dsde.workbench.util.health.{SubsystemStatus, Subsystems} diff --git a/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/HttpGoogleServicesDAO.scala b/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/HttpGoogleServicesDAO.scala index b01905626..dac6b6ea8 100644 --- a/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/HttpGoogleServicesDAO.scala +++ b/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/HttpGoogleServicesDAO.scala @@ -17,7 +17,6 @@ import com.google.api.services.directory.model.{Group, Member} import com.google.api.services.directory.{Directory, DirectoryScopes} import com.google.api.services.pubsub.model.{PublishRequest, PubsubMessage} import com.google.api.services.pubsub.{Pubsub, PubsubScopes} -import com.google.api.services.storage.model.Bucket import com.google.api.services.storage.{Storage, StorageScopes} import com.google.auth.http.HttpCredentialsAdapter import com.google.auth.oauth2.{GoogleCredentials, ServiceAccountCredentials} @@ -29,7 +28,6 @@ import org.broadinstitute.dsde.firecloud.dataaccess.HttpGoogleServicesDAO._ import org.broadinstitute.dsde.firecloud.model.WithAccessToken import org.broadinstitute.dsde.firecloud.service.FireCloudRequestBuilding import org.broadinstitute.dsde.firecloud.utils.RestJsonClient -import org.broadinstitute.dsde.rawls.model.GoogleProjectId import org.broadinstitute.dsde.workbench.google2.{GcsBlobName, GoogleStorageService} import org.broadinstitute.dsde.workbench.model.google.{GcsBucketName, GcsObjectName, GcsPath, GoogleProject} import org.broadinstitute.dsde.workbench.util.health.SubsystemStatus @@ -37,7 +35,7 @@ import org.typelevel.log4cats.SelfAwareStructuredLogger import org.typelevel.log4cats.slf4j.Slf4jLogger import spray.json.{DefaultJsonProtocol, _} -import java.io.{ByteArrayInputStream, FileInputStream} +import java.io.FileInputStream import scala.concurrent.{ExecutionContext, Future} import scala.jdk.CollectionConverters._ import scala.util.{Failure, Success, Try} diff --git a/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/HttpRawlsDAO.scala b/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/HttpRawlsDAO.scala index 194a5e2cf..c684678c3 100644 --- a/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/HttpRawlsDAO.scala +++ b/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/HttpRawlsDAO.scala @@ -3,7 +3,6 @@ package org.broadinstitute.dsde.firecloud.dataaccess import akka.actor.ActorSystem import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport import akka.http.scaladsl.model.StatusCodes._ -import akka.http.scaladsl.model.Uri.Query import akka.http.scaladsl.model._ import akka.http.scaladsl.unmarshalling.Unmarshal import akka.stream.Materializer @@ -26,7 +25,6 @@ import org.broadinstitute.dsde.rawls.model.{ _ } import org.broadinstitute.dsde.workbench.util.health.SubsystemStatus -import org.joda.time.DateTime import spray.json.DefaultJsonProtocol._ import spray.json._ diff --git a/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/RawlsDAO.scala b/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/RawlsDAO.scala index 9c25db13a..904b14142 100644 --- a/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/RawlsDAO.scala +++ b/src/main/scala/org/broadinstitute/dsde/firecloud/dataaccess/RawlsDAO.scala @@ -12,7 +12,6 @@ import org.broadinstitute.dsde.rawls.model.AttributeUpdateOperations.AttributeUp import org.broadinstitute.dsde.rawls.model._ import org.broadinstitute.dsde.workbench.util.health.Subsystems import org.broadinstitute.dsde.workbench.util.health.Subsystems.Subsystem -import org.joda.time.DateTime import scala.concurrent.Future diff --git a/src/main/scala/org/broadinstitute/dsde/firecloud/service/WorkspaceService.scala b/src/main/scala/org/broadinstitute/dsde/firecloud/service/WorkspaceService.scala index 818bd0fdc..dd45d00e1 100644 --- a/src/main/scala/org/broadinstitute/dsde/firecloud/service/WorkspaceService.scala +++ b/src/main/scala/org/broadinstitute/dsde/firecloud/service/WorkspaceService.scala @@ -3,7 +3,6 @@ package org.broadinstitute.dsde.firecloud.service import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport import akka.http.scaladsl.model.headers._ import akka.http.scaladsl.model.{ContentTypes, StatusCodes} -import cats.implicits.catsSyntaxOptionId import com.typesafe.scalalogging.LazyLogging import org.broadinstitute.dsde.firecloud.dataaccess._ import org.broadinstitute.dsde.firecloud.model.ModelJsonProtocol._ @@ -25,7 +24,6 @@ import org.broadinstitute.dsde.rawls.model.AttributeUpdateOperations.{ } import org.broadinstitute.dsde.rawls.model.WorkspaceACLJsonSupport._ import org.broadinstitute.dsde.rawls.model._ -import org.broadinstitute.dsde.workbench.model.google.GoogleProject import spray.json.DefaultJsonProtocol._ import scala.concurrent.{ExecutionContext, Future} diff --git a/src/test/scala/org/broadinstitute/dsde/firecloud/mock/MockGoogleServicesDAO.scala b/src/test/scala/org/broadinstitute/dsde/firecloud/mock/MockGoogleServicesDAO.scala index c585a6807..a1db4cf1a 100644 --- a/src/test/scala/org/broadinstitute/dsde/firecloud/mock/MockGoogleServicesDAO.scala +++ b/src/test/scala/org/broadinstitute/dsde/firecloud/mock/MockGoogleServicesDAO.scala @@ -2,7 +2,6 @@ package org.broadinstitute.dsde.firecloud.mock import akka.http.scaladsl.model.HttpResponse import better.files.File -import com.google.api.services.storage.model.Bucket import org.broadinstitute.dsde.firecloud.dataaccess._ import org.broadinstitute.dsde.firecloud.model.WithAccessToken import org.broadinstitute.dsde.workbench.model.google.{GcsBucketName, GcsObjectName, GcsPath}