-
Notifications
You must be signed in to change notification settings - Fork 26
169 grpc upload file handler #172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
169 grpc upload file handler #172
Conversation
# Conflicts: # code/go/0chain.net/blobbercore/blobbergrpc/blobber.pb.go # code/go/0chain.net/blobbercore/blobbergrpc/blobber_grpc.pb.go # code/go/0chain.net/blobbercore/blobbergrpc/proto/blobber.proto # code/go/0chain.net/blobbercore/convert/responseHandler.go # code/go/0chain.net/blobbercore/mocks/PackageHandler.go
# Conflicts: # .github/workflows/ci.yml # code/go/0chain.net/blobbercore/allocation/allocationchange.go # code/go/0chain.net/blobbercore/blobbergrpc/blobber.pb.go # code/go/0chain.net/blobbercore/blobbergrpc/blobber_grpc.pb.go # code/go/0chain.net/blobbercore/blobbergrpc/proto/blobber.proto # code/go/0chain.net/blobbercore/convert/responseHandler.go # code/go/0chain.net/blobbercore/handler/helper.go # code/go/0chain.net/blobbercore/handler/object_operation_grpc_handler.go # code/go/0chain.net/blobbercore/handler/object_operation_grpc_handler_test.go # code/go/0chain.net/blobbercore/mocks/PackageHandler.go # code/go/0chain.net/blobbercore/openapi/blobber.swagger.json
shravanshetty1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also for this endpoint, write integration tests in this PR itself
# Conflicts: # code/go/0chain.net/blobbercore/handler/grpc_handler_integration_test.go
test read file updated
| }; | ||
| } | ||
| rpc WriteFile(UploadFileRequest) returns (UploadFileResponse) { | ||
| option (google.api.http) = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is method name different than request and response here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything else is fine change this please
relates to #169
upload file handler migrated to grpc
tests added