Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
FileUploadingService
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mohammad.salama
FileUploadingService
Commits
85ec99e7
Commit
85ec99e7
authored
Nov 22, 2023
by
mohammad.salama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Under Testing Version
parent
229174b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
pom.xml
Client/pom.xml
+1
-1
FileUploadService.java
...c/client/fileupload/client/service/FileUploadService.java
+1
-1
pom.xml
Proto/pom.xml
+10
-0
No files found.
Client/pom.xml
View file @
85ec99e7
...
...
@@ -9,7 +9,7 @@
<version>
2.7.17
</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>
<groupId>
com.
example
</groupId>
<groupId>
com.
grpc.client.fileupload
</groupId>
<artifactId>
Client
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<name>
Client
</name>
...
...
Client/src/main/java/com/grpc/client/fileupload/client/service/FileUploadService.java
View file @
85ec99e7
...
...
@@ -78,7 +78,7 @@ public class FileUploadService {
try
{
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
.
newBuilder
()
.
setFile
(
File
.
newBuilder
().
setContent
(
ByteString
.
copyFrom
(
fiveKB
,
0
,
length
)))
...
...
Proto/pom.xml
View file @
85ec99e7
...
...
@@ -83,6 +83,16 @@
<artifactId>
grpc-client-spring-boot-autoconfigure
</artifactId>
<version>
2.14.0.RELEASE
</version>
</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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment