[ 
https://issues.apache.org/jira/browse/YUNIKORN-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789761#comment-17789761
 ] 

JiaChi Wang commented on YUNIKORN-2061:
---------------------------------------

I've pushed the demo to my GitHub so it can be tested.
[https://github.com/targetoee/yunikorn-k8shim/tree/compress-API-response]

[https://github.com/targetoee/yunikorn-core/tree/compress-API-response]

[https://github.com/targetoee/yunikorn-web/tree/compress-API-response]

 

> [Umbrella] Add Pagination to APIs which may have lot of items in response
> -------------------------------------------------------------------------
>
>                 Key: YUNIKORN-2061
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2061
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - common, webapp
>            Reporter: PoAn Yang
>            Assignee: JiaChi Wang
>            Priority: Major
>         Attachments: Screenshot 2023-10-21 at 8.01.26 PM.png, Screenshot 
> 2023-10-21 at 8.03.15 PM.png, getQueueApplication_after_compress.png, 
> getQueueApplication_before_compress.png
>
>
> The following API may have lot of items in one response. It's good to add 
> pagination design to them.
>  * Queue applications 
> (/ws/v1/partition/\{partitionName}/queue/\{queueName}/applications)
>  * Application history (/ws/v1/history/apps)
>  * Container history (/ws/v1/history/containers)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to