RPC Design NamespaceService
Expected Artefacts
See the Migration Process documentation for more information on the RPC Design stage of the process.
-
grpc-proto
RPC prototypes: merged change
From the original issue:
service NamespaceService {
rpc AddNamespace(AddNamespaceRequest) returns (AddNamespaceResponse) {}
rpc RemoveNamespace(RemoveNamespaceRequest) returns (RemoveNamespaceResponse) {}
rpc RenameNamespace(RenameNamespaceRequest) returns (RenameNamespaceResponse) {}
rpc FileExists(FileExistsRequest) returns (FileExistsResponse) {}
}
message AddNamespaceRequest {
string storage_name = 1;
string name = 2;
}
message RemoveNamespaceRequest {
string storage_name = 1;
string name = 2;
}
message RenameNamespaceRequest {
string storage_name = 1;
string from = 2;
string to = 3;
}
message FileExistsRequest {
string storage_name = 1;
string name = 2;
}
message FileExistsResponse {
bool exists = 1;
}
I checked through the proto definitions, and the pasted code block looks up to date