Add support for GetTree pagination
Context
According to the Remote Execution specification, the GetTree()
call implements a pagination mechanism.
Task Description
Describe the steps to take / implementation plan. If it's a bug, do you know how it may be tackled?
-
Read the page_token
andpage_size
values provided in theGetTreeRequest
argument -
Consider those values while generating the tree and/or including it in the response -
In case where needed, attach a valid next_page_token
to the response
Acceptance Criteria
A client can make a GetTree()
request specifying a particular page size limit, which the server will respect, and will effectively be able to fetch the tree from the server in more than one step.
Edited by Santiago Gil