Commit 8f19e29b authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

gprc: define CANCEL_RETRIEVE request to aboirt staging

parent 8b54b3f5
Pipeline #14912 passed with stages
in 3 minutes and 14 seconds
......@@ -52,7 +52,7 @@ message ArchiveRequest {
}
/*
* ARCHIVE request.
* RETRIEVE request.
*/
message RetrieveRequest {
cta.common.Service instance = 1; // client instance ID
......@@ -62,6 +62,9 @@ message RetrieveRequest {
uint64 archiveId = 5; // tape system unique file ID
}
/*
* DELETE request.
*/
message DeleteRequest {
cta.common.Service instance = 1; // client instance ID
cta.eos.Client cli = 2; // requester information
......@@ -69,11 +72,22 @@ message DeleteRequest {
uint64 archiveId = 4; // tape system unique file ID
}
/*
* CANCEL RETRIEVE request.
*/
message CancelRetrieveRequest {
cta.common.Service instance = 1; // client instance ID
cta.eos.Client cli = 2; // requester information
uint64 fid = 3; // tape system unique file ID
string reqId = 4; // tape request scheduler ID, used to cancel the request
}
service CtaRpc {
rpc Version (google.protobuf.Empty) returns (cta.admin.Version) {}
rpc Archive (ArchiveRequest) returns (ArchiveResponse) {}
rpc Retrieve (RetrieveRequest) returns (RetrieveResponse) {}
rpc Delete (DeleteRequest) returns (google.protobuf.Empty) {}
rpc CancelRetrieve (CancelRetrieveRequest) returns (google.protobuf.Empty) {}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment