Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelbranco80 committed Feb 21, 2025
1 parent 41f95e9 commit 43f2898
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions src/main/scala/com/rawlabs/das/server/DASServer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ package com.rawlabs.das.server
import scala.concurrent.ExecutionContext
import scala.jdk.DurationConverters.JavaDurationOps

import org.apache.pekko.actor.typed.scaladsl.Behaviors
import org.apache.pekko.actor.typed.{ActorSystem, Scheduler}
import org.apache.pekko.stream.Materializer

import com.rawlabs.das.sdk.DASSettings
import com.rawlabs.das.server.cache.QueryResultCache
import com.rawlabs.das.server.grpc.{
Expand All @@ -27,9 +31,6 @@ import com.rawlabs.das.server.manager.DASSdkManager
import com.rawlabs.das.server.webui.{DASWebUIServer, DebugAppService}
import com.rawlabs.protocol.das.v1.services.{HealthCheckServiceGrpc, RegistrationServiceGrpc, TablesServiceGrpc}

import org.apache.pekko.actor.typed.scaladsl.Behaviors
import org.apache.pekko.actor.typed.{ActorSystem, Scheduler}
import org.apache.pekko.stream.Materializer
import io.grpc.{Server, ServerBuilder}

class DASServer(resultCache: QueryResultCache)(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ import java.nio.file.Files
import scala.concurrent.ExecutionContext
import scala.util.Try

import org.apache.pekko.actor.typed.scaladsl.Behaviors
// gRPC stubs
import org.apache.pekko.actor.typed.{ActorSystem, Scheduler}
import org.apache.pekko.stream.Materializer
import org.apache.pekko.util.Timeout
import org.scalatest.BeforeAndAfterAll
import org.scalatest.concurrent.ScalaFutures
import org.scalatest.matchers.should.Matchers
Expand All @@ -31,11 +36,6 @@ import com.rawlabs.protocol.das.v1.query.Query
import com.rawlabs.protocol.das.v1.services._
import com.rawlabs.protocol.das.v1.tables._

import org.apache.pekko.actor.typed.scaladsl.Behaviors
// gRPC stubs
import org.apache.pekko.actor.typed.{ActorSystem, Scheduler}
import org.apache.pekko.stream.Materializer
import org.apache.pekko.util.Timeout
import io.grpc.inprocess.{InProcessChannelBuilder, InProcessServerBuilder}
import io.grpc.{ManagedChannel, Server, StatusRuntimeException}

Expand Down

0 comments on commit 43f2898

Please sign in to comment.