Skip to content

Conversation

@senpathi
Copy link
Contributor

relates to #169

upload file handler migrated to grpc
tests added

@senpathi senpathi added the grpc label May 30, 2021
@senpathi senpathi requested review from Sriep and shravanshetty1 May 30, 2021 09:54
@shravanshetty1 shravanshetty1 changed the title 169 grpc upload file handler [WIP] 169 grpc upload file handler May 30, 2021
senpathi added 3 commits June 3, 2021 00:14
# 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
@senpathi senpathi changed the title [WIP] 169 grpc upload file handler 169 grpc upload file handler Jun 5, 2021
senpathi added 2 commits June 20, 2021 19:15
# 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
Copy link
Contributor

@shravanshetty1 shravanshetty1 left a 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

};
}
rpc WriteFile(UploadFileRequest) returns (UploadFileResponse) {
option (google.api.http) = {
Copy link
Contributor

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?

Copy link
Contributor

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

@shravanshetty1 shravanshetty1 merged commit 8c43d1e into 0chain:grpc Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants