File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
src/main/scala/com/scalableminds/fossildb Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ libraryDependencies ++= Seq(
2323 " ch.qos.logback" % " logback-classic" % " 1.2.3" ,
2424 " com.typesafe.scala-logging" %% " scala-logging" % " 3.7.2" ,
2525 " org.scalatest" % " scalatest_2.12" % " 3.0.4" % " test" ,
26- " io.grpc" % " grpc-netty " % com.trueaccord. scalapb.compiler.Version .grpcJavaVersion,
27- " com.trueaccord .scalapb" %% " scalapb-runtime-grpc" % com.trueaccord. scalapb.compiler.Version .scalapbVersion,
26+ " io.grpc" % " grpc-all " % scalapb.compiler.Version .grpcJavaVersion,
27+ " com.thesamet .scalapb" %% " scalapb-runtime-grpc" % scalapb.compiler.Version .scalapbVersion,
2828 " org.rocksdb" % " rocksdbjni" % " 5.1.2" ,
2929 " com.github.scopt" %% " scopt" % " 3.7.0"
3030)
Original file line number Diff line number Diff line change 1- addSbtPlugin(" com.thesamet" % " sbt-protoc" % " 0.99.12 " )
1+ addSbtPlugin(" com.thesamet" % " sbt-protoc" % " 0.99.18 " )
22
3- libraryDependencies += " com.trueaccord .scalapb" %% " compilerplugin" % " 0.6.6 "
3+ libraryDependencies += " com.thesamet .scalapb" %% " compilerplugin" % " 0.7.4 "
Original file line number Diff line number Diff line change @@ -6,14 +6,18 @@ package com.scalableminds.fossildb
66import java .io .{PrintWriter , StringWriter }
77
88import com .google .protobuf .ByteString
9+ import io .grpc .health .v1 .HealthGrpc ;
910import com .scalableminds .fossildb .db .StoreManager
1011import com .scalableminds .fossildb .proto .fossildbapi ._
1112import com .trueaccord .scalapb .GeneratedMessage
1213import com .typesafe .scalalogging .LazyLogging
1314
1415import scala .concurrent .Future
1516
16- class FossilDBGrpcImpl (storeManager : StoreManager ) extends FossilDBGrpc .FossilDB with LazyLogging {
17+ class FossilDBGrpcImpl (storeManager : StoreManager )
18+ extends FossilDBGrpc .FossilDB
19+ with LazyLogging
20+ with HealthGrpc .HealthImplBase {
1721
1822 override def health (req : HealthRequest ) = withExceptionHandler(req) {
1923 HealthReply (true )
You can’t perform that action at this time.
0 commit comments