Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vorgang-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
vorgang-manager
Commits
361d54e9
Commit
361d54e9
authored
4 years ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-530 -> OZG-554 extend grpc by file.proto/filemodel.proto
parent
43178174
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pluto-interface/src/main/protobuf/file.proto
+21
-0
21 additions, 0 deletions
pluto-interface/src/main/protobuf/file.proto
pluto-interface/src/main/protobuf/filemodel.proto
+46
-0
46 additions, 0 deletions
pluto-interface/src/main/protobuf/filemodel.proto
with
67 additions
and
0 deletions
pluto-interface/src/main/protobuf/file.proto
0 → 100644
+
21
−
0
View file @
361d54e9
syntax
=
"proto3"
;
package
de
.
itvsh.ozg.pluto.grpc.file
;
import
"filemodel.proto"
;
option
java_multiple_files
=
true
;
option
java_package
=
"de.itvsh.ozg.pluto.grpc.file"
;
option
java_outer_classname
=
"FileProto"
;
service
FileService
{
rpc
GetFileData
(
GrpcGetFileDataRequest
)
returns
(
GrpcGetFileDataResponse
)
{
}
rpc
GetAttachments
(
GrpcGetAttachmentsRequest
)
returns
(
GrpcGetAttachmentsResponse
)
{
}
rpc
GetRepresentations
(
GrpcGetRepresenationsRequest
)
returns
(
GrpcGetRepresentationsResponse
)
{
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
pluto-interface/src/main/protobuf/filemodel.proto
0 → 100644
+
46
−
0
View file @
361d54e9
syntax
=
"proto3"
;
package
de
.
itvsh.ozg.pluto.grpc.file
;
import
"callcontext.proto"
;
option
java_multiple_files
=
true
;
option
java_outer_classname
=
"FileModelProto"
;
message
GrpcGetFileDataRequest
{
de.itvsh.ozg.pluto.grpc.command.GrpcCallContext
context
=
1
;
string
fileId
=
2
;
}
message
GrpcGetFileDataResponse
{
FileData
fileData
=
1
;
}
message
FileData
{
string
id
=
1
;
string
content
=
2
;
string
contentType
=
3
;
int64
laenge
=
5
;
}
message
GrpcGetAttachmentsRequest
{
de.itvsh.ozg.pluto.grpc.command.GrpcCallContext
context
=
1
;
string
eingangId
=
2
;
}
message
GrpcGetAttachmentsResponse
{
repeated
File
file
=
1
;
}
message
GrpcGetRepresenationsRequest
{
de.itvsh.ozg.pluto.grpc.command.GrpcCallContext
context
=
1
;
string
eingangId
=
2
;
}
message
GrpcGetRepresentationsResponse
{
repeated
File
file
=
1
;
}
message
File
{
string
id
=
1
;
string
name
=
4
;
int64
size
=
5
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment