Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gRPC plugin proto changes (#1323)
* Add gRPC plugin proto changes Relating to issue #422 and review #1214, add proto changes to later allow for gRPC plugins to be used. Signed-off-by: Charles Dixon <[email protected]> * Change FindTraces signature to return a stream. FindTraces can hit grpc message size limits if a large number of spans are requested, using a stream mitigates this issue. Signed-off-by: Charles Dixon <[email protected]> * Satisfy gofmt tool Signed-off-by: Charles Dixon <[email protected]> * Change proto package and service names Signed-off-by: Charles Dixon <[email protected]> * Delete commented out spanstorage Signed-off-by: Charles Dixon <[email protected]> * Change FindTraces response to be a stream of spans Signed-off-by: Charles Dixon <[email protected]> * Change from EmptyMessage to google.protobuf.Empty Signed-off-by: Charles Dixon <[email protected]> * Move from using StoragePluginError to google.rpc.Status Signed-off-by: Charles Dixon <[email protected]> * Remove commented code and clean up proto formatting Signed-off-by: Charles Dixon <[email protected]> * Remove protobuf responses and only return successes, rely on Status for errors Signed-off-by: Charles Dixon <[email protected]> * Update Gopkg lockfile Signed-off-by: Charles Dixon <[email protected]> * Update Span type to come from model.proto Signed-off-by: Charles Dixon <[email protected]> * Update storage proto file Signed-off-by: Charles Dixon <[email protected]> * Add generated storage plugin file to lint ignores Signed-off-by: Charles Dixon <[email protected]> * Lint ignore grpc plugin generated code by name not path Signed-off-by: Charles Dixon <[email protected]> * Rename FindTracesResponseChunk to SpansResponseChunk Signed-off-by: Charles Dixon <[email protected]> * Add marshal/unmarshal tests for DependencyLink Signed-off-by: Charles Dixon <[email protected]> * Add tests for storage protos with custom types Signed-off-by: Charles Dixon <[email protected]> * Run fmt and ignore storage_test for linting Signed-off-by: Charles Dixon <[email protected]> * Remove DependencyLinkSource and use string Signed-off-by: Charles Dixon <[email protected]> * Update headers Signed-off-by: Charles Dixon <[email protected]> * Add SpansChunkResponse test Signed-off-by: Charles Dixon <[email protected]> * Update makefile protoc calls Signed-off-by: Charles Dixon <[email protected]> * Update proto generated files and update license script Signed-off-by: Charles Dixon <[email protected]> * Update generated storage file to new proto layout Signed-off-by: Charles Dixon <[email protected]> * Add storage generated files to import order cleanup ignores Signed-off-by: Charles Dixon <[email protected]> * Move storage generated file to proto-gen dir Signed-off-by: Charles Dixon <[email protected]> * Remove generated plugin storage file from script ignores Signed-off-by: Charles Dixon <[email protected]> * Fix copyright headers Signed-off-by: Charles Dixon <[email protected]> * Update storage_test generated file Signed-off-by: Charles Dixon <[email protected]>
- Loading branch information