[
https://issues.apache.org/jira/browse/YUNIKORN-664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17367072#comment-17367072
]
Akhil PB commented on YUNIKORN-664:
-----------------------------------
Hi [~wwei],
Since UI uses mostly GET APIs, UI usually gets 200 OK responses. UI does not
check http codes until now, would be a nice experience if we show some
indicators like a alert message if something is wrong while fetching the data.
The possible scenarios would be failure of one or more GET APIs (/queues or
/apps or /nodes).
> Adopt JSON based error responses
> --------------------------------
>
> Key: YUNIKORN-664
> URL: https://issues.apache.org/jira/browse/YUNIKORN-664
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: webapp
> Reporter: Manikandan R
> Assignee: Akhil PB
> Priority: Major
> Fix For: 1.0.0
>
>
> As part of https://issues.apache.org/jira/browse/YUNIKORN-545, all API's
> error responses has been changed from text to JSON. Error response JSON
> structure in YUNIKORN-545. We will need to adopt this change in UI as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]