Skip to content

Commit 8960a07

Browse files
authored
Renamings (#49)
1 parent 4d199f6 commit 8960a07

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

core/src/main/scala/org/ivovk/connect_rpc_scala/ConnectHandler.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import io.grpc.MethodDescriptor.MethodType
88
import org.http4s.dsl.Http4sDsl
99
import org.http4s.{Header, MediaType, MessageFailure, Method, Response}
1010
import org.ivovk.connect_rpc_scala.Mappings.*
11-
import org.ivovk.connect_rpc_scala.grpc.{GrpcClientCalls, GrpcHeaders, MethodName, MethodRegistry}
11+
import org.ivovk.connect_rpc_scala.grpc.{ClientCalls, GrpcHeaders, MethodName, MethodRegistry}
1212
import org.ivovk.connect_rpc_scala.http.Headers.`X-Test-Case-Name`
1313
import org.ivovk.connect_rpc_scala.http.codec.MessageCodec.given
1414
import org.ivovk.connect_rpc_scala.http.codec.{MessageCodec, MessageCodecRegistry}
@@ -104,7 +104,7 @@ class ConnectHandler[F[_] : Async](
104104
}
105105
)
106106

107-
GrpcClientCalls.asyncUnaryCall(
107+
ClientCalls.asyncUnaryCall(
108108
channel,
109109
method.descriptor,
110110
callOptions,

core/src/main/scala/org/ivovk/connect_rpc_scala/grpc/GrpcClientCalls.scala renamed to core/src/main/scala/org/ivovk/connect_rpc_scala/grpc/ClientCalls.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package org.ivovk.connect_rpc_scala.grpc
33
import cats.effect.Async
44
import io.grpc.*
55

6-
object GrpcClientCalls {
6+
object ClientCalls {
77

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

core/src/test/scala/org/ivovk/connect_rpc_scala/HttpTest.scala renamed to core/src/test/scala/org/ivovk/connect_rpc_scala/ConnectCommunicationTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import java.net.URLEncoder
1717
import scala.concurrent.{ExecutionContext, Future}
1818
import scala.jdk.CollectionConverters.*
1919

20-
class HttpTest extends AnyFunSuite, Matchers {
20+
class ConnectCommunicationTest extends AnyFunSuite, Matchers {
2121

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

0 commit comments

Comments
 (0)