refactor(proto): move PersistService to new file
Separate the PersistService into it's own file.pull/24376/head
parent
7f4fd1013c
commit
08cf71e0ac
|
@ -59,6 +59,7 @@ fn generate_grpc_types(root: &Path) -> Result<()> {
|
|||
ingester_path.join("write_info.proto"),
|
||||
ingester_path.join("write.proto"),
|
||||
ingester_path.join("replication.proto"),
|
||||
ingester_path.join("persist.proto"),
|
||||
namespace_path.join("service.proto"),
|
||||
object_store_path.join("service.proto"),
|
||||
predicate_path.join("predicate.proto"),
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
syntax = "proto3";
|
||||
package influxdata.iox.ingester.v1;
|
||||
option go_package = "github.com/influxdata/iox/ingester/v1";
|
||||
|
||||
service PersistService {
|
||||
rpc Persist(PersistRequest) returns (PersistResponse);
|
||||
}
|
||||
|
||||
message PersistRequest {
|
||||
// The namespace to persist
|
||||
string namespace = 1;
|
||||
}
|
||||
|
||||
message PersistResponse {}
|
|
@ -14,13 +14,3 @@ message WriteRequest {
|
|||
|
||||
message WriteResponse {}
|
||||
|
||||
service PersistService {
|
||||
rpc Persist(PersistRequest) returns (PersistResponse);
|
||||
}
|
||||
|
||||
message PersistRequest {
|
||||
// The namespace to persist
|
||||
string namespace = 1;
|
||||
}
|
||||
|
||||
message PersistResponse {}
|
||||
|
|
Loading…
Reference in New Issue