You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Lasindu Charith (JIRA)" <ji...@apache.org> on 2015/06/29 11:32:04 UTC

[jira] [Updated] (STRATOS-1447) Incorrect error messages for Application related API operations

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

Lasindu Charith updated STRATOS-1447:
-------------------------------------
    Attachment: corrected_responses.diff

Attached diff passes specific errors to the rest api, to be handled specifically.

> Incorrect error messages for Application related API operations
> ---------------------------------------------------------------
>
>                 Key: STRATOS-1447
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1447
>             Project: Stratos
>          Issue Type: Bug
>    Affects Versions: 4.1.0 RC2
>            Reporter: Lasindu Charith
>            Priority: Critical
>         Attachments: corrected_responses.diff
>
>
> In the current implementation of Application related rest API methods, the specific exceptions are not thrown, instead some of the exceptions are masked by RestAPIException, which is not descriptive enough.
> ex: in addApplication() : AutoscalerServiceCartridgeGroupNotFoundExceptionException, AutoscalerServiceApplicationDefinitionExceptionException are masked.
> Similarly in updateApplication() AutoscalerServiceApplicationDefinitionExceptionException is masked



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