Skip to content

Commit

Permalink
Renamings (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-vovk authored Dec 7, 2024
1 parent 4d199f6 commit 8960a07
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import io.grpc.MethodDescriptor.MethodType
import org.http4s.dsl.Http4sDsl
import org.http4s.{Header, MediaType, MessageFailure, Method, Response}
import org.ivovk.connect_rpc_scala.Mappings.*
import org.ivovk.connect_rpc_scala.grpc.{GrpcClientCalls, GrpcHeaders, MethodName, MethodRegistry}
import org.ivovk.connect_rpc_scala.grpc.{ClientCalls, GrpcHeaders, MethodName, MethodRegistry}
import org.ivovk.connect_rpc_scala.http.Headers.`X-Test-Case-Name`
import org.ivovk.connect_rpc_scala.http.codec.MessageCodec.given
import org.ivovk.connect_rpc_scala.http.codec.{MessageCodec, MessageCodecRegistry}
Expand Down Expand Up @@ -104,7 +104,7 @@ class ConnectHandler[F[_] : Async](
}
)

GrpcClientCalls.asyncUnaryCall(
ClientCalls.asyncUnaryCall(
channel,
method.descriptor,
callOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.ivovk.connect_rpc_scala.grpc
import cats.effect.Async
import io.grpc.*

object GrpcClientCalls {
object ClientCalls {

case class Response[T](value: T, headers: Metadata, trailers: Metadata)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import java.net.URLEncoder
import scala.concurrent.{ExecutionContext, Future}
import scala.jdk.CollectionConverters.*

class HttpTest extends AnyFunSuite, Matchers {
class ConnectCommunicationTest extends AnyFunSuite, Matchers {

object TestServiceImpl extends TestService {
override def add(request: AddRequest): Future[AddResponse] =
Expand Down

0 comments on commit 8960a07

Please sign in to comment.