[ 
https://issues.apache.org/jira/browse/IGNITE-18980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikita Amelchev reassigned IGNITE-18980:
----------------------------------------

    Assignee: Nikita Amelchev

> Set proper successStatus on error in GridRestProcessor
> ------------------------------------------------------
>
>                 Key: IGNITE-18980
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18980
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladimir Steshin
>            Assignee: Nikita Amelchev
>            Priority: Major
>         Attachments: RestProcessorSuccessStatusTest.java
>
>
> _GridRestResponse_ should obtain proper 'not-OK' status on error. Often, 
> _GridRestResponse#getSuccessStatus()_ is `GridRestResponse#STATUS_SUCCESS` 
> even if the response is actually an error. 
> Probably, we should revise _GridRestResponse#setError(String)_. It should 
> set/check an error status like _GridRestResponse(int status, @Nullable String 
> err)_
> A test attached.



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

Reply via email to