ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-9495) Call to save configs of different services together should 400 return code not 500
Date Thu, 05 Feb 2015 16:49:35 GMT
Andrew Onischuk created AMBARI-9495:
---------------------------------------

             Summary: Call to save configs of different services together should 400 return
code not 500
                 Key: AMBARI-9495
                 URL: https://issues.apache.org/jira/browse/AMBARI-9495
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.0.0


This AmbariException will need to be caught upstream and translated to an
IllegalArgumentException (or thrown from here) which will result in the
expected 400 Bad Request response back to the user. If the AmbariException is
not caught, it will result in a 500 Server Error to the user which is not
appropriate.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message