codechecker icon indicating copy to clipboard operation
codechecker copied to clipboard

Extend getProducts API function

Open csordasmarton opened this issue 5 years ago • 0 comments

If the serer has a huge number of products (for example 100), it's not effective to get and show all the runs. We need to extend the getProducts API function with limit, offset and sortMode parameters:

https://github.com/Ericsson/codechecker/blob/76947debcf9f6be8b1fd106f545ca11d6bfab533/web/api/products.thrift#L67-L68

Expected API:

Products getProducts(1: string productEndpointFilter, 
                     2: string productNameFilter,
                     3: optional i64 limit,
                     4: optional i64 offset,
                     5: optional RunSortMode sortMode)

csordasmarton avatar Jun 25 '20 08:06 csordasmarton