Commit 85ec99e7 authored by mohammad.salama's avatar mohammad.salama

Under Testing Version

parent 229174b4
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<version>2.7.17</version> <version>2.7.17</version>
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<groupId>com.example</groupId> <groupId>com.grpc.client.fileupload</groupId>
<artifactId>Client</artifactId> <artifactId>Client</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>Client</name> <name>Client</name>
......
...@@ -78,7 +78,7 @@ public class FileUploadService { ...@@ -78,7 +78,7 @@ public class FileUploadService {
try { try {
while ((length = inputStream.read(fiveKB)) > 0) { while ((length = inputStream.read(fiveKB)) > 0) {
log.info(String.format("sending %d length of data", length)); //log.info(String.format("sending %d length of data", length));
var request = FileUploadRequest var request = FileUploadRequest
.newBuilder() .newBuilder()
.setFile(File.newBuilder().setContent(ByteString.copyFrom(fiveKB, 0, length))) .setFile(File.newBuilder().setContent(ByteString.copyFrom(fiveKB, 0, length)))
......
...@@ -83,6 +83,16 @@ ...@@ -83,6 +83,16 @@
<artifactId>grpc-client-spring-boot-autoconfigure</artifactId> <artifactId>grpc-client-spring-boot-autoconfigure</artifactId>
<version>2.14.0.RELEASE</version> <version>2.14.0.RELEASE</version>
</dependency> </dependency>
<dependency>
<groupId>com.ge.research.semtk</groupId>
<artifactId>hiveService</artifactId>
<version>2.2.2</version>
</dependency>
<dependency>
<groupId>com.arost</groupId>
<artifactId>spring-db-fileservice</artifactId>
<version>0.0.1</version>
</dependency>
</dependencies> </dependencies>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment