You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Manikandan R (Jira)" <ji...@apache.org> on 2021/02/15 14:34:00 UTC

[jira] [Created] (YUNIKORN-545) JSON based API error responses

Manikandan R created YUNIKORN-545:
-------------------------------------

             Summary: JSON based API error responses
                 Key: YUNIKORN-545
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-545
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: webapp
            Reporter: Manikandan R


In order to align with REST principles, we have already made changes to return the error responses in JSON format.

       {
		StatusCode:  statusCode,
		Message:     message,
		Description: message,
	}

as part of https://issues.apache.org/jira/browse/YUNIKORN-418 (under review). This change would break the UI component as there is change the way responses would be delivered. This requires good amount of co-ordination with UI side. Had a offline discussion with [~sunilg] and thought better to take it together in the same release.

cc: [~cheersyang] [~wilfreds] [~akhilpb]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org