Skip to content

Commit

Permalink
Make QueryReply less verbose as per review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sbogacz committed Dec 15, 2016
1 parent 3316171 commit af3672b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 68 deletions.
95 changes: 34 additions & 61 deletions zvelo_api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions zvelo_api.proto
Expand Up @@ -36,17 +36,13 @@ message QueryContentRequests {
message QueryReply {
Status status = 1; // The zvelo internal status.
string request_id = 2; // The request_ids will identify the request after submission
string url = 3; // If the original request was a URL request, this will be populated
string tracking_id = 4; // If the original request was a Content request, this will be populated
// the target of QueryStatus, to ensure that the QueryStatus call
// goes to the same cluster as the original call.
// Will only be set if user set p=true in request.
string status_url = 5;
}

// If a request contained more then one URL, or piece of content, we will reply
// with this reply. Each sub-query should be reflected in the replies field,
// and with their own status.
// and with their own status. The position in the array will correspond to the
// index in the original array of URL or Content provided in the QueryURLRequests
// or QueryContentRequests message
message QueryReplies {
repeated QueryReply replies = 1; // this contains a reply for each sub query
Status status = 2; // this reflects the overall status of the sub-queries
Expand Down

0 comments on commit af3672b

Please sign in to comment.