Skip to content
Permalink
Browse files

update scalapb version

  • Loading branch information...
ivangiangreco committed Nov 22, 2018
1 parent e32366e commit 12228daaaba548283cd2571777fe6418978771ef
Showing with 9 additions and 4 deletions.
  1. +1 −1 grpc
  2. +6 −1 grpcclient/src/main/scala/org/vitrivr/adampro/communication/RPCClient.scala
  3. +2 −2 project/scalapb.sbt
2 grpc
Submodule grpc updated 1 files
+5 −4 build.sbt
@@ -779,9 +779,14 @@ class RPCClient(channel: ManagedChannel,
}
}

/**
*
* @param json
* @return
*/
def doQuery(json: String): Try[Seq[RPCQueryResults]] = {
execute("json query operation") {
val query = com.trueaccord.scalapb.json.JsonFormat.fromJsonString[QueryMessage](json)
val query = JsonFormat.fromJsonString[QueryMessage](json)
val res = searcherBlocking.doQuery(query)
if (res.ack.get.code.isOk) {
return Success(res.responses.map(new RPCQueryResults(_)))
@@ -1,3 +1,3 @@
addSbtPlugin("com.thesamet" % "sbt-protoc" % "0.99.18")
addSbtPlugin("com.thesamet" % "sbt-protoc" % "0.99.19")

libraryDependencies += "com.trueaccord.scalapb" %% "compilerplugin" % "0.6.6"
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.8.2"

0 comments on commit 12228da

Please sign in to comment.
You can’t perform that action at this time.